/* mainstyles.css (updated with center-aligned sections) */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* Optimize performance with hardware acceleration for animations */
.hero-btn, .feature-button, .menu-button {
    border-radius: 30px;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    will-change: transform;
    transform: translateZ(0);
}

.feature-image img, .about-image img, .food-image img {
    transition: transform 0.5s ease, filter 0.5s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize scrolling performance */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent layout shifts */
.feature-section, .about-section, .food-section {
    position: relative;
    overflow: hidden;
    contain: content;
    background-color: var(--color-background);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimize hero section performance */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--color-background);
    contain: paint layout style;
    will-change: opacity;
}

.hero-slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    contain: paint layout style;
    will-change: opacity;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    perspective: 1000;
    contain: paint layout style;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    will-change: opacity;
    transform: translate3d(0, 0, 0);
}

.hero-slide.active {
    opacity: 1;
}

/* Optimize header performance */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    will-change: transform, background-color;
    transform: translateZ(0);
    background-color: rgba(55, 33, 11, 0.7);
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
}

.gallery-title {
    text-align: center;
    margin: 40px 0 20px 0;
    font-family: 'Quicksand', Arial, Helvetica, sans-serif;
    color: white;
}
.gallery-title h1 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 3rem; /* Larger text size */
    margin: 0;
    padding: 0;
}

/* Add this to mainstyles.css */
/* mainstyles.css */
#working-time-section {
    padding: 60px 0;
    background-color: var(--color-background);
    overflow: hidden; /* Contains the image if it tries to overflow */
}

#working-time-section h2 {
    margin-bottom: 30px;
    color: white;
}

#working-time-image-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

#working-time-image-container img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    max-width: 90%; /* Reduced from 100% */
    height: auto;
    /* Removed the transform: scale(2) that was causing the overlap */
}
    
    

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

/* General Styles */
body {
    background-color: var(--color-background);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* Updated styling for links - merged from styles.css */
a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 700;
}

#hero nav {
    display: none;
}
.hero-mobile-image {
    display: none;
}
.hero-image {
    width: 295px;
}



.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    padding-top: 60px;
    will-change: transform, opacity;
}
.hero-title {
    font-family: "Oswald", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 100px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: "Oswald", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 2.5rem;
    margin-top: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    margin-top: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
}

.hero-btn {
    padding: 15px 40px;
    border: 2px solid white;
    background: transparent;
    color: white;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 4px;
    will-change: transform;

}
.hero-btn:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Updated header styling - merged from styles.css */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(55, 33, 11, 0.7);
    transition: all 0.6s ease-in-out;
    padding: 20px 0;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

header.scrolled {
    padding: 10px 20px;
    height: 60px;
    background-color: rgba(55, 33, 11, 1); /* Solid brown color */
}
/* Updated logo styling with BIGGER logo */
.logo {
    position: fixed;
    top: 5px;
    left: 20px;
    z-index: 1001;
    transition: all 0.6s ease-in-out;
}

.logo img {
    width: 150px;
    height: auto;
    cursor: pointer;
    margin-top: -10px;
    transition: all 0.6s ease-in-out;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Updated navigation links with BIGGER font */
header nav a {
    color: white;
    text-decoration: none;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0;
    position: relative;
    padding: 0 15px;
    font-size: 1.4rem;
}

header nav a:hover,
header nav a:visited,
header nav a:active,
header nav a:focus {
    color: white !important;
    text-decoration: none;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.6s ease;
}

header nav a:hover::after {
    width: 100%;
}

header.scrolled + .logo {
    opacity: 0;
    transform: translateY(-100%);
}

header.scrolled .logo img {
    width: 0;
}

/* About Section */
.about-section {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 50vh;
    background-color: #1a1a1a;
}

.about-image {
    width: 50%;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7) url('https://res.cloudinary.com/dxus20wrm/image/upload/v1746688285/fon_bubert/WhatsApp_Image_2025-05-07_at_18.22.55_zl3f72.jpg');
    background-blend-mode: overlay;
    background-size: cover;
}

.about-content h2 {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.about-content p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 80%;
}

.about-content .author {
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* New Feature Sections Styling (Based on the image layout) */
.feature-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 80px 0;
    background-color: #1a1a1a;
    position: relative;
}

.feature-container {
    display: flex;
    width: 80%;
    max-width: 1200px;
    align-items: center;
}

.feature-text {
    flex: 1;
    color: white;
    padding: 0 50px;
    text-align: left;
}

