:root {
    --primary-color: #2B3990; /* We'll adjust this color based on the logo */
    --secondary-color: #ffffff;
    --text-color: #333333;
    --background-light: #f5f5f5;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header & Navigation */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    height: 60px;
    padding: 5px 0;
    background-color: white;
    border-radius: 4px;
}

#logo {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: contrast(1.4) brightness(1.2); /* Verhoogde contrast voor betere leesbaarheid */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1e3a8a;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/Voorkant_kerk.jpeg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(30, 58, 138, 0.4) 0%, transparent 40%);
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
}

.hero-feature i {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-feature span {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

/* Algemene CTA Button styling */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    background: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

/* Hero specifieke button styling */
.hero .cta-button {
    color: #1e3a8a;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .cta-button:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/Voorkant_kerk.jpeg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 8rem 1rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}



.unit-btn:hover {
    background-color: #1e2b6e;
    transform: translateY(-2px);
}

.corridor {
    width: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    margin: 2rem 0;
    height: calc(100% - 4rem);
}

.corridor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 15px,
        var(--primary-color) 15px,
        var(--primary-color) 16px
    );
    opacity: 0.15;
}

.corridor-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 1;
}

.corridor-line::before,
.corridor-line::after {
    content: '↔';
    color: var(--primary-color);
    font-size: 16px;
    margin: 0 2px;
    opacity: 0.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 1rem;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid #1e3a8a;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-label {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #1e3a8a;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-card h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-card ul li {
    margin: 0.8rem 0;
    color: #666;
}

.pricing-card ul li::before {
    content: "✓";
    color: #1e3a8a;
    margin-right: 0.5rem;
}

/* Pricing card specifieke button styling */
.pricing-card .cta-button {
    width: 80%;
    margin-top: 1rem;
    background: #1e3a8a;
    color: #ffffff;
}

.pricing-card .cta-button:hover {
    background: #2563eb;
}

.pricing-card.featured .cta-button {
    background: #ffffff;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.pricing-card.featured .cta-button:hover {
    background: #1e3a8a;
    color: #ffffff;
}

/* Info Section */
.info-section {
    padding: 5rem 1rem;
    background: #f8fafc;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: #4b5563;
    line-height: 1.6;
}

.info-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #4b5563;
    line-height: 1.8;
}

.info-text p {
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card i {
        font-size: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: var(--background-light);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

/* Contact form specifieke button styling */
.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
    background: #1e3a8a;
    color: #ffffff;
    border: none;
}

.contact-form .cta-button:hover {
    background: #2563eb;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
    height: fit-content;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.footer-section {
    padding: 0.5rem;
}

.footer-section h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .storage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .storage-unit {
        min-height: 160px;
    }
}

@media (max-width: 1200px) {
    .storage-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .storage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .storage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        right: 0;
        top: 70px;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Gallery Section */
.gallery {
    padding: 5rem 1rem;
    background-color: var(--background-light);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Mobile Navigation Styling */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    /* Navigation */
    .burger {
        display: block;
        cursor: pointer;
        z-index: 1000;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        height: calc(100vh - 70px);
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 2rem;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero {
        margin-top: 70px;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-feature {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Footer aanpassingen voor mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-section {
        margin-bottom: 0.5rem;
    }

    footer {
        padding: 1rem;
    }

    /* Storage Layout */
    .church-layout {
        padding: 1rem;
    }

    .church-container {
        width: 100%;
        padding: 0;
    }

    /* Verberg de plattegrond elementen op mobiel */
    .entrance, .corridor, .storage-layout {
        display: none;
    }

    /* Toon een simpele lijst van units */
    .church-container::after {
        content: '';
        display: block;
        margin: 2rem auto;
    }

    /* Nieuwe mobiele unit container */
    .mobile-units {
        display: block !important;
        padding: 1rem;
    }

    .mobile-unit {
        background: white;
        border-radius: 10px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border: 1px solid #e5e7eb;
    }

    .mobile-unit-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .mobile-unit-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1e3a8a;
    }

    .mobile-unit-size {
        font-size: 1.1rem;
        color: #4b5563;
        font-weight: 500;
    }

    .mobile-unit-details {
        margin: 1rem 0;
    }

    .mobile-unit-details p {
        margin: 0.5rem 0;
        color: #4b5563;
    }

    .mobile-unit-status {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .mobile-unit-status.available {
        background: #dcfce7;
        color: #166534;
    }

    .mobile-unit-status.premium {
        background: #dbeafe;
        color: #1e3a8a;
    }

    .mobile-unit .cta-button {
        width: 100%;
        margin-top: 1rem;
        padding: 0.75rem;
    }
}

/* Extra kleine schermen */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-feature {
        padding: 1rem;
    }

    .hero-feature i {
        font-size: 2rem;
    }

    /* Footer extra aanpassingen voor kleine schermen */
    .footer-section {
        padding: 0.5rem;
    }

    .footer-content {
        gap: 1rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }
}
