/* ================================================
   DE HOFMAN - Landingspagina Styles
   ================================================ */

/* CSS Variables - Kleurenpalet */
:root {
    --color-orange: #F3A14A;
    --color-orange-dark: #d88f3d;
    --color-cream: #E9E4D7;
    --color-navy: #2D3748;
    --color-navy-dark: #1a2332;
    --color-navy-light: #3d4a5c;
    --color-black: #000000;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Layout */
    --content-padding: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-navy);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* ================================================
   HERO SECTION - Fullscreen Video/Image
   ================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(45, 55, 72, 0.5) 50%,
        var(--color-navy) 100%
    );
    pointer-events: none;
}

/* ================================================
   LOGO SECTION - Large Logo Overlapping Hero
   ================================================ */
.logo-section {
    background: transparent;
    padding: var(--spacing-lg) 0 0 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.logo-section .container {
    display: flex;
    justify-content: center;
    padding: 0;
    max-width: 100%;
}

.main-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    /* Make logo orange */
    filter: brightness(0) saturate(100%) invert(72%) sepia(47%) saturate(684%) hue-rotate(338deg) brightness(97%) contrast(92%);
    animation: fadeInLogo 1.2s ease-out;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about {
    background-color: var(--color-navy);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.about .container {
    display: flex;
    justify-content: center;
    padding: 0 var(--content-padding);
    max-width: 100%;
}

.about-content {
    width: 100%;
    max-width: 540px;
    text-align: center;
}

.tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    opacity: 0.85;
    letter-spacing: 0.01em;
}

.description {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-white);
    opacity: 0.65;
    margin-bottom: var(--spacing-sm);
    line-height: 1.75;
}

.cta-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-orange);
    margin-top: var(--spacing-md);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: opacity var(--transition-fast);
}

.cta-text:hover {
    opacity: 0.8;
}

/* ================================================
   GALLERY / SWIPER SECTION
   ================================================ */
.gallery {
    background-color: var(--color-navy);
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    width: 100%;
    position: relative;
}

.gallery-swiper {
    width: 100%;
    padding: 40px 0 60px 0;
    overflow: hidden;
}

.gallery-swiper .swiper-wrapper {
    align-items: center;
}

.gallery-swiper .swiper-slide {
    width: 55%;
    max-width: 700px;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0.4;
    transform: scale(0.85);
    filter: brightness(0.6);
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.gallery-swiper .swiper-slide-prev,
.gallery-swiper .swiper-slide-next {
    opacity: 0.6;
    transform: scale(0.9);
    filter: brightness(0.75);
}

.gallery-swiper .swiper-slide:not(.swiper-slide-active):hover {
    opacity: 0.8;
    filter: brightness(0.85);
    cursor: pointer;
}

/* Navigation Arrows */
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(45, 55, 72, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    transition: all var(--transition-fast);
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: rgba(45, 55, 72, 0.95);
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.gallery-swiper .swiper-button-prev {
    left: 40px;
}

.gallery-swiper .swiper-button-next {
    right: 40px;
}

/* Pagination Dots */
.gallery-swiper .swiper-pagination {
    bottom: 0;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all var(--transition-fast);
    margin: 0 6px !important;
}

.gallery-swiper .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--color-orange);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(243, 161, 74, 0.5);
}

/* Grab cursor */
.gallery-swiper {
    cursor: grab;
}

.gallery-swiper:active {
    cursor: grabbing;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact {
    background-color: var(--color-navy);
    padding: var(--spacing-xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info {
    padding-right: var(--spacing-md);
}

.contact-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: var(--spacing-sm);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.contact-description {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-white);
    opacity: 0.7;
    line-height: 1.8;
}

/* Form Container */
.contact-form-container {
    background: var(--color-cream);
    border-radius: 0;
    padding: var(--spacing-md) var(--spacing-lg);
}

.form-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.form-group input {
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid rgba(45, 55, 72, 0.2);
    border-radius: 0;
    font-size: 0.9rem;
    font-family: var(--font-body);
    background: transparent;
    color: var(--color-navy);
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-bottom-color: var(--color-orange);
    background: rgba(243, 161, 74, 0.05);
}

.form-group input:hover:not(:focus) {
    border-bottom-color: rgba(45, 55, 72, 0.4);
}

.form-group input::placeholder {
    color: rgba(45, 55, 72, 0.4);
}

.form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--spacing-md);
}