.feature-image {
    flex: 1;
    max-width: 50%;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.feature-text h2 {
    font-family: "Oswald", serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-text h3 {
    font-family: "Oswald", serif;
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 25px;
    opacity: 0.9;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-button:hover {
    background-color: white;
    color: #1a1a1a;
}

/* Reversed layout for alternating sections */
.feature-section.reversed .feature-container {
    flex-direction: row-reverse;
}

/* Food Section Styling - Keeping if needed */
.food-section {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background-color: #1a1a1a;
}

.food-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
}

.food-image {
    width: 50%;
    overflow: hidden;
}

.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-content h2 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.food-content .subtitle {
    font-family: "Montserrat", sans-serif;
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
}

.food-content .food-description {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.menu-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-button:hover {
    background-color: #fff;
    color: #1a1a1a;
}

.text-center.mb-4 {
    color: white;
}

.contact-content {
    color: white;
}

#reservation-section h2,
#contact-section h2 {
    color: white;
}

.contact-content p,
.contact-content a {
    color: white;
    text-decoration: none;
}

.contact-content a:hover {
    color: #ffd700;
    transition: color 0.3s ease;
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.scroll-to-top:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.scroll-to-top i {
    font-size: 24px;
}

/* Mobile Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu nav {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}


.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.menu-btn {
    display: none;
}

.menu-btn.hidden {
    display: none !important;
}

/* Updated footer styling - CHANGED COLOR to match background */
footer {
    background-color: var(--color-background);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    width: 100%;
}

/* Updated social media styling - merged from styles.css */
footer .social-media {
    margin-bottom: 10px;
}

footer .social-media a {
    margin: 0 10px;
    display: inline-block;
}

footer .social-media img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

footer .social-media img:hover {
    transform: scale(1.2);
    filter: brightness(1) invert(0);
}

/* Added from styles.css */
footer address,
footer p {
    margin: 0;
    padding: 5px;
}

/* Contact content styling - merged from styles.css */
.contact-content {
    text-align: center;
    margin-bottom: 2em;
}

.contact-content h2,
.contact-content address,
.contact-content p {
    margin: 0.5em 0;
}

/* Centered iframe styling - merged from styles.css */
.iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em 0;
}

.iframe-container iframe {
    width: 80vw;
    height: 60vh;
    border: 0;
    border-radius: 10px;
}

/* General Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .hero-title {
        font-size: 80px;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .feature-container {
        width: 90%;
    }
    
    .feature-text h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .about-content h2,
    .food-content h2,
    .feature-text h2 {
        font-size: 2.2rem;
    }
    
    .about-content p,
    .food-content .food-description,
    .feature-text p {
        font-size: 1rem;
    }
    
    .feature-text {
        padding: 0 30px;
    }
}

/* Tablet Adjustments */
@media screen and (max-width: 768px) {
   

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        padding-top: 50px; 
        top: 35%;/* Reduced padding to move content higher */
    }
    /* Hero Section */
    .hero-title {
        display: none; /* Hide text title */
    }
    
  .hero-subtitle {
    display: none;
}


.hero-mobile-image {
    display: block;
    width: 95%; /* Increased size */
    max-width: 1000px; /* Allow it to grow beyond 900px */
    height: auto;
    margin: 0 auto;
    margin-bottom: 20px; /* Increased space between image and button */
}
    
.hero-buttons {
    flex-direction: column;
    gap: 1.5rem; /* Slightly increased gap */
    margin-top: 20px; /* Increased margin to add more space */
}
    
    /* Feature Sections */
    .feature-container {
        flex-direction: column !important;
        width: 100%;
    }
    
    .feature-text,
    .feature-image {
        max-width: 100%;
        flex: none;
        width: 100%;
        padding: 20px;
    }
    
    .feature-image img {
        max-height: 300px;
        object-fit: cover;
        width: 100%;
    }
    
    .feature-text {
        text-align: center;
        order: 2;
    }
    
    .feature-image {
        order: 1;
    }
    
    .feature-section {
        padding: 40px 0;
    }
    
    /* About Section */
    .about-section,
    .food-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .about-image,
    .about-content,
    .food-image,
    .food-content {
        width: 100%;
    }
    
    .about-image img,
    .food-image img {
        height: 300px;
    }
    
    .about-content,
    .food-content {
        padding: 3rem 1rem;
    }
    
    .about-content h2,
    .food-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-content p,
    .food-content .food-description {
        max-width: 90%;
    }
    
    /* Map Section */
    .iframe-container iframe {
        width: 90vw;
        height: 50vh;
    }
    
    /* Mobile Menu */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 1001;
    }

    .mobile-menu nav {
        width: 100%;
        height: 100%;
        padding: 80px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    .mobile-menu.active {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header {
        display: none;
    }

    .logo {
        display: none !important;
    }
    
    .logo img {
        width: 540px !important; /* 2x bigger */
        max-width: 80%; /* Adjust to screen size */
        height: auto;
    }
    header.scrolled + .logo,
    header.scrolled .logo img {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .menu-btn {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
        background: none;
        border: none;
        font-size: 40px; 
        color: white;
        cursor: pointer;
    }
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    #hero, 
    .hero-slide, 
    .hero-content, 
    .feature-section, 
    .about-section, 
    .food-section, 
    .gallery-container {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    .gallery-page-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 20px;
    }
    
    .gallery-page-item {
        aspect-ratio: 4/3;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .gallery-page-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Make modal controls more touch-friendly */
    .modal .close,
    .modal .arrow {
        font-size: 2.5rem;
        padding: 15px;
    }
    
    .modal .arrow.left {
        left: 10px;
    }
    
    .modal .arrow.right {
        right: 10px;
    }
}



/* Mobile Adjustments */
@media screen and (max-width: 576px) {
    /* Hero Section */
    .hero-content {
        padding-top: 200px;
    }
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 1.2rem;
    }
    
    /* About Section */
    .about-image img {
        height: 200px;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Feature Sections */
    .feature-text h2 {
        font-size: 1.8rem;
    }
    
    .feature-text h3 {
        font-size: 1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .feature-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Reservation Form */
    .form-control, .btn {
        font-size: 0.9rem;
    }
    
    /* Map */
    .iframe-container iframe {
        height: 40vh;
    }
    .logo img {
        max-width: 400px; /* Slightly smaller on very small screens */
    }
    .gallery-page-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 10px;
        padding: 15px;
    }
    
    .gallery-page-item {
        aspect-ratio: 4/3; /* Slightly wider on mobile */
    }
    
    .modal img {
        max-width: 95%;
        max-height: 85%;
    }
    
    .modal .close {
        top: 10px;
        right: 10px;
        font-size: 1.5em;
    }
    
    .modal .arrow {
        font-size: 1.5em;
    }
    
    .modal .arrow.left {
        left: 10px;
    }
    
    .modal .arrow.right {
        right: 10px;
    }
    
}

/* Small Mobile Adjustments */
@media screen and (max-width: 400px) {
    .hero-content {
        padding-top: 150px;
    }
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo img {
        max-width: 300px; /* Even smaller on tiny screens */
    }
    .feature-text h2 {
        font-size: 1.5rem;
    }
    
    .feature-text p {
        font-size: 0.8rem;
    }
    body {
        overflow-x: hidden;
        width: 100vw;
        max-width: 100%;
    }
    #hero, 
.hero-slide, 
.hero-content {
    max-width: 100%;
    overflow-x: hidden;
}
.gallery-page-container {
    padding: 15px;
    gap: 15px;
}

.gallery-page-item {
    aspect-ratio: 1/1;
}

.modal img {
    max-width: 95%;
    max-height: 85%;
}

.modal .close {
    top: 10px;
    right: 10px;
    font-size: 1.5em;
}

.modal .arrow {
    font-size: 1.5em;
}

.modal .arrow.left {
    left: 5px;
}

.modal .arrow.right {
    right: 5px;
}
}

/* Fix for the mobile menu on landscape orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .mobile-menu nav {
        padding: 60px 20px 20px;
    }
    
    .mobile-menu a {
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    
    .hero-content {
        top: 50%;
    }
    
    .mobile-menu {
        width: 50%;
        right: -50%;
        left: auto;
        transition: transform 0.3s ease-in-out;
    }

    .mobile-menu.active {
        display: block;
        transform: translateX(-100%);
    }

    .mobile-menu nav {
        padding: 60px 20px;
        height: 100%;
        overflow-y: auto;
    }
}
/* Gallery Section */
/* Updated Gallery Section for Mobile Responsiveness */
.gallery-page-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-page-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    aspect-ratio: 1/1; /* Makes items square */
}

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

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

/* Modal styles (can keep existing) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    color: white;
    cursor: pointer;
}

.modal .arrow {
    position: absolute;
    font-size: 2em;
    color: white;
    cursor: pointer;
}

.modal .arrow.left {
    left: 20px;
}

.modal .arrow.right {
    right: 20px;
}

/* Enhanced image hover effects */
.feature-image, .about-image {
    overflow: hidden;
    position: relative;
}

.feature-image img, .about-image img {
    transition: transform 0.5s ease, filter 0.5s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-image:hover img, .about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.feature-image::after, .about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-image:hover::after, .about-image:hover::after {
    opacity: 1;
}

/* Add a subtle glow effect on hover */
.feature-image:hover, .about-image:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Add this to mainstyles.css */
/* Reservation Form Styles */
#reservationForm .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#reservationForm .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    outline: none;
}

#reservationForm .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#reservationForm .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#reservationForm .invalid-feedback {
    color: #ff6b6b;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
}

#reservationForm .form-control.is-invalid {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.05);
    padding-right: 12px !important;
}

#reservationForm .form-control.is-valid {
    border-color: #51cf66;
    background-color: rgba(81, 207, 102, 0.05);
    background-image: none !important;
    padding-right: 12px !important;
}

