/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #fafafa;
    --text-color: #1a1a1a;
    --hero-overlay: rgba(0, 0, 0, 0.2);
}

/* --- THEME (System Dark Mode) --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #ffffff;
        --hero-overlay: rgba(0, 0, 0, 0.6);
    }
}

/* --- TABLET & LARGE PHONES (1000px and down) --- */
@media (max-width: 1000px) {
    /* Media & Spotlight Section */
    .spotlight-container {
        flex-direction: column;
        gap: 30px;
    }
    .video-section, .text-section {
        width: 100%;
        flex: none; /* Crucial for the YouTube iframe display */
    }
    .media-row {
        flex-direction: column;
        align-items: center;
    }
    .image-item {
        width: 100%;
        max-width: 500px;
    }

    /* Bio Section */
    #bio {
        padding: 60px 20px;
    }
    .bio-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .bio-info {
        text-align: center;
    }
    .bio-name {
        font-size: 2.2rem;
    }
    .image-frame img {
        box-shadow: none;
    }
}

/* --- SMALL PHONES (600px and down) --- */
@media (max-width: 600px) {
    /* Navigation */
    nav ul {
        gap: 20px;
    }
    nav a {
        font-size: 0.75rem;
    }

    /* Social Links */
    .social-links {
        gap: 10px;
    }
    .social-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Prevents selecting text or dragging images */
/* Re-enable clicking for videos only */
video, iframe {
  pointer-events: auto !important;
}

/* Keep images protected */
img {
  pointer-events: none;
  -webkit-user-drag: none;
}


html {
    scroll-behavior: smooth;
    background-color: #000000; /* Or whatever color matches your site */
    height: 100%;
    margin: 0;
}

body {
    padding-top: 0px;  /* Adjust this value based on how tall your menu is */
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* vh stands for "viewport height" */
    height: 100%;
    margin: 0;
}

/* --- Navigation Menu --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    /* Apple-style Glassmorphism effect */
    background-color: var(--nav-bg); /* Swaps between light and dark glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);               /* Blurs content behind the bar */
    -webkit-backdrop-filter: blur(10px);


    padding: 15px 0;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 50px; /* Generous spacing for a premium feel */
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    /* Use the variable so it turns white in dark mode */
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    position: relative;
}

/* Subtle hover underline effect */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    /* Line matches the text color theme */
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

nav a:hover {
    /* Slight opacity change or pure variable for hover */
    color: var(--text-color);
    opacity: 0.7;
}

nav a:hover::after {
    width: 100%;
}


/* main */
main {
    flex: 1; /* This pushes the footer to the bottom if content is short */
}

/* --- Hero Section --- */
/* --- Hero Section - YouTube Background Version --- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0px; /* was -60 */
    background-color: #000;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevents clicking/pausing */
    z-index: 1;
}

.hero-video-wrapper iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers and crops like 'cover' */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 10%;
    right: 5%;
    z-index: 3;
    color: #ffffff;
    text-align: right;
}

#hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin: 0;
    text-transform: uppercase;
}

#hero p {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    margin-top: 10px;
}

/* Tab Navigation Styling */
.tabs-primary, .tabs-secondary {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-link, .sub-link {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;

    /* Use text-color variable but slightly faded for inactive tabs */
    color: var(--text-color);
    opacity: 0.6;

    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-link.active, .sub-link.active {
    /* Uses the pure variable (white in dark mode, black in light mode) */
    color: var(--text-color);
    border-bottom: 2px solid var(--text-color);
    opacity: 1;
    font-weight: 600;
}

/* Content Visibility */
.tab-content, .sub-tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active, .sub-tab-content.active {
  display: block;
}

/* --- Media Section --- */
#media {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 60px 8% 100px 8%;
}

.tab-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* 50/50 Split for Video and Text */
.spotlight-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.video-section {
    flex: 1.2; /* Video stays slightly larger */
}

.text-section {
    flex: 1;
}

/* Video Styling */
/* This creates the 'box' that the YouTube video sits in */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* This forces a 16:9 aspect ratio */
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

/* This forces the YouTube iframe to fill that box perfectly */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}



/* Text Styling */
.media-description {
    text-align: left;
}

.media-description h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.media-description p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Moments Gallery Styling */
.moments-gallery {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.moments-gallery h4 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.media-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.image-item {
    flex: 1;
    max-width: 350px;
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.image-item:hover .overlay { opacity: 1; }
.image-item:hover img { transform: scale(1.1); }



/* --- Bio Section --- */
#bio {
    padding: 100px 10%;
    background-color: var(--bg-color);
}

.bio-wrapper {
    display: flex;
    align-items: center; /* Centers image vertically against text */
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}
/* Image Side */
.bio-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 100%;
    max-width: 450px;
    position: relative;
    /* This ensures the shadow container is also rounded */
    border-radius: 20px;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    /* Match this to the frame's radius */
    border-radius: 20px;
    /* Updated Shadow: blurred edges look softer, or keep it solid but rounded */
    box-shadow: 20px 20px 0px rgba(128, 128, 128, 0.1);
}

/* Text Side */
.bio-info {
    flex: 1.2;
    text-align: left;
}

.bio-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.bio-name {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.bio-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}




/* Social Section */
#social {
    background-color: var(--bg-color); /* Was #fafafa */
    color: var(--text-color);         /* Was #1d1d1f */
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#social h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--text-color);         /* Was #1d1d1f */
}

.social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Allows wrapping on small mobile screens */
    justify-content: center;
    gap: 15px;
}
/* Styling links as "Pill" Buttons */

.social-btn {
    display: inline-block;
    padding: 12px 28px;

    /* Use the text color for the button background (Black in Light / White in Dark) */
    background-color: var(--text-color);

    /* Use the page background for the text color inside the button */
    color: var(--bg-color) !important;

    text-decoration: none !important;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid var(--text-color);
}

/* Hover Effect */
.social-btn:hover {
    background-color: transparent;

    /* Text flips to the theme's main text color */
    color: var(--text-color) !important;

    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* footer */
footer {
    background-color: #1a1a1a; /* A deep dark gray/black */
    color: #ffffff;
    padding: 40px 20px;
    margin-top: 50px;          /* Ensures space above the footer */
    border-top: 1px solid #333; /* A subtle divider line */
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;            /* Centers the footer content on the screen */
    display: flex;
    justify-content: space-between; /* Puts Copyright on left, Links on right */
    align-items: center;       /* Aligns them vertically */
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.7;              /* Makes the copyright text slightly muted */
}

.footer-links {
    list-style: none;          /* Removes the bullet points */
    display: flex;
    gap: 30px;                 /* Space between Privacy and Terms */
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;     /* Removes the underline */
    font-size: 0.9rem;
    transition: opacity 0.3s ease; /* Smooth hover effect */
}

.footer-links a:hover {
    opacity: 0.6;              /* Dims slightly when you hover over it */
    text-decoration: underline; /* Optional: adds underline back only on hover */
}


