/*
 * Home Page Specific Styles
 * Hero Section + Our Work (Wedding, Cinematic, Events)
 */

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg-image.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(26, 26, 26, 0.75) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

/* Studio brand name above title */
.hero-brand {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 12px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-brand .studio-name {
    display: inline-block;
    color: #D4AF37;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-title .gold-text {
    color: rgba(212, 175, 55, 0.9);
}

.hero-title .white-text {
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-top: 0.5rem;
    font-weight: 300;
    letter-spacing: 12px;
}

.hero-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-style: italic;
    font-weight: 300;
    color: rgba(200, 200, 200, 0.7);
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.hero-cta {
    margin-top: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: rgba(212, 175, 55, 0.7);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--gold-primary);
}

/* Hero Carousel Controls */
.hero-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.carousel-btn {
    pointer-events: all;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: rgba(212, 175, 55, 0.9);
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(212, 175, 55, 0.4);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Hero Carousel Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.75rem;
}

.hero-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-dots .dot:hover {
    background: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

.hero-carousel-dots .dot.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    width: 32px;
    border-radius: 6px;
}

.scroll-indicator span {
    opacity: 0.8;
    font-weight: 300;
}

.scroll-arrow {
    font-size: 1.8rem;
    margin-top: 0.3rem;
    font-weight: 300;
    opacity: 0.8;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ============================================
   WORK SECTIONS
   ============================================ */
.work-section {
    min-height: 100vh;
    max-height: 100vh;
    padding: 2rem 5% 3rem;
    position: relative;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    transition: opacity 0.6s ease, transform 0.6s ease;
    overflow: hidden;
}

/* Smooth scroll snap for page transitions */
html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
}

.work-section {
    background: linear-gradient(135deg, var(--royal-black) 0%, var(--glossy-black) 100%);
}

.wedding-section {
    background: linear-gradient(135deg, var(--royal-black) 0%, var(--glossy-black) 100%);
}

.cinematic-section {
    background: linear-gradient(135deg, var(--glossy-black) 0%, var(--dark-charcoal) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.events-section {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--royal-black) 100%);
}

.work-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.work-container .work-story {
    flex: 1;
    order: 1;
}

.work-container .work-photos {
    flex: 1;
    order: 2;
}

.work-container.reverse .work-story {
    order: 2;
}

.work-container.reverse .work-photos {
    order: 1;
}

/* ============================================
   STORY SECTION (Text Content)
   ============================================ */
.work-story {
    padding: 0.5rem 1.5rem;
    max-width: 650px;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.8);
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    border-left: 2px solid rgba(212, 175, 55, 0.5);
}

.section-heading {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: 4px;
}

.story-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(200, 200, 200, 0.8);
    margin-bottom: 1rem;
    font-weight: 300;
}

.story-text strong {
    color: rgba(212, 175, 55, 0.9);
    font-weight: 400;
}

.story-quote {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 300;
    color: rgba(212, 175, 55, 0.85);
    padding: 1.5rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 2px solid rgba(212, 175, 55, 0.4);
    border-right: 2px solid rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.03);
    border-radius: 8px;
    position: relative;
}

.story-quote::before {
    content: '"';
    position: absolute;
    top: -12px;
    left: 8px;
    font-size: 3.5rem;
    color: var(--gold-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.work-story .btn {
    margin-top: 0.8rem;
}

/* ============================================
   PHOTO GRID (Inspired by myrinnesnoek.nl)
   ============================================ */
.work-photos {
    position: relative;
}

.photo-grid {
    display: grid;
    gap: 1rem;
    position: relative;
    max-height: 450px;
}

/* Wedding Grid - Compact Modern Layout */
.wedding-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 450px;
}

.wedding-grid .large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.wedding-grid .medium:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.wedding-grid .medium:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Cinematic Grid - Compact Horizontal Layout */
.cinematic-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 450px;
}

.cinematic-grid .large {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

.cinematic-grid .medium:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.cinematic-grid .medium:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

/* Events Grid - Compact Balanced Layout */
.events-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 450px;
}

.events-grid .large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.events-grid .medium:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.events-grid .medium:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* ============================================
   PHOTO ITEMS
   ============================================ */