/* Style the date and time inputs */
#reservationForm input[type="date"],
#reservationForm input[type="time"] {
    color-scheme: dark;
}

/* Hide default date and time icons when invalid */
#reservationForm input[type="date"].is-invalid::-webkit-calendar-picker-indicator,
#reservationForm input[type="time"].is-invalid::-webkit-calendar-picker-indicator {
    display: none;
}

#reservationForm input[type="date"].is-invalid::-webkit-inner-spin-button,
#reservationForm input[type="time"].is-invalid::-webkit-inner-spin-button {
    display: none;
}

#reservationForm input[type="date"].is-invalid::-webkit-clear-button,
#reservationForm input[type="time"].is-invalid::-webkit-clear-button {
    display: none;
}

/* Firefox */
#reservationForm input[type="date"].is-invalid,
#reservationForm input[type="time"].is-invalid {
    position: relative;
}

#reservationForm input[type="date"].is-invalid::-moz-calendar-picker-indicator,
#reservationForm input[type="time"].is-invalid::-moz-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    pointer-events: none;
}

/* Message alerts styling */
#message .alert {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
}

#message .alert-success {
    background-color: rgba(81, 207, 102, 0.1);
    border-color: rgba(81, 207, 102, 0.3);
}

#message .alert-danger {
    background-color: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
}

