/* CSS Variables */
:root {
    --primary-green: #277f0c;
    --dark-green: #1f6a0a;
    --lighter-green: #2e8f0e;
    --navy: #2c3e50;
    --navy-light: #34495e;
    --text-dark: #333;
    --text-light: #666;
    --text-lighter: #95a5a6;
    --background-light: #f8f9fa;
    --white: #fff;
    --border-light: #e9ecef;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --overlay-gradient: linear-gradient(rgba(44, 62, 80, 0.7), rgba(39, 127, 12, 0.7));
    --green-shadow: rgba(39, 127, 12, 0.3);
    --green-shadow-hover: rgba(39, 127, 12, 0.4);
    
    --font-primary: 'Open Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --border-radius: 15px;
    --border-radius-small: 8px;
    --border-radius-large: 50px;
    
    --transition: all 0.3s ease;
    --container-max-width: 1200px;
}

/* Reset en Basis Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Menukaart Styles */

@media (max-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-section {
        width: 100%;
    }
}
.menukaart-img-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--overlay-gradient);
}

.menukaart-img {
    max-width: 100vw;
    max-height: 100vh;
    height: auto;
    width: auto;
    object-fit: contain;
    box-shadow: 0 4px 30px rgba(44,62,80,0.2);
    border-radius: 12px;
}

.menukaart-bg {
    background: var(--overlay-gradient);
    text-align: center;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-green);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--lighter-green));
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--border-radius-large);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--green-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), #256a0c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--green-shadow-hover);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: 0 2px 20px var(--shadow-light);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.logo i {
    margin-right: 10px;
    color: var(--primary-green);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
    left: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--overlay-gradient),
                url('../img/vloertegels.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.menu-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.menu-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover img {
    transform: scale(1.05);
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-content h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.menu-item-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    float: right;
}

/* Gallery Section - Simple Slideshow */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: visible;
    box-shadow: 0 15px 35px var(--shadow-light);
    background: var(--white);
    height: 500px;
}

.slide {
    display: none;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: left;
}

.slide-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Navigation Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(39, 127, 12, 0.8);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.slide-nav:hover {
    background: var(--primary-green);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* Dots Indicator */
.slide-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.dot:hover,
.dot.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

/* Gallery Animations - Staggered delays */

.gallery-item {
    animation: galleryFadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px var(--shadow-light);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Reservation Form */
.reservation-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.reservation-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-green);
}

.reservation-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.reservation-form textarea {
    resize: vertical;
    min-height: 100px;
}

.reservation-form button {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
        margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .footer-section {
        width: 100%;
    }
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--dark-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--navy-light);
    color: var(--text-lighter);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(44, 62, 80, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
    }
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .contact-map {
        margin-left: 0 !important;
        margin-top: 2rem;
        min-width: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    .slide-nav.prev {
        left: 10px;
    }
    .slide-nav.next {
        right: 10px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    /* Slideshow mobile styles */
    .slideshow-container {
        margin: 0 15px;
        height: 300px;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slide-info {
        padding: 1.5rem;
    }
    
    .slide-info h3 {
        font-size: 1.4rem;
    }
    
    .slide-info p {
        font-size: 1rem;
    }
    
    .dot {
        height: 12px;
        width: 12px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .menu-item-content {
        padding: 1rem;
    }
    
    .contact-item,
    .reservation-form {
        padding: 1rem;
    }
    
    /* Small mobile slideshow styles */
    .slide img {
        height: 250px;
    }
    
    .slide-info {
        padding: 1rem;
    }
    
    .slide-info h3 {
        font-size: 1.2rem;
    }
    
    .slide-info p {
        font-size: 0.9rem;
    }
    
    .slide-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slide-nav.prev {
        left: 5px;
    }
    
    .slide-nav.next {
        right: 5px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
.menu-item,
.contact-item,
.about-image {
    animation: fadeIn 0.6s ease-in-out;
}