/* Modern Photography Website Styles */

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --primary-color: #775144;
    --secondary-color: #FFD8B3;
    --accent-color: #41337A;
    --dark-color: #4B2619;
    --light-color: #FFD8B3;
    --text-light: #666;
    --text-color: #333; /* Voeg toe */
    --bg-color: #ffffff; /* Voeg toe */
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #775144 0%, #41337A 100%);
}

/* Dark Theme Variables */
body.dark-theme {
    --text-color: #ffffff !important; /* Voeg toe */
    --bg-color: #2c3e50 !important;
    --primary-color: #ffffff !important;
    --secondary-color: #2c3e50 !important;
    --light-color: #34495e !important;
    --dark-color: #1a252f !important;
    --accent-color: #775144 !important;
    --text-light: #bdc3c7 !important;
    --shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    --border-color: #34495e !important;
    background: #2c3e50 !important;
    color: #ffffff !important;
}

/* Dark mode theme toggle button styling */
body.dark-theme #light-dark {
    background: var(--light-color);
    border-color: var(--primary-color);
}

body.dark-theme #light-dark:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "ivysoft-variable", sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-family: "ivysoft-variable", sans-serif;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: "ivysoft-variable", sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 2em;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: "ivysoft-variable", sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--light-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 10px auto;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(119, 81, 68, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.container_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent;
    height: auto;
}

.logo img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav_header {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav_header li {
    padding: 0;
    white-space: nowrap;
    border-right: none;
    font-size: 1rem;
}

.nav_header a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: "ivysoft-variable", sans-serif;
}

.nav_header a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav_header a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
#nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

#nav-toggle span {
    width: 25px;
    height: 3px;
    background: white; /* Verander van var(--text-color) naar white */
    margin: 3px 0;
    transition: var(--transition);
    display: block;
}

#light-dark {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

#light-dark:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

#light-dark img {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