#message .alert-info {
    background-color: rgba(94, 129, 244, 0.1);
    border-color: rgba(94, 129, 244, 0.3);
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide spinner when content is loaded */
.loading-spinner.hidden {
    display: none;
}

/* Add color variable at the top */
:root {
    --color-background: #37210b;
    --color-menu-background: #2a1707;
}
/* Updated footer styling - CHANGED COLOR to match background */
footer {
    background-color: var(--color-background);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    width: 100%;
}

/* Updated social media styling - merged from styles.css */
footer .social-media {
    margin-bottom: 20px;
}

footer .social-media a {
    margin: 0 10px;
    display: inline-block;
}

footer .social-media img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

footer .social-media img:hover {
    transform: scale(1.2);
    filter: brightness(1) invert(0);
}

/* Realizētie projekti section styling */
.projekti-section {
    margin: 20px 0;
    padding: 20px 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projekti-section h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: white;
}

.projekti-description {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
}

.projekti-links {
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.projekti-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
}

.projekti-links a:hover {
    color: #ffd700;
    transform: scale(1.05);
}

/* NEW: Style for the project logos - making them much smaller */
.projekti-logo {
    height: 25px !important;
    width: auto !important;
    max-width: 60px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 3px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.projekti-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.projekti-links .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0 5px;
}

/* Mobile responsive adjustments for projekti section */
@media screen and (max-width: 768px) {
    .projekti-section {
        padding: 15px 20px;
    }
    
    .projekti-links {
        gap: 10px;
    }
    
    .projekti-logo {
        height: 20px !important;
        max-width: 50px;
    }
    
    .projekti-links .separator {
        font-size: 0.7rem;
        margin: 0 3px;
    }
}

@media screen and (max-width: 480px) {
    .projekti-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .projekti-links .separator {
        display: none;
    }
}

/* Added from styles.css */
footer address, footer p {
    margin: 0;
    padding: 5px;
}