.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-medium);
    height: 100%;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.photo-item:hover img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.7),
        rgba(241, 196, 15, 0.5)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-label {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 2rem;
    border: 2px solid var(--white);
    border-radius: 50px;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.photo-item:hover .photo-label {
    transform: translateY(0);
}

/* ============================================
   SCROLL INDICATORS
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    opacity: 0.9;
    transition: opacity var(--transition-medium);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
}

.scroll-indicator a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.scroll-indicator:hover {
    opacity: 1;
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateX(-50%) translateY(-3px);
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 0.3rem;
}

.scroll-arrow {
    font-size: 1.2rem;
    color: var(--gold-primary);
    animation: bounce 2s infinite;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .work-container {
        flex-direction: column;
        gap: 4rem;
    }
    
    .work-container .work-story,
    .work-container .work-photos {
        order: unset;
    }
    
    .work-container.reverse .work-story,
    .work-container.reverse .work-photos {
        order: unset;
    }
    
    .photo-grid {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .work-section {
        padding: 2rem 5%;
        max-height: none;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .photo-grid {
        height: auto;
        max-height: none;
    }
    
    .scroll-indicator {
        bottom: 2rem;
        padding: 0.6rem 1.2rem;
    }
    
    .scroll-indicator span {
        font-size: 0.65rem;
    }
    
    .story-text {
        font-size: 1rem;
    }
    
    .story-quote {
        font-size: 1.2rem;
        padding: 1.5rem;
    }
    
    .photo-item.large {
        min-height: 350px;
    }
    
    .photo-item.medium {
        min-height: 200px;
    }
    
    .photo-grid {
        gap: 1rem;
    }
    
    /* Stack photos on mobile — reset fixed height so all 3 tiles are visible */
    .wedding-grid,
    .cinematic-grid,
    .events-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .wedding-grid .large,
    .cinematic-grid .large,
    .events-grid .large,
    .wedding-grid .medium,
    .cinematic-grid .medium,
    .events-grid .medium {
        grid-column: 1 / 2;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .work-section {
        padding: 2rem 5%;
    }
    
    .work-story {
        padding: 1rem;
    }
    
    .photo-label {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ============================================
   LOADING STATES & ANIMATIONS
   ============================================ */
.photo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(42, 42, 42, 0.8) 50%,
        rgba(26, 26, 26, 0.8) 100%
    );
    background-size: 200% 100%;
    animation: shimmerLoading 1.5s infinite;
    z-index: 1;
    opacity: 0;
}

.photo-item.loading::before {
    opacity: 1;
}

@keyframes shimmerLoading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-section {
    min-height: 100vh;
    padding: 3rem 5%;
    background: linear-gradient(135deg, var(--glossy-black) 0%, var(--royal-black) 100%);
    display: flex;
    align-items: center;
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.why-header {
    text-align: center;
    margin-bottom: 5rem;
}

.why-subtitle {
    font-size: 1.1rem;
    color: rgba(200, 200, 200, 0.7);
    font-weight: 300;
    margin-top: 1rem;
    font-style: italic;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-card {
    background: rgba(26, 26, 26, 0.5);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(30%);
}

.why-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.why-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(200, 200, 200, 0.75);
    font-weight: 300;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    min-height: 100vh;
    padding: 3rem 5%;
    background: linear-gradient(135deg, var(--royal-black) 0%, var(--dark-charcoal) 100%);
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    padding-right: 2rem;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(200, 200, 200, 0.8);
    font-weight: 300;
    margin: 2rem 0 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    filter: grayscale(20%);
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(212, 175, 55, 0.9);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.8;
}

.contact-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--gold-primary);
    transform: translateX(3px);
}

.whatsapp-link {
    color: #25D366;
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

.whatsapp-link:hover {
    color: #20BA5A;
}

.instagram-link {
    color: #E1306C;
    font-size: 0.95rem;
}

.instagram-link:hover {
    color: #C1265E;
}

.contact-form-wrapper {
    background: rgba(26, 26, 26, 0.5);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-input {
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 300;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder {
    color: rgba(200, 200, 200, 0.5);
}

.form-input option {
    background: var(--royal-black);
    color: var(--white);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .why-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .why-section,
    .contact-section {
        padding: 2rem 5%;
    }
    
    .why-header {
        margin-bottom: 3rem;
    }
}
