/* Responsive Layout, Container grids, Glass Navbar and Modern Footer */

.container {
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.container-fluid {
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.container-full {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Grids */
.grid {
    display: grid;
    gap: var(--space-md);
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Sections padding */
section {
    padding: 2.5rem 0;
    position: relative;
}
@media (min-width: 1024px) {
    section { padding: 4rem 0; }
}

/* Luxury Permanent Glass Sticky Header & Top Info Bar */

/* Top Announcement & Contact Bar */
.top-bar {
    background-color: rgba(12, 12, 12, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    transition: all 0.3s ease;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    color: var(--secondary, #C8A165);
    font-size: 0.75rem;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.top-bar-link:hover {
    color: var(--secondary, #C8A165);
}

.top-bar-link i {
    color: var(--secondary, #C8A165);
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 6px;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.top-bar-socials a:hover {
    color: var(--secondary, #C8A165);
    transform: translateY(-1px);
}

/* Main Header Container */
header, #main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    display: flex;
    flex-direction: column;
    background-color: rgba(18, 18, 18, 0.94) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.is-sticky {
    background-color: rgba(14, 14, 14, 0.98) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

header.is-sticky .top-bar {
    display: none;
}

.main-nav-wrapper {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    transition: height 0.3s ease;
}

header.is-sticky .main-nav-wrapper {
    height: 78px;
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Refined Brand Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-logo-img {
    height: 78px;
    width: auto;
    max-width: 98px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35));
    transition: transform 0.3s ease, filter 0.3s ease, height 0.3s ease;
}

.logo:hover .brand-logo-img {
    transform: scale(1.06) rotate(-2deg);
    filter: drop-shadow(0 4px 14px rgba(200, 161, 101, 0.45));
}

.mobile-logo-img {
    height: 60px;
    width: auto;
    max-width: 76px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.25));
}

.footer-logo-img {
    height: 98px;
    width: auto;
    max-width: 122px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35));
    transition: transform 0.3s ease;
}

.logo.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
}

.logo-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(200, 161, 101, 0.2), rgba(200, 161, 101, 0.05));
    border: 1px solid rgba(200, 161, 101, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary, #C8A165);
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(200, 161, 101, 0.15);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon-wrapper {
    transform: rotate(-5deg) scale(1.05);
    background: linear-gradient(135deg, rgba(200, 161, 101, 0.35), rgba(200, 161, 101, 0.1));
    border-color: var(--secondary, #C8A165);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-accent {
    color: var(--secondary, #C8A165);
    background: linear-gradient(90deg, #D4AF37, #C8A165, #E5C185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-family: var(--font-title, sans-serif);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3px;
}

header.is-sticky .logo {
    transform: scale(0.90);
}

/* Nav Links Styling */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C8A165, #E5C185);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 8px rgba(200, 161, 101, 0.5);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary, #C8A165);
}

/* Nav Action Items */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-action-btn:hover {
    background: rgba(200, 161, 101, 0.15);
    border-color: var(--secondary, #C8A165);
    color: var(--secondary, #C8A165);
    transform: translateY(-2px);
}

.btn-header-quote {
    padding: 9px 20px !important;
    font-size: 0.78rem !important;
    letter-spacing: 1px !important;
    border-radius: 6px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(200, 161, 101, 0.25);
}

/* Hamburger Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    outline: none;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--secondary, #C8A165);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--secondary, #C8A165);
}

/* =========================================================
   MOBILE NAVIGATION DRAWER & BACKDROP
   ========================================================= */

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: #121212;
    border-left: 1px solid rgba(200, 161, 101, 0.25);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 18, 18, 0.9);
}

.mobile-logo {
    font-size: 1.2rem !important;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-close:hover {
    background: var(--secondary, #C8A165);
    color: #121212;
    transform: rotate(90deg);
}

.mobile-nav-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

.mobile-nav-list a i {
    color: var(--secondary, #C8A165);
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background: rgba(200, 161, 101, 0.12);
    border-color: rgba(200, 161, 101, 0.3);
    color: var(--secondary, #C8A165);
    transform: translateX(4px);
}

.mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-quick-actions {
    display: flex;
    gap: 10px;
}

.mobile-nav-contact {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-contact-heading {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary, #C8A165);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mobile-nav-contact p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav-contact p i {
    color: var(--secondary, #C8A165);
    font-size: 0.85rem;
}

.mobile-social-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.mobile-social-row a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-social-row a:hover {
    background: var(--secondary, #C8A165);
    color: #121212;
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    header {
        height: 75px;
    }
}

/* Premium Footer */
footer {
    background-color: #111111;
    color: #BBBBBB;
    padding: 3rem 0 2rem;
    border-top: 1px solid #222222;
    position: relative;
    z-index: 10;
}
[data-theme="light"] footer {
    background-color: #1A1816;
    color: #CFCFCF;
}

.footer-top {
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.footer-brand .logo {
    color: var(--white);
    font-size: 1.8rem;
}
.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-links a {
    font-size: 0.95rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact-info li {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.footer-contact-info i {
    color: var(--secondary);
    margin-top: 4px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.newsletter-form p {
    font-size: 0.9rem;
    line-height: 1.5;
}
.newsletter-input-group {
    display: flex;
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid #333333;
}
.newsletter-input-group input {
    width: 100%;
    padding: 14px 18px;
    background-color: #1A1A1A;
    border: none;
    color: var(--white);
    outline: none;
    font-family: var(--font-body);
}
.newsletter-input-group button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.newsletter-input-group button:hover {
    background-color: var(--secondary);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}
.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BBBBBB;
    transition: background-color var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}
.footer-social-icon:hover {
    background-color: var(--secondary);
    color: #111111;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid #222222;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    transition: color var(--transition-fast);
}
.footer-bottom-links a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
