/* ========================================
   Splendid Group - Common Styles
   Shared across all pages
   ======================================== */

/* CSS Variables */
:root {
    --black-deep: #000000;
    --black-primary: #0A0A0A;
    --black-secondary: #111111;
    --black-tertiary: #1A1A1A;
    --black-soft: #222222;
    
    --gold-primary: #bf8b35;
    --gold-light: #d4a04a;
    --gold-dark: #a67a2e;
    --gold-muted: rgba(191, 139, 53, 0.3);
    
    --white: #FFFFFF;
    --white-soft: #F5F5F5;
    --gray-light: #CCCCCC;
    --gray-medium: #888888;
    --gray-dark: #444444;
    
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 30px rgba(191, 139, 53, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--black-primary);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Selection */
::selection {
    background-color: var(--gold-primary);
    color: var(--black-primary);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 139, 53, 0.1);
    transition: var(--transition-medium);
}


.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gold-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 0 0 auto;
    justify-content: flex-start;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: 1.125rem 1.5rem;
    white-space: nowrap;
    transition: var(--transition-medium);
}

/* Keep hamburger aligned to the far right when shown (mobile) */
.hamburger {
    margin-left: auto;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.phone-link {
    color: var(--gold-primary);
    padding: 0.75rem;
    transition: var(--transition-medium);
    border: 1px solid var(--gold-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-link:hover {
    border-color: var(--gold-primary);
    background-color: rgba(191, 139, 53, 0.1);
}

.phone-icon {
    width: 20px;
    height: 20px;
}

.cta-btn {
    padding: 1rem 1.75rem;
    background-color: var(--gold-primary);
    color: var(--black-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--gold-primary);
    transition: var(--transition-medium);
    white-space: nowrap;
    line-height: 1.4;
    text-align: center;
}

.cta-btn:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition-medium);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    padding: 2rem;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    padding: 1rem 1.5rem;
    transition: var(--transition-medium);
    border-bottom: 1px solid rgba(191, 139, 53, 0.1);
}

.mobile-nav-link:hover {
    color: var(--gold-primary);
    background-color: rgba(191, 139, 53, 0.05);
}

.mobile-cta-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background-color: var(--gold-primary);
    color: var(--black-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-medium);
}

.mobile-cta-btn:hover {
    background-color: var(--gold-light);
}

/* ========================================
   Common Section Styles
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.section-title .gold {
    color: var(--gold-primary);
}

.title-underline {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    margin-bottom: 2rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-medium);
}

.btn-primary {
    background-color: var(--gold-primary);
    color: var(--black-primary);
    border: 1px solid var(--gold-primary);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-arrow {
    transition: var(--transition-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
    background-color: var(--gold-primary);
    color: var(--black-primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: #050505;
    padding: 5rem 2rem 2rem;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--gold-muted);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-icon {
    color: var(--gold-primary);
    font-size: 1.25rem;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-dark);
    color: var(--gray-light);
    transition: var(--transition-medium);
}

.social-link:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-medium);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--gold-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.footer-legal a:hover {
    color: var(--gold-primary);
}

.footer-legal .separator {
    color: var(--gray-dark);
}

/* ========================================
   Contact Sidebar
   ======================================== */
.contact-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.contact-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 90vw;
    height: 100%;
    background: var(--black-primary);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.contact-sidebar.active {
    transform: translateX(0);
}

.contact-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(191, 139, 53, 0.2);
}

.contact-sidebar-title {
    font-family: 'Playfair Display', var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-sidebar-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.contact-sidebar-close:hover {
    transform: rotate(90deg);
}

.contact-sidebar-close::before,
.contact-sidebar-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 1px;
    background: var(--gray-light);
    transition: background 0.3s ease;
}

.contact-sidebar-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.contact-sidebar-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-sidebar-close:hover::before,
.contact-sidebar-close:hover::after {
    background: var(--gold-primary);
}

.contact-sidebar-content {
    flex: 1;
    padding: 3rem 2.5rem;
    overflow-y: auto;
}

.contact-item {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.contact-sidebar.active .contact-item {
    opacity: 1;
    transform: translateX(0);
}

.contact-sidebar.active .contact-item:nth-child(1) { transition-delay: 0.15s; }
.contact-sidebar.active .contact-item:nth-child(2) { transition-delay: 0.25s; }
.contact-sidebar.active .contact-item:nth-child(3) { transition-delay: 0.35s; }
.contact-sidebar.active .contact-item:nth-child(4) { transition-delay: 0.45s; }

.contact-item-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
}

.contact-item-value {
    font-family: 'Playfair Display', var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.6;
}

.contact-item-value a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-value a:hover {
    color: var(--gold-primary);
}

.contact-sidebar-footer {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(191, 139, 53, 0.2);
}

.contact-sidebar-social {
    display: flex;
    gap: 1rem;
}

.contact-sidebar-social .social-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gold-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.contact-sidebar-social .social-link:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--black-primary);
}

.contact-sidebar-social .social-link svg {
    width: 18px;
    height: 18px;
}

body.sidebar-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .contact-sidebar-header,
    .contact-sidebar-content,
    .contact-sidebar-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .contact-item-value {
        font-size: 1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.gold {
    color: var(--gold-primary);
}

.white {
    color: var(--white);
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 48px;
    height: 48px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--gold-muted);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--black-primary);
    box-shadow: var(--shadow-gold);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Smooth reveal animations */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Responsive - Common
   ======================================== */
@media (max-width: 1500px) {
    .nav-container {
        padding: 1rem 2rem;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 1rem 1.25rem;
    }
    
    .logo-img {
        height: 55px;
    }
}

@media (max-width: 1300px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-actions .cta-btn {
        display: none;
    }
    
    .logo-img {
        height: 50px;
    }
}

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .mobile-nav-link {
        font-size: 1.35rem;
        padding: 1rem 1.25rem;
    }
}

