/* Base Styles */
:root {
    --primary-color: #8B4513; /* Brown */
    --secondary-color: #5F9EA0; /* Cadet Blue */
    --accent-color: #D2691E; /* Chocolate */
    --light-color: #F5F5DC; /* Beige */
    --dark-color: #333;
    --text-color: #555;
    --white: #fff;
    --black: #000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn.small {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.desktop-menu {
    display: flex;
    gap: 25px;
}

.desktop-menu li a {
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.desktop-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.desktop-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Action Buttons */
.action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.action-btn:hover {
    transform: translateY(-5px);
}

.whatsapp-btn {
    background-color: #25D366;
}

.location-btn {
    background-color: var(--primary-color);
}

.phone-btn {
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://agvanorthrestaurant.com/north13.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-overlay {
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    padding: 70px 0;
    background-color: var(--light-color);
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    transition: var(--transition);
    width: 100%;
    height: auto;
}

.about-image img:hover {
    transform: scale(1.03);
}

.features {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 15px;
}

.feature {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    transition: var(--transition);
    flex: 1;
    background-color: rgba(255, 255, 255, 0.7);
}

.feature:hover {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.feature i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Menu Section */
.menu-section {
    padding: 70px 0;
    background-color: var(--white);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 5px;
}

.tab-btn {
    padding: 8px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    font-size: 0.95rem;
}

.tab-btn.active {
    color: #D2691E;
    border-bottom: 3px solid #D2691E;
}


.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.menu-item {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    gap: 20px;
}

.item-image {
    flex: 1;
    min-width: 200px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    min-height: 200px;
}

.item-image img:hover {
    transform: scale(1.05);
}

.item-details {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-details h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.item-details p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-section {
    padding: 70px 0;
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

/* Contact Section */
.contact-section {
    padding: 70px 0;
    background-color: var(--white);
}

.contact-section .container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
    margin-top: 3px;
}

.info-item p {
    flex: 1;
    font-size: 0.95rem;
}

.working-hours {
    margin: 25px 0;
}

.working-hours p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.contact-map {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links, .footer-seo-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4, .footer-seo-links h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-links ul li, .footer-seo-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a, .footer-seo-links ul li a {
    color: #aaa;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links ul li a:hover, .footer-seo-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.85rem;
}

.seo-text {
    margin-top: 15px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #aaa;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-section .container, 
    .contact-section .container {
        flex-direction: column;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .item-image {
        height: 200px;
    }
    
    .contact-map {
        height: 350px;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features {
        flex-direction: column;
    }
    
    .feature {
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .action-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .footer-seo-links {
        min-width: 100%;
    }
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--light-color);
    z-index: 1000;
    transition: all 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--primary-color);
    background-color: var(--white);
}

.mobile-menu-header h3 {
    color: var(--primary-color);
}

.close-menu-btn {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu {
    padding: 20px;
}

.mobile-menu li {
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu li a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu li a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* Active States */
body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

body.mobile-menu-open .mobile-menu-container {
    right: 0;
}

/* Modal/Popup Styles for Gallery */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    animation: fadeInModal 0.3s;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation-name: zoom;
    animation-duration: 0.6s;
    border-radius: 8px;
}

/* Add Animation */
@keyframes zoom {
    from {transform: scale(0.1)}
    to {transform: scale(1)}
}

/* The Close Button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}