:root {
    --primary-color: #b59f6b;
    --primary-dark: #8e7c50;
    --primary-light: #d5c9a6;
    --secondary-color: #35302d;
    --secondary-light: #5a514c;
    --light-color: #f5f4f1;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --border-radius: 4px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subheading {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    background-color: transparent;
    transition: var(--transition);
}

header.scrolled {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
    padding: 14px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 85px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-right: 5px;
}

.nav-links a:not(.btn-primary):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a.active:after,
.nav-links a:not(.btn-primary):hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

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

.about-text p {
    margin-bottom: 20px;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.menu-highlights {
    margin: 30px 0;
}

.menu-highlights li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.menu-highlights li i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 3px;
}

.menu-highlights h4 {
    margin-bottom: 5px;
}

.menu-highlights p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Beer Section */
.beer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.beer-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.beer-type {
    text-align: center;
    transition: var(--transition);
}

.beer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 2rem;
}

.beer-type:hover {
    transform: translateY(-10px);
}

.beer-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Events Section */
.events {
    background-color: var(--light-color);
}

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

.events-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.events-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.event-feature {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-feature i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.event-feature:hover {
    transform: translateY(-10px);
}

.event-feature h4 {
    margin-bottom: 10px;
}

.event-feature p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Team Section - New Stylish Layout */
.team {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0;
}

.team .section-header h2,
.team .subheading {
    color: var(--white);
}

.team-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
}

.team .member-info h3 {
    color: var(--white);
}

.team-description {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    color: var(--white);
    position: relative;
    height: 100%;
}

.team-description h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.team-description p {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1rem;
}

.team-members-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
}

.team-member-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.team-member-card .member-info {
    text-align: center;
    padding: 0 10px;
}

.team-member-card h3 {
    color: var(--white);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.team-member-card span {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.team-member-large {
    margin-bottom: 30px;
}

.team-member-large img {
    height: 350px;
    object-fit: cover;
}

/* Team Section - New Styling to Match Reference */
.team {
    background-color: #332e2c; /* Dark brown background */
    padding: 80px 0;
    color: var(--white);
}

.team-layout {
    display: flex;
    gap: 60px;
}

/* Left sidebar styling */
.team-sidebar {
    flex: 0 0 450px; /* Increased from 260px to 320px */
    background-color: var(--primary-color);
    padding: 30px;
    position: relative;
    border-radius: 4px;
    color: var(--white);
}

.sidebar-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    text-transform: uppercase;
}

.sidebar-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
    text-transform: uppercase;
}

.sidebar-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--white);
}

.team-group-photo {
    margin-top: 30px;
    border: 3px solid var(--white);
    padding: 5px;
}

.team-group-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team members styling */
.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex: 1;
    align-self: center;
}

.team-member {
    text-align: center;
    max-width: 220px; /* Limit the maximum width */
    margin: 0 auto;
}

.member-image {
    margin-bottom: 15px;
    overflow: hidden;
    height: 220px; /* Fixed smaller height */
    width: 220px; /* Fixed width to create square */
    border-radius: 4px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Mobile-friendly Team Section */
@media (max-width: 991px) {
    .team-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .team-sidebar {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 25px;
    }
    
    .team-members {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        width: 100%;
    }
    
    .member-image {
        height: 140px;
        width: 140px;
        margin: 0 auto 10px;
    }
    
    .team-member {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .member-image {
        height: 120px;
        width: 120px;
    }
    
    .sidebar-title {
        font-size: 1.8rem;
    }
    
    .sidebar-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .team-members {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .member-image {
        height: 180px;
        width: 180px;
    }
    
    .team-sidebar {
        padding: 20px 15px;
    }
    
    .team {
        padding: 60px 0;
    }
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-color);
}

.footer-bottom ul {
    display: flex;
}

.footer-bottom ul li {
    margin-left: 20px;
}

.footer-bottom ul li a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-bottom ul li a:hover {
    color: var(--primary-color);
}

.footer-logo h3,
.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--white);
    opacity: 0.9;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--white);
    line-height: 1.8;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-right: 12px;
    min-width: 20px;
    margin-top: 4px;
}

.footer-contact .phone-item,
.footer-contact .hours-item {
    position: relative;
    padding-left: 32px;
}

