/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #C5A880; /* Elegant Champagne Gold */
    --primary-hover: #b0936b;
    --dark-bg: #111111;
    --text-color: #333333;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-speed: 0.4s;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #fafafa;
}

.font-heading {
    font-family: var(--font-heading);
}

.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(197, 168, 128, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   UTILITIES & OVERRIDES
   ========================================= */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transition: all var(--transition-speed) ease;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.z-index-1 { z-index: 1; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    padding: 1.5rem 0;
    transition: all var(--transition-speed) ease;
}
.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
    font-size: 1.8rem;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-link:hover::before, .nav-link.active::before {
    width: 50%;
}
.btn-nav {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   HERO
   ========================================= */
.hero-bg {
    background: url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}
#hero .overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

/* =========================================
   ABOUT US
   ========================================= */
.image-stack {
    perspective: 1000px;
}
.image-stack img {
    border-radius: 10px;
}
.experience-badge {
    bottom: -30px;
    right: 20px;
    min-width: 150px;
    border: 2px solid #fff;
}

/* =========================================
   SERVICES
   ========================================= */
.service-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: var(--primary-color);
}
.icon-box {
    width: 70px;
    height: 70px;
    transition: all 0.4s ease;
}
.service-card:hover .icon-box {
    background-color: var(--primary-color) !important;
}
.service-card:hover .icon-box i {
    color: #fff !important;
}

/* =========================================
   PROCESS
   ========================================= */
.process-row {
    position: relative;
}
.process-line {
    position: absolute;
    top: 25px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}
.step-number {
    width: 50px;
    height: 50px;
    border: 4px solid var(--dark-bg);
}
.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-color);
}

/* =========================================
   GALLERY & LIGHTBOX
   ========================================= */
.gallery-item {
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    transition: transform 0.6s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(197, 168, 128, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover img {
    transform: scale(1.08);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.3s;
}
.close-lightbox {
    position: absolute;
    top: 20px; right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* =========================================
   FAQ
   ========================================= */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
}
.custom-accordion .accordion-button::after {
    filter: invert(1);
}

/* =========================================
   MODERN CTA SECTION (GLASSMORPHISM)
   ========================================= */
.cta-section {
    background: url('https://images.unsplash.com/photo-1511556532299-8f662fc26c06?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}
.cta-bg {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-hover-grow {
    transition: transform 0.3s ease;
}
.btn-hover-grow:hover {
    transform: translateY(-3px) scale(1.02);
}

/* =========================================
   FOOTER
   ========================================= */
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.social-icon {
    width: 40px;
    height: 40px;
    transition: background-color 0.3s, transform 0.3s;
}
.social-icon:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* =========================================
   FLOATING ELEMENTS (WA & BACK TO TOP)
   ========================================= */
.floating-wa {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.floating-wa:hover {
    transform: scale(1.1);
    color: white;
}

#backToTop {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
}
#backToTop:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out;
}
.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
