/* Color Palette Variables */
:root {
    --black: #0a0a0a;
    --dark-purple: #2d1b33;
    --light-purple: #9d72ff;
    --grey: #a0a0a0;
    --ghost-white: #f4f4f4;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--ghost-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--light-purple);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--light-purple);
}

/* Hero Carousel Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%); /* Makes images moody/dark */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

.carousel-caption h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    border: 1px solid var(--light-purple);
    color: var(--light-purple);
    text-decoration: none;
    transition: var(--transition);
}

.btn:hover {
    background: var(--light-purple);
    color: var(--black);
}

/* Intro Section */
.intro {
    padding: 100px 20%;
    text-align: center;
}

.intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--light-purple);
    margin-bottom: 20px;
}
/* Portfolio Page Styles */
.portfolio-section {
    padding: 120px 5% 50px;
    text-align: center;
}

.portfolio-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--ghost-white);
}

.filter-buttons {
    margin-bottom: 40px;
}

.btn-filter {
    background: transparent;
    border: 1px solid var(--grey);
    color: var(--grey);
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter.active, .btn-filter:hover {
    background: var(--light-purple);
    color: var(--black);
    border-color: var(--light-purple);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(40%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.lightbox-img {
    max-width: 80%;
    max-height: 70vh;
    box-shadow: 0 0 20px var(--light-purple);
}

.lightbox-caption {
    color: var(--ghost-white);
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 60%;
    text-align: center;
}

.close-lightbox {
    position: absolute;
    top: 30px; right: 50px;
    font-size: 3rem;
    color: var(--ghost-white);
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Global Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* About Page */
.about-container {
    padding: 150px 10% 100px;
    display: flex;
    justify-content: center;
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.about-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--light-purple);
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--grey);
    margin-bottom: 40px;
    line-height: 2;
}

.gear-section {
    text-align: left;
    border-left: 3px solid var(--light-purple);
    padding-left: 20px;
    margin-top: 50px;
}

.gear-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ghost-white);
    margin-bottom: 15px;
}

.gear-section ul {
    list-style: none;
    color: var(--grey);
}

.gear-section li {
    margin-bottom: 10px;
}

/* Services Page */
.services-section {
    padding: 150px 5% 100px;
    text-align: center;
}

.services-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--ghost-white);
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: #121212;
    border: 1px solid var(--dark-purple);
    padding: 40px;
    transition: var(--transition);
    border-radius: 10px;
}

.price-card.featured {
    border: 1px solid var(--light-purple);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(157, 114, 255, 0.2);
}

.price-card:hover {
    background: var(--dark-purple);
    border-color: var(--light-purple);
}

.price-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-purple);
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    color: var(--grey);
}

.price-card ul li {
    margin-bottom: 10px;
}

/* Contact Page */
.contact-section {
    padding: 150px 5% 100px;
    text-align: center;
}

.contact-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--ghost-white);
    margin-bottom: 50px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--grey);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid var(--dark-purple);
    color: var(--ghost-white);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--light-purple);
    box-shadow: 0 0 10px rgba(157, 114, 255, 0.3);
}
/* Work In Progress Banner */
.wip-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-purple);
    color: var(--black); /* Black text on purple is very readable */
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 9999; /* Ensures it stays on top of everything else */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wip-banner p {
    margin: 0;
    padding: 0;
}

/* Adjust body padding so the banner doesn't cover content at the very bottom */
body {
    padding-bottom: 40px; 
}
/* ============================================================
   MOBILE RESPONSIVENESS (Screens smaller than 768px)
   ============================================================ */

@media (max-width: 768px) {
    /* 1. Navigation: Stack the menu vertically */
    nav {
        flex-direction: column;
        padding: 1rem 0;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap; /* Allows links to wrap to next line if too many */
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li a {
        font-size: 0.7rem; /* Smaller text for phone screens */
    }

    /* 2. Hero Section: Shrink the massive text */
    .carousel-caption h1 {
        font-size: 2.2rem; /* Changed from 4rem to fit on phone */
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    /* 3. Intro & About: Fix the narrow margins */
    .intro, .about-container {
        padding: 60px 5%; /* Changed from 20% to 5% so text has room */
    }

    .about-content h1 {
        font-size: 2.5rem;
    }

    /* 4. Portfolio: Adjust the grid */
    .gallery-grid {
        grid-template-columns: 1fr; /* Force images to be one per row */
    }

    .gallery-item {
        height: 300px; /* Slightly shorter images on mobile */
    }

    /* 5. Services: Stack the pricing cards */
    .pricing-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
    }

    .price-card.featured {
        transform: scale(1); /* Remove the "pop out" effect so it doesn't overlap */
    }

    /* 6. Contact Form: Full width */
    .contact-container {
        width: 90%;
    }

    /* 7. Lightbox: Make image smaller and caption easier to read */
    .lightbox-img {
        max-width: 95%;
        max-height: 60vh;
    }

    .lightbox-caption {
        font-size: 1rem;
        max-width: 90%;
    }
}
