/* Color Palette */
:root {
    --background: #F9F1E5;
    --primary-dark: #485331;
    --primary-orange: #e84a35;
    --white: #f9f1e4;
    --text-dark: #333333;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}

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

/* Header and Navigation */
header {
    background-color: transparent;
    padding: 0;
    position: relative;
    z-index: 100;
}

.header-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
}

.header-logo img {
    height: 225px;
    width: auto;
    border: 5px solid #f9f1e4;
    border-radius: 50%;
}

nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(249, 241, 229, 0.2), rgba(249, 241, 229, 0.2)),
                url('saltandcitrus.jpeg') center 60%/cover;
    padding: 100px 20px;
    position: relative;
}

.hero-icons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 10;
}

.hero-icon {
    width: 60px;
    height: 60px;
    background-color: #f9f1e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.hero-icon:hover {
    transform: translateY(-5px);
    background-color: var(--primary-orange);
}

.hero-icon:hover svg {
    color: var(--white);
}

.hero-icon svg {
    color: var(--primary-dark);
    width: 28px;
    height: 28px;
}

.hero-content h1 {
    font-size: 72px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-left: 50px;
}

.hero-content .tagline {
    font-size: 48px;
    color: #f9f1e4;
    margin-bottom: 40px;
    font-style: italic;
    margin-top: 20px;
    margin-left: 40px;
    background-color: rgba(72, 83, 49, 0.06);
    padding: 15px 30px;
    border-radius: 8px;
    backdrop-filter: blur(3px);
}

.hero-content .subtitle {
    font-size: 18px;
    color: var(--primary-orange);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background-color: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 100px 20px;
    background-color: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 33.33%;
    height: 1px;
    background-color: var(--primary-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about h2 {
    font-size: 48px;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about h2 .section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: var(--white);
    border: 2px solid var(--primary-dark);
    border-radius: 50%;
    color: var(--primary-dark);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Menu Section */
.menu {
    padding: 100px 20px;
    background-color: var(--background);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 33.33%;
    height: 1px;
    background-color: var(--primary-dark);
}

.menu h2 {
    font-size: 48px;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.menu h2 .section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: var(--white);
    border: 2px solid var(--primary-dark);
    border-radius: 50%;
    color: var(--primary-dark);
}

/* Menu Carousel Styles */
.menu-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border: 4px solid var(--primary-dark);
    border-radius: 8px;
    background: var(--white);
}

.carousel-slide {
    display: none;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.carousel-btn {
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--primary-orange);
    transform: scale(1.1);
}

.carousel-indicators {
    text-align: center;
    margin-top: 15px;
    color: var(--primary-dark);
    font-size: 16px;
    font-family: 'Arial', sans-serif;
}

/* Gallery Section */
.gallery {
    padding: 100px 20px;
    background-color: var(--white);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 33.33%;
    height: 1px;
    background-color: var(--primary-dark);
}

.gallery h2 {
    font-size: 48px;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.gallery h2 .section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: var(--white);
    border: 2px solid var(--primary-dark);
    border-radius: 50%;
    color: var(--primary-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
}

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

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

/* Gallery Modal */
.gallery-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: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-orange);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    user-select: none;
}

.modal-prev:hover,
.modal-next:hover {
    color: var(--primary-orange);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Contact Section */
.contact {
    padding: 100px 20px;
    background-color: var(--white);
    color: var(--text-dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 33.33%;
    height: 1px;
    background-color: var(--primary-dark);
}

.contact h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary-dark);
}

.contact h2 .section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: transparent;
    border: 2px solid var(--primary-dark);
    border-radius: 50%;
    color: var(--primary-dark);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.info-item {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    border: 2px solid var(--primary-dark);
}

.info-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-orange);
}

.info-item h3 svg {
    stroke-width: 2.5;
}

.info-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-dark);
}

.info-item a {
    color: inherit;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--primary-dark);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--primary-dark);
}

footer p {
    font-size: 14px;
    font-family: 'Arial', sans-serif;
}

.footer-link {
    color: var(--primary-orange);
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .menu-carousel {
        max-width: 600px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-logo img {
        max-width: 180px;
    }
    
    .tagline {
        font-size: 36px !important;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        min-height: 80vh;
    }
    
    .hero-logo {
        top: 20px;
        left: 20px;
    }
    
    .hero-logo img {
        max-width: 140px;
    }
    
    .hero-icons {
        gap: 15px;
        bottom: 30%;
    }
    
    .hero-icon {
        width: 50px;
        height: 50px;
    }
    
    .hero-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .tagline {
        font-size: 28px !important;
        padding: 15px 25px !important;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content .tagline {
        font-size: 18px;
    }

    .hero-content .subtitle {
        font-size: 14px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about h2 {
        justify-content: center;
    }

    .about h2,
    .menu h2,
    .gallery h2,
    .contact h2 {
        font-size: 36px;
    }
    
    .about h2 .section-icon,
    .menu h2 .section-icon,
    .gallery h2 .section-icon,
    .contact h2 .section-icon {
        width: 44px;
        height: 44px;
    }
    
    .about h2 .section-icon svg,
    .menu h2 .section-icon svg,
    .gallery h2 .section-icon svg,
    .contact h2 .section-icon svg {
        width: 22px;
        height: 22px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-carousel {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    #page-indicator {
        font-size: 14px;
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .about, .menu, .gallery, .contact {
        padding: 60px 20px;
    }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
    .carousel-slide img {
        max-height: 400px;
    }
    
    .hero-icons {
        gap: 12px;
    }
    
    .hero-icon {
        width: 45px;
        height: 45px;
    }
    
    .hero-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .tagline {
        font-size: 24px !important;
        padding: 12px 20px !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }
    
    .header-logo {
        top: 15px;
        left: 15px;
    }
    
    .header-logo img {
        height: 120px;
    }
    
    .hero-logo {
        top: 15px;
        left: 15px;
    }
    
    .hero-logo img {
        max-width: 100px;
    }
    
    .hero-icons {
        gap: 10px;
        bottom: 20%;
    }
    
    .hero-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-content .tagline {
        font-size: 16px !important;
        padding: 10px 15px !important;
        margin-top: 60px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .nav-links {
        gap: 15px;
    }

    .logo img {
        height: 50px;
    }
    
    .carousel-slide img {
        max-height: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .about h2,
    .menu h2,
    .gallery h2,
    .contact h2 {
        font-size: 28px;
    }
    
    .about h2 .section-icon,
    .menu h2 .section-icon,
    .gallery h2 .section-icon,
    .contact h2 .section-icon {
        width: 38px;
        height: 38px;
    }
    
    .about h2 .section-icon svg,
    .menu h2 .section-icon svg,
    .gallery h2 .section-icon svg,
    .contact h2 .section-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .info-item h3 {
        font-size: 18px;
    }
    
    .info-item p {
        font-size: 14px;
    }
    
    .about, .menu, .gallery, .contact {
        padding: 50px 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    /* Gallery modal responsive */
    .modal-prev,
    .modal-next {
        font-size: 30px;
        padding: 10px;
    }
    
    .modal-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .hero-logo img {
        max-width: 80px;
    }
    
    .hero-icon {
        width: 36px;
        height: 36px;
    }
    
    .hero-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .tagline {
        font-size: 18px !important;
    }
    
    .carousel-slide img {
        max-height: 250px;
    }
    
    .about h2,
    .menu h2,
    .gallery h2,
    .contact h2 {
        font-size: 24px;
    }
}
