/*
Theme Name: JB Design Theme
Theme URI: https://jbdesign.in/
Author: JB Design
Author URI: https://jbdesign.in/
Description: Custom responsive WordPress theme for JB Design - Interior Design & Architecture Studio.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jbdesign-theme
*/

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
* {
    box-sizing: border-box;
}

body, html {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000 !important;
    color: #fff;
    overflow-x: hidden;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 100;
    background-color: transparent;
    box-sizing: border-box;
}

.header-logo {
    height: 100px;
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu ul li {
    margin-left: 30px;
    position: relative;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active-link {
    color: #007BFF;
}

.nav-menu ul li a::after {
    content: "•";
    color: #007BFF;
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

.nav-menu ul li:last-child a::after {
    content: "";
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    width: 55px;
    height: 55px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.floating-button:hover {
    background-color: #388E3C;
    transform: scale(1.1);
}

.floating-button.chatbot-btn {
    background-color: #FFC107;
    color: #000;
}

.floating-button.chatbot-btn:hover {
    background-color: #e0a800;
}

/* ==========================================================================
   Scroll To Top Button
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
    background-color: #FFC107;
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s, transform 0.2s;
}

.scroll-to-top:hover {
    background-color: #e0a800;
    transform: scale(1.1);
}

/* ==========================================================================
   Copyright & Footer
   ========================================================================== */
.copyright-section {
    background-color: #000;
    color: #888;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
}

.copyright-section p {
    margin: 0;
    font-size: 0.9em;
}

.social-icons a {
    color: #fff;
    margin-left: 20px;
    font-size: 1.3em;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #FFC107;
}

/* Responsive Header */
@media (max-width: 992px) {
    .header {
        position: relative;
        flex-direction: column;
        padding: 15px 20px;
        background-color: #000;
    }

    .header-logo {
        margin-bottom: 15px;
        height: 70px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu ul li {
        margin: 5px 15px;
    }

    .nav-menu ul li a {
        font-size: 1em;
    }

    .nav-menu ul li a::after {
        display: none;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-button {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }

    .copyright-section {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        gap: 10px;
    }

    .social-icons a {
        margin: 0 10px;
    }
}
