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

body {
    /* High-end beauty font stack */
    font-family: 'Montserrat', 'Century Gothic', AppleGothic, sans-serif; 
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Navigation (Logo far left, Menu far right) --- */
.navbar {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between; /* This pushes Logo and Menu to opposite ends */
    align-items: center;
}

.logo {
    font-size: 26px;
    letter-spacing: 6px;
    font-weight: 300;
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d98888; /* Dusty Rose accent */
}

/* --- Hamburger Menu (Mobile Only) --- */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: auto; /* Force to far right in flexbox if needed */
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* --- Hero Slider --- */
.slider-container {
    position: relative;
    height: 80vh; /* Consistent height with the reference image */
    max-height: 800px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%; /* Focuses on eyes/face per image */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-button {
    background: #d98888; /* Matching the reference button color */
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
}

/* --- Ticker (One single line on all screens) --- */
.ticker-wrap {
    background: #1d2b26; /* Deep dark green from image */
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: flex;
    white-space: nowrap;
    /* Use linear for constant speed, 30s for smoothness */
    animation: tickerMove 30s linear infinite; 
    width: max-content;
}

.ticker-item {
    padding: 0 40px;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 400;
    flex-shrink: 0;
}

@keyframes tickerMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
/* --- History Section (Fixed width/height balance) --- */
.history {
    padding: 100px 0;
    background: #fff;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 26px;
    color: #01462d;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.history-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 14px;
    text-align: justify;
    line-height: 1.8;
}

.history-image img {
    width: 100%;
    height: 550px; /* Fixed height for elegance */
    object-fit: cover; /* Prevents image distortion */
    display: block;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex; /* Appears at the far right of nav-container */
    }
    .ticker {
        animation: tickerMove 20s linear infinite; /* Slightly faster for small screens but still smooth */
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 20px rgba(0,0,0,0.05);
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0; /* Slides into view */
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* Stack History section on mobile */
    .history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .history-image img {
        height: 350px; /* Shorter image for mobile view */
    }

    .hero-content h1 {
        font-size: 32px;
    }
}

/* --- Desktop Navigation --- */
.navbar {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1100; /* Above the side menu */
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* --- Responsive Layout (Mobile) --- */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex; 
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen by default */
        width: 70%; /* Covers part of the screen as in image */
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center; /* Center items vertically */
        align-items: center; /* Center items horizontally */
        gap: 40px; /* Spacing between menu items */
        box-shadow: -10px 0 20px rgba(0,0,0,0.05);
        transition: right 0.4s cubic-bezier(1, 0, 0, 1); /* Smooth slide */
        z-index: 1050;
    }

    /* When active, slide in */
    .nav-links.active {
        right: 0;
    }

    /* Styling for links inside mobile menu */
    .nav-links a {
        font-size: 14px;
        color: #444;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    /* Animation for the Hamburger icon to turn into an 'X' */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
/* --- Hero Slider Layout Fix --- */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    justify-content: center;
    /* Changed from center to flex-end to push content down */
    align-items: flex-end; 
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    /* Adds space from the bottom of the slider */
    padding-bottom: 80px; 
    width: 90%;
    max-width: 1000px;
}

/* Ensure the heading is legible against the background */
.hero-content h1 {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5); /* Stronger shadow for bottom placement */
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .hero-content {
        padding-bottom: 50px; /* Moves content slightly higher on mobile */
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
}
/* --- Slider Dots Styling --- */
.slider-dots {
    position: absolute;
    bottom: 30px; /* Positioned near the bottom of the 80vh container */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20; /* Ensure they stay above the slides */
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    width: 24px; /* Makes the active dot an oval shape */
    border-radius: 10px;
}