.footer-contact .phone-details,
.footer-contact .hours-details {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-contact .phone-details span,
.footer-contact .hours-details span {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    letter-spacing: 0.5px; /* Add letter spacing for phone numbers */
}

.footer-contact .phone-details span:last-child,
.footer-contact .hours-details span:last-child {
    margin-bottom: 0;
}

/* Icon items positioning */
.footer-contact .phone-item i,
.footer-contact .hours-item i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-element.delay-1 {
    transition-delay: 0.2s;
}

.fade-in-element.delay-2 {
    transition-delay: 0.4s;
}

.fade-in-element.delay-3 {
    transition-delay: 0.6s;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 30px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.popup-content.popup-open {
    transform: translateY(0);
    opacity: 1;
}

.popup-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.popup-content h3 i {
    color: #fcdb03;
    margin-right: 10px;
    font-size: 24px;
}

.popup-content p {
    margin-bottom: 10px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #333;
}

.popup-content button {
    margin-top: 15px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.popup-content button i {
    margin-right: 8px;
}

@keyframes highlight-pulse {
    0% { background-color: transparent; }
    50% { background-color: rgba(181, 159, 107, 0.3); }
    100% { background-color: transparent; }
}

.highlight-section {
    animation: highlight-pulse 1.5s ease;
    border-radius: var(--border-radius);
}

.nav-links .btn-primary {
    padding: 6px 20px;
    min-width: 180px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.5;
}

.nav-links .btn-primary i {
    margin-right: 8px;
    font-size: 16px;
}

.reservation-content {
    position: relative;
}

/* Fix for reservation section */
.reservations {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('assets/reservation-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

    .reservations,
    .reservations h2,
    .reservations h3,
    .reservations p,
    .reservations li,
    .reservations span,
    .reservations i,
    .reservation-content,
    .reservation-content h2,
    .reservation-content h3, 
    .reservation-content p,
    .reservation-content li,
    .reservation-content i,
    .location-info,
    .location-info h2,
    .location-info h3,
    .location-info p,
    .location-info li,
    .location-info span,
    .location-info i,
    .hours-info,
    .hours-info h3,
    .hours-info li,
    .hours-info i {
        color: var(--white) !important;
    }

.reservation-content {
    display: flex;
    gap: 50px;
    position: relative;
    flex-wrap: wrap;
}

.reservation-text {
    flex: 1.5;
    position: relative;
    min-width: 300px;
}

.location-info {
    flex: 1;
    min-width: 300px;
    background-color: rgba(53, 48, 45, 0.7);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 0;
}

.vertical-divider {
    width: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 30px 0;
    border: none;
}

.hours-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
    .reservation-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .location-info {
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .reservations {
        padding: 60px 0;
    }
    
    .reservation-text, .location-info {
        min-width: 100%;
    }
    
    .location-info {
        padding: 20px 15px;
    }
    
    .location-info h2 {
        font-size: 1.6rem;
    }
    
    .location-info h3 {
        font-size: 1.3rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .reservations .btn-lg {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Core responsive fixes */
html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

/* Fix for navigation menu on mobile */
.nav-links {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow);
        z-index: 99;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hamburger {
        display: block !important;
        font-size: 2rem;
    }
    
    .nav-links li {
        width: 100%;
        margin: 10px 0;
    }
    
    .nav-links a {
        width: 100%;
        display: block;
        padding: 10px 0;
    }
    
    .nav-links .btn-primary {
        width: 100%;
        margin-top: 15px;
    }
    
    /* Logo size adjustment */
    .logo img {
        height: 70px;
    }
}

/* Additional responsive fixes */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .team-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .team-sidebar {
        width: 100%;
        flex: none;
    }
    
    /* Fix for beer and events galleries */
    .beer-gallery, .events-gallery {
        height: auto;
    }
    
    .beer-main-image, .beer-additional-images,
    .events-main-image, .events-additional-images {
        position: relative;
        width: 100%;
        margin-bottom: 20px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    /* Parallax fix for mobile */
    .events-banner {
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    
    .about-content, 
    .gastronomy-content,
    .beer-content,
    .events-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .member-image {
        height: 150px;
        width: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--white);
    line-height: 1.8;
}

/* Standard icon styling */
.footer-contact ul li i {
    color: var(--primary-color);
    margin-right: 12px;
    min-width: 20px;
    margin-top: 4px;
}

.footer-contact .phone-item,
.footer-contact .hours-item {
    position: relative;
    padding-left: 32px;
}

.footer-contact .phone-details,
.footer-contact .hours-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 0;
}

.footer-contact .phone-details span,
.footer-contact .hours-details span {
    padding-left: 0;
    margin-left: 0;
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-contact .phone-details span:last-child,
.footer-contact .hours-details span:last-child {
    margin-bottom: 0;
}

.footer-contact .phone-item i,
.footer-contact .hours-item i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.team-members {
    grid-template-columns: 1fr;
}

.footer-contact .hours-details {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 24px;
}

.footer-contact .hours-details span {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-contact .hours-details span:last-child {
    margin-bottom: 0;
}

.footer-contact .hours-details .middle-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    margin-top: 0;
}

.footer-contact .hours-item {
    position: relative;
    padding-left: 32px;
}

.footer-contact .hours-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 0;
}

.footer-contact .hours-details span {
    padding-left: 0;
    margin-left: 0;
    color: var(--white);
}

.footer-contact .hours-details span:last-child {
    margin-bottom: 0;
}

.footer-contact .hours-details .middle-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    margin-top: 0;
}

/* Enhanced Beer Gallery Styling with overlapping effect */
.beer-gallery {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 450px;
    width: 100%;
}

.beer-main-image {
    position: absolute;
    width: 80%;
    top: 0;
    left: 0;
    z-index: 2;
}

.beer-main-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 5px solid var(--white);
    transition: transform 0.4s ease;
}

.beer-main-image:hover img {
    transform: translate(5px, -5px);
}

.beer-additional-images {
    position: absolute;
    width: 60%;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.beer-additional-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 5px solid var(--white);
    transition: transform 0.4s ease;
}

.beer-additional-images img:hover {
    transform: translate(-5px, 5px);
}

/* Enhanced Events Gallery Styling with overlapping effect */
.events-gallery {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 450px;
    width: 100%;
}

.events-main-image {
    position: absolute;
    width: 75%;
    top: 0;
    left: 0;
    z-index: 2;
}

.events-main-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 5px solid var(--white);
    transition: transform 0.4s ease;
}

.events-main-image:hover img {
    transform: translate(5px, -5px);
}

.events-additional-images {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 60%;
    right: 0;
    bottom: 30px;
    z-index: 3;
}

.events-additional-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 5px solid var(--white);
    transition: transform 0.4s ease;
}

.events-additional-images img:nth-child(1) {
    transform: rotate(-5deg);
}

.events-additional-images img:nth-child(2) {
    transform: rotate(5deg);
}

.events-additional-images img:hover {
    transform: scale(1.05) rotate(0);
    z-index: 4;
}

/* Responsive adjustments for galleries */
@media (max-width: 991px) {
    .beer-gallery, .events-gallery {
        height: 650px;
    }
    
    .beer-main-image, .events-main-image {
        width: 90%;
    }
    
    .beer-additional-images, .events-additional-images {
        width: 70%;
        bottom: 80px;
    }
}

@media (max-width: 768px) {
    .beer-gallery, .events-gallery {
        height: auto;
    }
    
    .beer-main-image, .events-main-image,
    .beer-additional-images, .events-additional-images {
        position: relative;
        width: 100%;
        margin-bottom: 20px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .events-additional-images img:nth-child(1),
    .events-additional-images img:nth-child(2) {
        transform: none;
    }
}

/* Gastronomy Section - Modified layout */
.gastronomy {
    background-color: var(--light-color);
}

.gastronomy-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Adjusted to give more space to text */
    gap: 40px;
    align-items: center;
}

.gastronomy-image {
    max-width: 100%;
    overflow: hidden;
}

.gastronomy-image img {
    width: 100%;
    max-height: 350px; /* Limit image height */
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.gastronomy-text {
    padding-right: 15px; /* Add some padding to text side */
}

/* Responsive adjustment */
@media (max-width: 1024px) {
    .gastronomy-content {
        grid-template-columns: 1fr;
    }
    
    .gastronomy-image {
        max-width: 500px; /* Limit image width on smaller screens */
        margin: 0 auto;
    }
}

/* Events Banner - Parallax Effect */
.events-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/vnutro.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.events-banner .container {
    text-align: center;
}

.events-banner h2 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* Mobile adjustments for parallax */
@media (max-width: 768px) {
    .events-banner {
        background-attachment: scroll; /* Fallback to normal scrolling on mobile */
        height: 200px; /* Shorter on mobile */
    }
    
    .events-banner h2 {
        font-size: 2.5rem;
    }
}

/* Menu page styles */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin: 0;
    text-transform: uppercase;
}

.menu-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

/* Menu frame styles - to match the framed style in the images */
.menu-frame {
    border: 3px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.menu-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--secondary-color);
    pointer-events: none;
}

.menu-frame-content {
    position: relative;
    z-index: 2;
}

.menu-welcome {
    text-align: center;
    margin-bottom: 50px;
}

.menu-welcome h2 {
    font-size: 3rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.menu-welcome h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.menu-image {
    margin: 30px auto;
    max-width: 500px;
}

.menu-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.menu-item-content {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

.menu-item-description {
    flex: 1;
}

.menu-item-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

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

.menu-item-pricing {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.price-tag {
    background-color: var(--primary-light);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.menu-category {
    margin-bottom: 40px;
}

.menu-category h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--secondary-light);
}

.menu-food .menu-item {
    padding: 15px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: none;
    transition: transform 0.3s ease;
}

.menu-food .menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-item-details {
    flex: 1;
}

.menu-item-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.menu-item-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.menu-item-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 70px;
    text-align: right;
    margin-left: 15px;
}

/* Responsive adjustments for menu */
@media (max-width: 991px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .menu-frame {
        padding: 20px;
    }
    
    .menu-welcome h2 {
        font-size: 2.2rem;
    }
    
    .menu-welcome h3 {
        font-size: 1.4rem;
    }
    
    .menu-item-content {
        flex-direction: column;
    }
    
    .menu-item-image {
        margin: 15px auto;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item-price {
        margin: 10px 0 0;
        text-align: left;
    }
}

/* Team members display fixes */
.team-members {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    flex: 0 1 auto;
    max-width: 350px;
}

.member-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(181, 159, 107, 0.2);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-links i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Phone number formatting for proper spacing in footer */
.footer-contact .phone-details span {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    letter-spacing: 0.5px; /* Add letter spacing for phone numbers */
}

/* Fix phone number formatting */
.phone-details span, 
.hours-details span {
    letter-spacing: 0.5px;
}

/* Add specific spacing for phone numbers */
.phone-number {
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    /* Ensure proper spacing on mobile devices */
    .phone-details span, 
    .hours-details span {
        letter-spacing: 1px;
    }
}

