/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1a1a;
    color: #f5f1e8;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px; /* Space for fixed nav */
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #2b2b2b;
    transition: all 0.3s ease;
}

.nav.sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f1e8;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: #8b8680;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #b87456;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b87456;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(26, 26, 26, 0.98);
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #8b8680;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    background-color: #2b2b2b;
    color: #b87456;
    padding-left: 2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #f5f1e8;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1a1a1a 0%, #2b2b2b 100%);
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    color: #f5f1e8;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #8b8680;
    margin-bottom: 3rem;
    font-weight: 300;
}

.scroll-indicator {
    font-size: 1rem;
    color: #b87456;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   FEATURED SECTION (REGGAE PARTY) - 1/3 + 2/3 LAYOUT
   ============================================ */
.featured-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #2b2b2b 0%, #1a1a1a 100%);
}

.featured-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #b87456;
    color: #1a1a1a;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

/* Featured Grid: 1/3 + 2/3 */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.featured-video-column {
    display: flex;
    justify-content: center;
}

.featured-content-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #f5f1e8;
    font-weight: 700;
    margin: 0;
}

.featured-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-description p {
    font-size: 1.2rem;
    color: #8b8680;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   VIDEO EMBED STYLES
   ============================================ */
.video-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-embed.portrait {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    /* padding-bottom trick - works everywhere including iPad Safari */
    padding-bottom: 177.78%; /* 9:16 portrait ratio */
    height: 0;
}

/* Modern browsers: use aspect-ratio, remove padding hack */
@supports (aspect-ratio: 9 / 16) {
    .video-embed.portrait {
        aspect-ratio: 9 / 16;
        padding-bottom: 0;
        height: auto;
    }
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   SCULPTURES INTRO
   ============================================ */
.sculptures-intro {
    padding: 5rem 0 3rem;
    text-align: center;
    background-color: #1a1a1a;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: #f5f1e8;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    font-size: 1.2rem;
    color: #8b8680;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SCULPTURE SECTIONS - EQUAL 1/3 COLUMNS
   ============================================ */
.sculpture-section {
    padding: 4rem 0;
    background-color: #1a1a1a;
    border-bottom: 1px solid #2b2b2b;
}

.sculpture-section:nth-child(even) {
    background-color: #1f1f1f;
}

.sculpture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Equal thirds */
    gap: 3rem;
    align-items: start;
}

/* Column 1: Portrait Image (9:16) */
.sculpture-image-wrapper {
    position: relative;
    width: 100%;
}

.sculpture-image {
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid #2b2b2b;
}

/* Column 2: Info */
.sculpture-info {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.sculpture-name {
    font-size: 2rem;
    color: #f5f1e8;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sculpture-story {
    font-size: 1.1rem;
    color: #8b8680;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.materials {
    padding: 1.5rem;
    background-color: #2b2b2b;
    border-left: 3px solid #b87456;
    border-radius: 4px;
    margin-top: auto;
}

.materials-label {
    color: #b87456;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.materials-list {
    list-style: none;
    padding-left: 0;
}

.materials-list li {
    color: #8b8680;
    font-size: 1rem;
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.materials-list li::before {
    content: '•';
    color: #b87456;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Column 3: Video (9:16) */
.sculpture-video {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.sculpture-video .video-embed.portrait {
    max-width: 100%;
    width: 100%;
}

/* ============================================
   ABOUT SECTION - 2 COLUMNS
   ============================================ */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #2b2b2b 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
}

.artist-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid #2b2b2b;
}

.about-text p {
    font-size: 1.2rem;
    color: #8b8680;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    background-color: #0f0f0f;
    text-align: center;
    border-top: 1px solid #2b2b2b;
}

.footer p {
    color: #8b8680;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-tech {
    font-size: 0.85rem;
    color: #6b5d52;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #b87456;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #d48d6a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
    /* Featured Section */
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .featured-video-column {
        order: 2;
    }
    
    .featured-content-column {
        order: 1;
    }
    
    /* Sculpture Grid */
    .sculpture-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .sculpture-video {
        grid-column: 1 / -1;
        max-width: 350px;
        width: 100%;
        margin: 0 auto;
    }
    
    .sculpture-name {
        font-size: 1.8rem;
    }
    
    .about-grid {
        gap: 3rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    /* Mobile Dropdown */
    .nav-dropdown {
        position: relative;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        width: 100%;
        margin-top: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
    
    .dropdown-link {
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
    }
    
    /* Featured Section */
    .featured-description p {
        font-size: 1.1rem;
    }
    
    /* Sculpture Layout */
    .container {
        padding: 0 1.5rem;
    }
    
    .sculpture-section {
        padding: 3rem 0;
    }
    
    .sculpture-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sculpture-video {
        max-width: 100%;
    }
    
    .sculpture-name {
        font-size: 1.6rem;
    }
    
    .sculpture-story {
        font-size: 1rem;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .artist-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 1rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .featured-title {
        font-size: 2rem;
    }
    
    .featured-description p {
        font-size: 1rem;
    }
    
    .sculpture-name {
        font-size: 1.4rem;
    }
    
    .sculpture-story {
        font-size: 0.95rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
