/* --- 1. GLOBAL RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
    /* Rich Deep Maroon background that complements the portrait */
    background-color: #2d0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Desktop Styles (Add/Update) --- */
.menu-toggle {
    display: none; /* Hidden on desktop */
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #800000; /* Maroon bars */
    transition: 0.3s ease;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger on mobile */
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%; /* Hide off-screen */
        flex-direction: column;
        background-color: #fdfaf5; /* Matches cream top bar */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid #d4af37;
    }

    .nav-links.active {
        right: 0; /* Slide in when active */
    }

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

/* --- 2. TOP NAVIGATION BAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    /* Soft Cream color to bridge the gap between White and Maroon */
    background: #fdfaf5;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #d4af37; /* Gold accent line */
}

.logo {
    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #800000;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}

/* --- 3. HERO SECTION (Portrait & Content) --- */
.hero {
    background-color: #2d0a0a; /* Matches the body */
    height: 90vh;
    display: flex;
    justify-content: flex-end; /* Keeps branding box on the right */
    align-items: center;
    padding-right: 10%;
    position: relative;
    overflow: hidden;
}

/* Removes the black background from your portrait file */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("Arunaphoto.jpeg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left; /* Ensures your head is visible */

    /* Blends the black image background into the Maroon */
    mix-blend-mode: screen;

    /* Smoothly fades the photo edge */
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 40%,
        rgba(0, 0, 0, 0) 90%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 40%,
        rgba(0, 0, 0, 0) 90%
    );
    z-index: 1;
}

/* --- 4. BRANDING BOX (The Frame) --- */
.hero-content {
    background: rgba(30, 5, 5, 0.5); /* Subtle transparent maroon */
    backdrop-filter: blur(8px);
    padding: 60px 45px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2; /* Sits above the blended photo */

    /* Gold Temple Borders */
    border: 1px solid rgba(212, 175, 55, 0.4);
    outline: 3px double #d4af37;
    outline-offset: -15px;

    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.9);
}

.hero-content h1,
.hero-content h2 {
    font-family: "Cinzel", serif;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 2.8rem;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.hero-content .highlights {
    color: #d4af37;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
/* Styling for the Start Your Journey Button */
.hero-content a {
    display: inline-block;
    /* Bright Gold background for immediate visibility */
    background-color: #d4af37;
    /* Deep Maroon text to remain readable on gold */
    color: #2d0a0a;
    padding: 12px 30px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    /* Elegant border matching your branding frame */
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hover effect to make it feel interactive */
.hero-content a:hover {
    background-color: #ffffff;
    color: #800000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary {
    display: inline-block;
    /* Rich Royal Maroon background */
    background: #800000;
    /* Pure white text for high contrast */
    color: #ffffff;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    /* Solid Gold border to match the branding box frame */
    border: 2px solid #d4af37;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect to make the button interactive */
.btn-primary:hover {
    /* Flips the colors: Gold background with Maroon text */
    background: #d4af37;
    color: #800000;
    /* Subtle glow effect when the mouse touches the button */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* --- 5. SOCIAL ICON FIX (Lock to small size) --- */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 2000;
}

.social-icon {
    /* Locks width and height to prevent stretching */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 5, 5, 0.9);
    border-left: 2px solid #d4af37;
    margin-bottom: 2px;
}

.social-icon img {
    /* Keeps the actual icon images very small */
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Icons become white */
}

/* --- 6. FOOTER --- */
.site-footer {
    background: #1a0505;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.site-footer p {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
}

/* --- 7. MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .hero::before {
        background-size: cover;
        background-position: center top;
    }
    .hero {
        justify-content: center;
        padding-top: 450px; /* Pushes content below the face */
        height: auto;
        min-height: 100vh;
    }
    .hero-content {
        max-width: 100%;
        outline-offset: -10px;
    }
}
