/* CSS Variables */
:root {
    --text-primary: #e6dac6;
    --text-muted: #cdb294;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevents any scrolling, locking the page strictly to viewport size */
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
}

/* Background image provided by user */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Note the quotes and exact file name encoding */
    background-image: url('ChatGPT%20Image%20Aug%207,%202026,%2006_19_59%20PM.png');
    background-size: cover;
    background-position: center center; /* Locks the background logo exactly to the vertical center of the screen on ALL resolutions */
    background-repeat: no-repeat;
    z-index: 1;
}


/* Preloader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: #0d0602; /* Very dark rich brown to match the aesthetic */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#loader-percentage {
    font-family: 'Poppins', sans-serif;
    color: #D4AF37; /* Golden color */
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%; /* Changed from min-height: 100dvh to ensure it perfectly respects the non-scrollable body */
    padding: 9dvh 20px 1dvh 20px; /* Increased top padding to push top text down */
}

/* Top Text */
.top-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1vw, 20px); /* Fluid scaling */
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.4;
    color: #D4AF37; /* Golden color */
    margin-bottom: 5px;
    text-transform: uppercase;
}
.top-text p {
    margin: 4px 0;
}

/* Vertical Dividers */
.vertical-divider {
    width: 1px;
    height: 7dvh; 
    background-color: rgba(212, 175, 55, 0.6); /* Golden line */
    margin: 1dvh auto; /* Slightly smaller margin */
}

/* Spacer for the central logo inside the image */
.logo-spacer {
    height: 35dvh; /* Reduced to perfectly offset the increased top padding, keeping the motto text anchored */
    width: 100%;
}

/* Motto Text */
.motto-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 1.8vw, 36px); /* Fluid scaling */
    font-weight: 400;
    line-height: 1.3; /* Tighter line-height */
    color: #D4AF37; /* Golden color */
    margin-top: 10px;
}
.motto-text p {
    margin: 2px 0; /* Tighter spacing between motto lines */
}
.motto-text i {
    font-style: italic;
    color: #D4AF37; /* Golden color */
    font-weight: 400;
}

/* Spacer before the tagline */
.tagline-spacer {
    flex-grow: 1; /* Pushes the tagline to the bottom */
}

/* Tagline Button */
.tagline-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1dvh;
}

.tagline-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 1vw, 20px); /* Fluid scaling */
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #D4AF37; /* Golden color */
    border: 1px solid rgba(212, 175, 55, 0.4); /* Golden border */
    padding: 12px 40px;
    border-radius: 4px;
    background: transparent;
    transition: all 0.4s ease;
    cursor: default;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}
.tagline-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.8);
    color: #D4AF37;
}

/* Simple entry animations */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
}

/* Wait for loading to finish before animating text in */
body.loaded .fade-in {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reach Us Section */
.reach-us-section {
    margin-top: clamp(40px, 6dvh, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.reach-us-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1vw, 20px);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #C9A15A;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.reach-us-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.reach-us-divider {
    width: 1px;
    height: 35px;
    background-color: rgba(201, 161, 90, 0.4);
    margin: 0 28px;
}

.reach-us-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #C9A15A;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.reach-us-item span, .reach-us-text-link {
    color: #C9A15A;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reach-us-item[href^="tel:"] {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.reach-us-icons-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.reach-us-icon-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reach-us-icon {
    width: 17px;
    height: 17px;
    stroke: #C9A15A;
    transition: all 0.3s ease;
}

/* Hover States */
.reach-us-item:hover span, .reach-us-item:hover .reach-us-text-link, .reach-us-text-link:hover {
    color: #dfb973;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(223, 185, 115, 0.5);
}

.reach-us-item:hover .reach-us-icon, .reach-us-icon-link:hover .reach-us-icon {
    stroke: #dfb973;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bg-image {
        background-image: url('MOBILE%20VIEW.png');
    }
    
    .container {
        padding: 10dvh 15px 2dvh 15px; /* Slightly adjusted padding for mobile */
    }

    .logo-spacer {
        height: 62dvh; /* Pushes Motto and Coming Soon sections down on mobile */
    }

    .motto-text {
        padding: 0 10px;
        line-height: 1.4;
    }

    .tagline-btn {
        padding: 14px 25px; /* Slightly smaller button padding for small screens */
    }

    .reach-us-section {
        margin-top: 3dvh;
        transform: scale(0.85);
        transform-origin: top center;
    }

    .reach-us-heading {
        margin-bottom: 8px;
    }

    .reach-us-row {
        flex-direction: column;
        gap: 0;
    }
    
    .reach-us-divider {
        width: 35px;
        height: 1px;
        margin: 5px 0;
    }
}