/* Main Content */
main {
    padding-top: 0;
    background-color: var(--secondary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

#about_me {
    background: var(--accent-color);
    color: white;
}

.about-content {
    display: flex; 
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 3rem;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-details p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: white;
    font-size: 1.2rem;
}

.about-details img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Services Section */
#services {
    background: white;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-card.featured {
    background: var(--gradient);
    color: white;
}

.service-card.featured .price {
    background: rgba(255,255,255,0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card.featured h3 {
    color: white;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card.featured p {
    color: rgba(255,255,255,0.9);
}

.service-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-card.featured li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.service-card li:last-child {
    border-bottom: none;
}

.price {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
}

/* Portfolio Section */
#portfolio {
    background: var(--light-color);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-family: "ivysoft-variable", sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 350px;
    justify-self: center;
    height: 300px;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    text-align: center;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.view-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
    font-family: "ivysoft-variable", sans-serif;
}

.view-btn:hover {
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: #bbb;
}

/* Testimonials Section */
#testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.client-info strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.client-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
#contact {
    background: var(--primary-color);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item strong {
    color: white;
    display: block;
}

.contact-item p {
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Booking Form */
.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.booking-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-family: "ivysoft-variable", sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: "ivysoft-variable", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Confirmation Modal */
.confirmation-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: var(--primary-color);
    max-width: 500px;
    margin: 10% auto;
}

.confirmation-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.booking-summary {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: left;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: rgba(255,255,255,0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Dark Mode Updates */
body.dark-theme header {
    background: rgba(44, 62, 80, 0.95);
}

body.dark-theme .container_header {
    background-color: transparent;
}

body.dark-theme main {
    background-color: var(--secondary-color);
}

body.dark-theme #about_me {
    background-color: var(--light-color);
}

body.dark-theme .service-card {
    background: var(--light-color);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

body.dark-theme .service-card h3 {
    color: var(--primary-color);
}

body.dark-theme .service-card p {
    color: var(--text-light);
}

body.dark-theme .service-card ul {
    color: var(--text-light);
}

body.dark-theme .service-card li {
    color: var(--text-light);
}

body.dark-theme .service-card .price {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

body.dark-theme .service-card.featured {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

body.dark-theme .service-card.featured h3 {
    color: var(--primary-color);
}

body.dark-theme .service-card.featured p {
    color: var(--text-light);
}

body.dark-theme .service-card.featured li {
    color: var(--text-light);
}

body.dark-theme .service-card.featured .price {
    background: var(--primary-color);
    color: var(--accent-color);
}

body.dark-theme .service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

body.dark-theme #services {
    background: var(--secondary-color);
    color: var(--primary-color);
}

body.dark-theme .service-icon {
    filter: brightness(1.2);
}

body.dark-theme .section-header h2 {
    color: var(--primary-color);
}

body.dark-theme .section-header p {
    color: var(--text-light);
}

body.dark-theme .booking-form {
    background: var(--light-color);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme .form-group textarea {
    background: var(--secondary-color);
    border-color: var(--border-color);
    color: var(--primary-color);
}

body.dark-theme .form-group input::placeholder,
body.dark-theme .form-group textarea::placeholder {
    color: var(--text-light);
}

body.dark-theme .testimonial-card {
    background: var(--light-color);
    color: var(--primary-color);
}

body.dark-theme #contact {
    background-color: var(--dark-color);
}

body.dark-theme .portfolio-item img {
    filter: brightness(0.9);
}

body.dark-theme .modal-content {
    background: var(--light-color);
    color: var(--primary-color);
}

body.dark-theme .close {
    color: var(--primary-color);
}

body.dark-theme .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

body.dark-theme .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

body.dark-theme .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Gallery Page Styles */
.gallery-hero {
    padding: 120px 0 80px;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.gallery-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.back-btn {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: var(--transition);
    font-weight: 500;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.gallery-caption p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Dark theme adjustments for gallery */
body.dark-theme .gallery-item {
    background: var(--light-color);
    color: white;
}

body.dark-theme .gallery-caption h3 {
    color: var(--primary-color);
}

body.dark-theme .gallery-caption p {
    color: var(--text-light);
}

/* Gallery Navigation */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    background: rgba(119, 81, 68, 0.1);
}

/* Modal improvements for gallery pages */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.modal-caption {
    text-align: center;
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: #ff6b6b;
}

/* Responsive Design for Gallery Pages */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-hero p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .gallery-section {
        padding: 40px 0;
    }
    
    .gallery-hero {
        padding: 80px 0 40px;
    }
}

/* Header for gallery pages */
header#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(119, 81, 68, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

body.dark-theme header#navbar {
    background: rgba(44, 62, 80, 0.95);
}

/* Mobile-first responsive design */

/* Base styles zijn al mobile-friendly, voeg deze media queries toe */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    #services h3{
    font-size: 6vw;
}
    /* Header & Navigation */
    #navbar {
        padding: 0.5rem 0;
    }
    
    .container_header {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Mobile menu */
    #nav-toggle {
        display: flex;
    }
    
    #nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-color);
        margin: 5px 0;
        transition: 0.3s;
    }
    
    .nav_header {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-color); /* Gebruik consistente kleur */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        z-index: 1000;
    }
    
    .nav_header.active {
        right: 0;
    }
    
    .nav_header li {
        margin: 1.5rem 0;
    }
    
    .nav_header a {
        font-size: 1.2rem;
        padding: 1rem;
        color: white;
    }
    
    #light-dark {
        margin-top: 2rem;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
        text-align: center;
    }
    
    .hero-background img {
        object-position: center;
    }

    /* About Section */
    #about_me .container {
        padding: 2rem 1rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        order: 2;
        margin-top: 2rem;
    }
    
    .about-image {
        order: 1;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .about-details {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .about-details p {
        font-size: 0.9rem;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2rem;
    }

    /* Portfolio Section */
    .portfolio-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .portfolio-item {
        height: 300px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
    }



    /* Contact Section */
    .contact-content {
        display: flex !important; /* Force flex op mobiel */
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-info {
        order: 1 !important; /* Contactinfo komt eerst */
        text-align: center;
    }
    
    .booking-form {
        order: 2 !important; /* Formulier komt daarna */
        width: 100%;
    }
    
    .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: white; /* Zorg dat titel wit blijft */
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: var(--secondary-color); /* Behoud kleur */
    }
    
    .contact-info p {
        color: rgba(255,255,255,0.8);
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
        margin: 2rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        flex-direction: row; /* Houd icoon en tekst naast elkaar */
        text-align: left;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .contact-item .icon {
        font-size: 1.5rem;
        color: var(--secondary-color);
        min-width: 30px;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .social-link {
        padding: 0.75rem 1.5rem;
        min-width: 120px;
        text-align: center;
        font-size: 0.9rem;
    }

    
    /* Form */
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Footer */
    footer .container {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
        font-size: 0.8rem;
    }

    /* Modals */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }
    
    .confirmation-content {
        max-width: 350px;
    }

    /* Utility classes */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

/* Small devices (landscape phones, 768px and down) */
@media only screen and (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

/* Medium devices (tablets, 992px and down) */
@media only screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Add hamburger menu animation */
#nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

#nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

#nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Ensure touch targets are large enough */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .filter-btn {
        min-height: 44px;
    }
    
    .social-link {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
}