.btn-submit {
    background: var(--color-navy);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 36px;
    border-radius: 4px;
    border: 2px solid var(--color-navy);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 161, 74, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(243, 161, 74, 0.3);
}

/* ================================================
   PARTNERS SECTION
   ================================================ */
.partners {
    position: relative;
    padding: var(--spacing-xl) 0;
    text-align: center;
    overflow: hidden;
}

.partners-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            var(--color-navy) 0%,
            rgba(45, 55, 72, 0.75) 40%,
            rgba(45, 55, 72, 0.85) 100%),
        url('assets/images/hero-bg.jpg') center/cover no-repeat;
    filter: saturate(0.8);
}

.partners .container {
    position: relative;
    z-index: 2;
}

.partners-logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.partners-logo-svg {
    width: 100%;
    max-width: 380px;
    height: auto;
    /* Make logo orange */
    filter: brightness(0) saturate(100%) invert(72%) sepia(47%) saturate(684%) hue-rotate(338deg) brightness(97%) contrast(92%);
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo-img {
    height: auto;
    width: auto;
}

/* Individual logo sizing */
.project-logo {
    height: 22px;
}

.reno-logo {
    height: 32px;
}

.repp-logo {
    height: 22px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--color-orange);
    padding: var(--spacing-sm) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-monogram {
    width: auto;
    height: 70px;
}

.monogram-img {
    height: 100%;
    width: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.footer-logo {
    margin-bottom: 4px;
}

.footer-logo-svg {
    width: 100px;
    height: auto;
    /* Make logo navy on orange background */
    filter: brightness(0) saturate(100%) invert(19%) sepia(17%) saturate(1033%) hue-rotate(176deg) brightness(95%) contrast(91%);
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-navy);
    transition: opacity var(--transition-fast);
}

.contact-link:hover {
    opacity: 0.7;
}

.contact-link svg {
    width: 12px;
    height: 12px;
}

/* ================================================
   MODAL
   ================================================ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-cream);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.modal-content p {
    color: var(--color-navy);
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.btn-modal-close {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-modal-close:hover {
    background: var(--color-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 161, 74, 0.4);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
    :root {
        --content-padding: 40px;
    }
    
    .logo-section {
        padding-top: var(--spacing-md);
    }
    
    .logo-svg {
        max-width: 400px;
    }
    
    .about-content {
        max-width: 480px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --content-padding: 24px;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .logo-section {
        padding-top: var(--spacing-md);
    }
    
    .logo-svg {
        max-width: 280px;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .partners-logo-svg {
        max-width: 280px;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .gallery-swiper .swiper-slide {
        width: 70%;
        height: 280px;
    }
    
    .gallery-swiper .swiper-button-prev,
    .gallery-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .gallery-swiper .swiper-button-prev {
        left: 15px;
    }
    
    .gallery-swiper .swiper-button-next {
        right: 15px;
    }
    
    .gallery-swiper .swiper-button-prev::after,
    .gallery-swiper .swiper-button-next::after {
        font-size: 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .partner-logos {
        gap: var(--spacing-sm);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .contact-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .logo-section {
        padding-top: var(--spacing-sm);
    }
    
    .logo-svg {
        max-width: 220px;
    }
    
    .partners-logo-svg {
        max-width: 180px;
    }
    
    .gallery-swiper .swiper-slide {
        width: 80%;
        height: 220px;
    }
    
    .gallery-swiper .swiper-button-prev,
    .gallery-swiper .swiper-button-next {
        display: none;
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    .btn-submit {
        width: 100%;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-orange);
    color: var(--color-navy);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 20px;
    outline: 3px solid var(--color-white);
    outline-offset: 2px;
}

/* Enhanced scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

