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

:root {
    /* Simplified Rooster-Inspired Irish Pub Color Palette */
    --primary-teal: #2c5f5f;
    --secondary-teal: #4a8080;
    --accent-gold: #d4af37;
    --cream: #f5f5dc;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    
    /* Social Media Brand Colors */
    --facebook-blue: #1877f2;
    --instagram-pink: #e4405f;
    --twitter-blue: #1da1f2;
    --yelp-red: #d32323;
    
    /* Calendar Colors */
    --calendar-today-gold: #f0d000;
    
    /* Typography */
    --font-primary: 'Irish Grover', cursive;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background: rgba(44, 95, 95, 0.98);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-teal);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 1rem auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-teal);
    color: var(--text-light);
    border-color: var(--primary-teal);
    opacity: 1; /* Ensure full opacity */
}

.btn-primary:hover {
    background: var(--secondary-teal);
    border-color: var(--secondary-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-dark);
    opacity: 1; /* Maintain full opacity on hover */
}

.btn-secondary {
    background: rgba(212, 175, 55, 0.9); /* More opaque background instead of transparent */
    color: var(--text-dark);
    border-color: var(--accent-gold);
    font-weight: 600; /* Make text more visible */
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-dark);
    opacity: 1; /* Full opacity on hover */
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--secondary-teal) 100%);
    backdrop-filter: blur(10px);
    z-index: 10001; /* Increased to be above all modals */
    transition: var(--transition);
}

/* Ensure navbar elements maintain proper styling when scrolled */
.header.scrolled .nav-link {
    color: var(--text-light);
}

.header.scrolled .nav-link:hover {
    color: var(--accent-gold);
}

.header.scrolled .logo-text {
    color: var(--accent-gold);
}

.header.scrolled .logo-text:hover {
    color: var(--cream);
}

.header.scrolled .bar {
    background: var(--text-light);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.logo-text:hover {
    color: var(--cream);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-block;
    /* Improve mobile touch targets */
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Special styling for Menu button in navbar */
.nav-menu .btn-primary {
    background: var(--accent-gold);
    color: var(--text-dark);
    border-color: var(--accent-gold);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    position: relative;
}

.nav-menu .btn-primary:hover {
    background: #f4e04d;
    border-color: #f4e04d;
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.nav-menu .btn-primary.active {
    background: var(--primary-teal);
    color: var(--text-light);
    border-color: var(--primary-teal);
    box-shadow: 0 2px 8px rgba(26, 71, 42, 0.3);
}

.nav-menu .btn-primary.active:hover {
    background: var(--secondary-teal);
    color: var(--text-light);
    border-color: var(--secondary-teal);
}

/* Ensure Menu button works well on mobile */
@media (max-width: 1200px) {
    .nav-menu .btn-primary {
        width: 100%;
        margin: 0.25rem auto;
        justify-content: center;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: row;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    padding: 12px;
    border-radius: 6px;
    transition: var(--transition);
    /* Simplify appearance settings */
    -webkit-appearance: none;
    appearance: none;
    /* Remove tap highlights that might interfere */
    -webkit-tap-highlight-color: transparent;
    /* Ensure it's clickable */
    pointer-events: auto;
    /* Make sure it's above everything */
    position: relative;
    z-index: 1002;
    /* Better touch target - slightly larger */
    min-width: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    /* Prevent text selection */
    user-select: none;
    -webkit-user-select: none;
    /* Improve mobile touch */
    touch-action: manipulation;
    /* Add a subtle border for better definition */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.nav-toggle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-toggle:hover::after {
    width: 100%;
}

.nav-toggle:hover .bar {
    background: var(--accent-gold);
}

.nav-toggle:focus,
.nav-toggle:active,
.nav-toggle:hover {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.nav-toggle::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
    /* Prevent bars from interfering with click events */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Hamburger Animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Hero Section */
.hero {
    color: var(--text-light);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 1;
}

.hero-background {
    /* fallback: keep background-image for older browsers */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/drinks_in_row_Background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 3;
}

.hero-text {
    position: relative;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    color: var(--accent-gold);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    color: var(--cream);
    font-weight: 300;
    margin-top: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--cream);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-mascot {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rooster-mascot-img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px var(--shadow-dark));
    animation: float 3s ease-in-out infinite !important;
    will-change: transform;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.quick-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 1.5rem;
    margin-left: 20px;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cream);
}

.info-icon {
    font-size: 1.2rem;
}

/* Hours Banner */
.hours-banner {
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}

.hours-scroll {
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.hours-text {
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--cream);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-description {
    font-size: 1.3rem;
    color: var(--primary-teal);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1.2rem;
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--shadow-dark);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.feature h3 {
    color: var(--primary-teal);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.feature p {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Menu Preview Section */
.menu-preview {
    padding: var(--section-padding);
    background: var(--text-light);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-category {
    padding: 0.8rem 1.5rem;
    background: var(--cream);
    border: 2px solid var(--primary-teal);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--primary-teal);
}

.menu-category.active,
.menu-category:hover {
    background: var(--primary-teal);
    color: var(--text-light);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.menu-item {
    background: var(--cream);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.4rem;
}

.menu-item-name {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin: 0;
}

.menu-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.menu-item-description {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

.menu-cta {
    text-align: center;
}

/* Location Section */
.location {
    padding: var(--section-padding);
    background: var(--cream);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.location-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-details {
    margin-bottom: 2rem;
}

.location-map {
    flex-grow: 1;
    min-height: 450px;
}

.location-details h3,
.hours-detailed h3 {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.detail-icon {
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.detail-item strong {
    color: var(--primary-teal);
}

.detail-item a {
    color: var(--accent-gold);
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

.hours-detailed {
    margin-top: 2rem;
}

.hours-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-detailed h3 {
    margin-bottom: 1rem;
}

.current-hours,
.future-hours {
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px var(--shadow);
    overflow: hidden;
}

.current-hours h3,
.future-hours h3 {
    background: var(--primary-teal);
    color: var(--text-light);
    margin: 0;
    padding: 0.75rem 1.25rem;
    font-size: 1.1rem;
    text-align: center;
}

.current-hours h3 {
    background: var(--primary-teal);
}

.future-hours h3 {
    background: var(--secondary-teal);
}

.hours-list {
    padding: 1rem;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cream);
}

.hours-day:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--primary-teal);
}

.time {
    color: var(--text-dark);
    text-align: right;
}

.special-hours {
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px var(--shadow);
    overflow: visible;
    margin-top: 0;
    padding: 1rem;
    border-top: 4px solid var(--accent-gold);
    position: relative;
}

.special-hours h3 {
    background: var(--accent-gold);
    color: var(--text-dark);
    margin: 0;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.special-hours .hours-day {
    border-bottom: none;
    padding: 0.5rem 0;
}

.special-hours .day {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.special-hours .time {
    font-size: 0.9rem;
}

.special-highlight {
    background: linear-gradient(135deg, var(--accent-gold), #f0d000);
    border-radius: var(--border-radius);
    padding: 1.2rem !important;
    margin: 1rem 0;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.special-highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border-radius: calc(var(--border-radius) + 2px);
    z-index: -1;
}

.special-highlight .day {
    color: var(--text-dark) !important;
    font-weight: 700;
    font-size: 1.1rem !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.special-highlight .day::before {
    content: '🍻';
    font-size: 1.3rem;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.special-highlight .time {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 1rem !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

/* Enhanced special events section */
.special-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(240, 208, 0, 0.1));
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-gold);
    position: relative;
}

.special-hours::before {
    content: '✨ Special Events';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.special-hours .hours-day {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.8rem 0;
}

.special-hours .hours-day:last-child {
    border-bottom: none;
}

.location-map {
    position: relative;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 400px;
}

.map-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

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

/* Event Calendar */
.event-calendar {
    background: var(--cream);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px var(--shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-nav {
    background: var(--primary-teal);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.calendar-nav:hover {
    background: var(--secondary-teal);
    transform: scale(1.1);
}

#calendar-week {
    color: var(--primary-teal);
    margin: 0;
    font-size: 1.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    overflow-x: auto;
    min-width: 100%;
}

.calendar-day {
    background: white;
    border-radius: var(--border-radius);
    padding: 0.8rem;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    min-height: 90px;
    min-width: 80px;
    display: flex;
    flex-direction: column;
}

.calendar-day.today {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold), var(--calendar-today-gold));
    color: var(--text-dark);
}

.calendar-day.has-event {
    border-color: var(--primary-teal);
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    color: var(--text-light);
}

.calendar-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.day-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.day-number {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.day-events {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.calendar-event {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.calendar-event:last-child {
    margin-bottom: 0;
}

.calendar-event.featured {
    background: var(--accent-gold);
    color: var(--text-dark);
    font-weight: 600;
}

.calendar-event.upcoming {
    background: rgba(74, 128, 128, 0.7);
    color: white;
    font-style: italic;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.calendar-event.coming-soon {
    background: rgba(178, 92, 56, 0.8);
    color: white;
    font-style: italic;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.calendar-event.coming-soon::before {
    content: '🔜';
    margin-right: 0.2rem;
}

.calendar-day.has-event .calendar-event {
    background: rgba(255, 255, 255, 0.3);
}

.calendar-day.has-event .calendar-event.featured {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.calendar-day.has-event .calendar-event.upcoming {
    background: rgba(74, 128, 128, 0.8);
    color: white;
}

.calendar-day.has-event .calendar-event.coming-soon {
    background: rgba(178, 92, 56, 0.9);
    color: white;
}

.calendar-day.today .calendar-event {
    background: rgba(45, 80, 22, 0.2);
    color: var(--text-dark);
}

.calendar-day.today .calendar-event.featured {
    background: var(--accent-gold);
    color: white;
}

.calendar-day.today .calendar-event.upcoming {
    background: rgba(74, 128, 128, 0.6);
    color: white;
}

.calendar-day.today .calendar-event.coming-soon {
    background: rgba(178, 92, 56, 0.7);
    color: white;
}

.no-events {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    padding: 0.5rem 0;
}

.calendar-day.today .no-events {
    color: rgba(45, 80, 22, 0.6);
}

/* Events Section Organization */
.events-section {
    margin-bottom: 3rem;
}

.events-section-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--primary-teal);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.events-section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    margin: 0.5rem auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent-gold);
    position: relative;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--shadow);
}

.event-card.featured {
    border-top: 4px solid var(--accent-gold);
    background: linear-gradient(135deg, var(--cream) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.event-card.featured::before {
    content: '⭐ Featured';
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--accent-gold);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card.upcoming {
    background: linear-gradient(135deg, var(--cream) 0%, rgba(74, 128, 128, 0.1) 100%);
    border-top: 4px solid var(--secondary-teal);
    opacity: 0.9;
}

.event-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.events .events-grid .event-card h3 {
    color: var(--primary-teal) !important;
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.events .events-grid .event-time {
    color: var(--primary-teal) !important;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.event-card p:last-of-type {
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Event Day Badges */
.event-days {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.day-badge {
    background: var(--primary-teal);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card.featured .day-badge {
    background: var(--accent-gold);
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-teal);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding);
    background: var(--secondary-teal);
    color: var(--text-light);
}

.gallery .section-title {
    color: var(--accent-gold);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.gallery-filter {
    background-color: white;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-filter:hover {
    background-color: var(--secondary-teal);
    color: white;
    border-color: var(--secondary-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gallery-filter.active {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
    font-weight: 700;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999; /* Increased z-index to ensure it's above navbar */
    display: flex;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: fixed; /* Changed to fixed for better mobile handling */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.92); /* Slightly darker for better contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    z-index: 9999; /* Match modal z-index */
    overflow-y: auto; /* Allow scrolling if needed */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.modal-content {
    position: relative;
    background-color: transparent;
    max-width: 85%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.3s ease;
    margin: auto;
    align-items: center;
    justify-content: center;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-image {
    max-width: 90%;
    max-height: 70vh; /* Reduced to ensure it fits on screen */
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin: 0 auto; /* Center the image */
    display: block;
    transition: opacity 0.3s ease;
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    width: 100%;
    opacity: 0.8;
}

/* Mobile swipe indicator */
.mobile-modal .modal-backdrop::after {
    content: "↓ Swipe down to close";
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
    position: fixed;
    bottom: 15px;
    left: 0;
    animation: fadeInOut 2s infinite;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 0;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.95);
}

.modal.closing .modal-content {
    animation: zoomOut 0.2s ease forwards;
}

@keyframes zoomOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.8); opacity: 0; }
}

/* Modal Responsive Styles */
@media (max-width: 768px) {
    .modal-backdrop {
        padding: 0.5rem;
        align-items: center;
        padding-top: 70px; /* Increased padding for mobile navbar */
        padding-bottom: 20px; /* Add some bottom padding */
    }

    .modal-content {
        max-width: 90%;
        max-height: calc(100vh - 130px); /* Account for navbar and padding */
        margin: 0 auto;
    }
    
    .modal-image {
        max-height: calc(100vh - 150px); /* Reduced height to ensure it fits */
        width: auto; /* Let width adjust proportionally */
        max-width: 100%; /* Ensure it doesn't overflow horizontally */
    }
    
    .modal-close {
        position: fixed; /* Fixed position to ensure it's always visible */
        top: 70px; /* Position below navbar */
        right: 10px;
        background: rgba(0, 0, 0, 0.7); /* Darker background for better visibility */
        width: 44px;
        height: 44px;
        z-index: 10000; /* Very high z-index to be above everything */
        font-size: 28px;
        color: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
}

/* Special class for mobile modal */
.mobile-modal .modal-backdrop {
    padding-top: 70px; /* Increased to avoid navbar overlap */
    align-items: flex-start; /* Align to top to avoid image getting too big */
}

.mobile-modal .modal-content {
    margin-top: 20px;
    max-height: calc(100vh - 150px);
}

.mobile-modal .modal-image {
    max-width: 90%;
    max-height: 60vh; /* Significantly reduced to ensure it fits properly */
}

.mobile-modal .modal-close {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000; /* Ensure it's on top */
    background: rgba(0, 0, 0, 0.7);
}

/* Prevent body scrolling when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 1; /* Ensure full visibility */
    visibility: visible; /* Force visibility */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
    display: block; /* Remove inline spacing */
    border-radius: var(--border-radius);
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: white;
}

.gallery-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 80, 22, 0.8);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Gallery loading and error states */
.gallery-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.gallery-item.loading img {
    opacity: 0.7; /* Increased from 0.3 to make images more visible during loading */
}

.gallery-item.loaded img {
    opacity: 1; /* Ensure full opacity when loaded */
}

.gallery-item.error {
    opacity: 0.6;
    filter: grayscale(100%);
}

.gallery-item.error img {
    border: 2px dashed #ccc;
}

.gallery-item.loaded {
    animation: fadeInScale 0.5s ease forwards;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--cream);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--primary-teal);
    color: var(--text-light);
    transform: translateX(3px);
}

.contact-icon {
    font-size: 1.3rem;
}

.contact-method strong {
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
}

.social-media h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.social-link {
    display: block;
    padding: 0.6rem;
    background: var(--cream);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    text-align: center;
    font-size: 0.9rem;
}

.social-link.facebook:hover {
    background: var(--facebook-blue);
    color: var(--text-light);
}

.social-link.instagram:hover {
    background: var(--instagram-pink);
    color: var(--text-light);
}

.social-link.twitter:hover {
    background: var(--twitter-blue);
    color: var(--text-light);
}

.social-link.yelp:hover {
    background: var(--yelp-red);
    color: var(--text-light);
}

/* Footer menu link reliability fix */
.footer-menu-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    padding: 2px 0;
    transition: var(--transition);
}

.footer-menu-link:hover {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background: var(--primary-teal);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--accent-gold);
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--cream);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-teal);
    padding-top: 1rem;
    text-align: center;
    color: var(--cream);
}

.footer-bottom a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* Tablet Responsive Design */
@media (max-width: 1200px) and (min-width: 769px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(90deg, var(--primary-teal) 0%, var(--secondary-teal) 100%);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
        justify-content: flex-start;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Tablet navbar spacing - text only navigation */
    .nav-link {
        padding: 1.2rem 1.5rem;
        margin: 0.2rem 0;
        display: block;
        text-align: center;
        font-size: 1.1rem;
        min-height: 60px;
        flex-shrink: 0;
    }

    .menu-categories {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .menu-category {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        white-space: nowrap;
        border-radius: var(--border-radius);
        flex: 0 1 auto;
        min-width: 0;
        text-align: center;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-left {
        gap: 1.5rem;
    }

    .location-map {
        min-height: 300px;
    }

    .hours-comparison {
        gap: 1.5rem;
    }

    .current-hours,
    .future-hours,
    .special-hours {
        margin-bottom: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(90deg, var(--primary-teal) 0%, var(--secondary-teal) 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        padding: 1rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
        justify-content: flex-start;
        align-items: center; /* Center items horizontally */
        gap: 0;
        /* Improve mobile performance */
        will-change: transform;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        /* Enhanced mobile responsiveness */
        min-width: 48px;
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .nav-toggle:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.2) !important;
    }

    /* Mobile navbar - text only navigation */
    .nav-link {
        padding: 1.2rem 1.5rem;
        margin: 0.2rem 0;
        display: block;
        text-align: center;
        font-size: 1.1rem;
        min-height: 60px;
        flex-shrink: 0;
        position: relative;
        transition: all 0.2s ease;
        touch-action: manipulation; /* Improve touch responsiveness */
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
        cursor: pointer;
        border: 1px solid transparent;
        user-select: none;
        -webkit-user-select: none;
    }

    .nav-link:active,
    .nav-link:focus {
        transform: none;
        background: none !important;
        border-color: transparent !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px; /* Balanced padding for mobile */
    }
    
    .hero-text {
        margin: 0 auto;
        max-width: 100%;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.4rem;
    }

    .quick-info {
        flex-direction: column;
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hours-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .map-container,
    .map-container iframe {
        min-height: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hours-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        padding: 0 1rem;
    }
    
    .menu-category {
        width: 100%;
        max-width: 300px;
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        border-radius: 25px;
        line-height: 1.2;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Mobile Calendar Fixes */
    .event-calendar {
        padding: 1rem;
        overflow-x: hidden;
    }

    .calendar-grid {
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .calendar-day {
        min-width: 70px;
        min-height: 80px;
        padding: 0.5rem;
    }

    .day-name {
        font-size: 0.7rem;
    }

    .day-number {
        font-size: 1rem;
    }

    .calendar-event {
        font-size: 0.7rem;
        padding: 0.2rem 0.3rem;
    }

    #calendar-week {
        font-size: 1.2rem;
    }

    .calendar-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .hours-day {
        flex-direction: column;
        gap: 0.5rem;
    }

    .time {
        text-align: left;
    }

    /* Extra Small Mobile Calendar Fixes */
    .event-calendar {
        padding: 0.8rem;
    }

    .calendar-header {
        margin-bottom: 1rem;
    }

    .calendar-grid {
        gap: 0.3rem;
    }

    .calendar-day {
        min-width: 60px;
        min-height: 70px;
        padding: 0.3rem;
    }

    .day-name {
        font-size: 0.6rem;
        margin-bottom: 0.3rem;
    }

    .day-number {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .calendar-event {
        font-size: 0.6rem;
        padding: 0.1rem 0.2rem;
    }

    #calendar-week {
        font-size: 1rem;
    }

    .calendar-nav {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--cream);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.contact-method:focus,
.social-link:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Remove focus outline for navigation buttons */
.nav-menu .btn:focus,
.nav-menu .btn:active,
.nav-menu .btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
    border-color: transparent !important;
}

/* Remove default focus outline for navigation elements */
.nav-toggle:focus,
.nav-link:focus {
    outline: none;
}

/* Remove any background highlight on nav links */
.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible,
.nav-link:focus-within {
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    transform: none !important;
}

/* Icon Styling - Following the Clean Icons Guide sizing recommendations */

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.8rem;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.event-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.8rem;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.social-icon {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

/* Menu category icons */
.menu-category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.8rem;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Info icons in hero section */
.info-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}

/* Detail icons in location section */
.detail-icon {
    width: 24px;
    height: 24px;
    margin-top: 0.2rem;
    object-fit: contain;
}

/* Contact icons */
.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


/* Social link styling with icons */
.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Menu Page Styles */
.menu-hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-teal) 100%);
    color: var(--text-light);
    padding: 120px 0 60px;
    text-align: center;
}

.menu-hero-title {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.menu-hero-subtitle {
    font-size: 1.2rem;
    color: var(--cream);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.full-menu {
    padding: var(--section-padding);
    background: white;
}

.full-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.menu-category-header {
    grid-column: 1 / -1;
    text-align: center;
    margin: 2rem 0 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--accent-gold);
}

.menu-category-header h2 {
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin: 0;
    text-transform: capitalize;
}

.full-menu-item {
    background: var(--cream);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition);
}

.full-menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.full-menu-item .menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.4rem;
}

.full-menu-item .menu-item-name {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin: 0;
}

.full-menu-item .menu-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.full-menu-item .menu-item-description {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

.loading-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-dark);
}

.loading-container .loading {
    margin: 0 auto 1rem;
}

.no-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-dark);
    font-style: italic;
}

.menu-cta-section {
    background: var(--cream);
    padding: var(--section-padding);
    text-align: center;
}

.menu-cta-content h2 {
    color: var(--primary-teal);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.menu-cta-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.menu-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Active nav link styling - Removed highlight box per user request */
.nav-link.active {
    color: var(--text-light);
}

.nav-link.active::after {
    width: 0;
}

/* Responsive adjustments for menu page */
@media (max-width: 768px) {
    .menu-hero-title {
        font-size: 2.5rem;
    }
    
    .menu-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .full-menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .full-menu-item {
        padding: 1rem;
    }
    
    .full-menu-item .menu-item-header {
        margin-bottom: 0.3rem;
    }
    
    .full-menu-item .menu-item-name {
        font-size: 1.1rem;
    }
    
    .full-menu-item .menu-item-price {
        font-size: 1rem;
    }
    
    .full-menu-item .menu-item-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .menu-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .menu-hero {
        padding: 100px 0 40px;
    }
    
    .menu-hero-title {
        font-size: 2rem;
    }
    
    .full-menu-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .full-menu-item {
        padding: 0.8rem;
    }
    
    .full-menu-item .menu-item-name {
        font-size: 1rem;
    }
    
    .full-menu-item .menu-item-price {
        font-size: 0.95rem;
    }
    
    .full-menu-item .menu-item-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .menu-category-header {
        margin: 1.5rem 0 0.8rem;
    }
    
    .menu-category-header h2 {
        font-size: 1.5rem;
    }
}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: min(90vw, 800px);
    max-height: min(90vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalZoomIn 0.3s ease;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.95);
}

/* Modal animations */
@keyframes modalZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes modalZoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

.image-modal.closing .modal-content {
    animation: modalZoomOut 0.3s ease;
}

/* Desktop responsive modal - larger screens get reasonable max sizes */
@media (min-width: 1200px) {
    .modal-content {
        max-width: min(80vw, 900px);
        max-height: min(80vh, 700px);
    }
}

/* Tablet responsive modal */
@media (max-width: 1199px) and (min-width: 769px) {
    .modal-content {
        max-width: min(85vw, 700px);
        max-height: min(85vh, 550px);
    }
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .modal-backdrop {
        padding: 15px;
    }
    
    .modal-content {
        max-width: min(95vw, 500px);
        max-height: min(95vh, 400px);
    }
    
    .modal-close {
        top: -40px;
        right: -5px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .modal-image {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .modal-backdrop {
        padding: 10px;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-close {
        top: -35px;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* Handle very wide images */
@media (orientation: landscape) and (max-height: 600px) {
    .modal-content {
        max-height: min(85vh, 450px);
    }
    
    .modal-close {
        top: -35px;
    }
}

/* Handle very tall images */
@media (orientation: portrait) and (max-width: 600px) {
    .modal-content {
        max-width: min(90vw, 400px);
    }
}

/* Keyboard navigation support */
.image-modal:focus-within .modal-close {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}


/* Print Styles */
@media print {
    .header,
    .hero,
    .hours-banner,
    .events,
    .gallery,
    .footer,
    .image-modal,
    .hero-stickers {
        display: none;
    }
    
    .contact,
    .location {
        page-break-inside: avoid;
    }
}

.powered-by {
    margin-top: 10px;
    font-size: 0.9em;
    color: #a0a0a0;
}

.powered-by a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.powered-by a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Gallery Carousel */
.gallery-carousel-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-carousel-header h3 {
    margin: 0;
    color: var(--primary-green);
    font-family: 'Irish Grover', cursive;
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gallery-control-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.gallery-control-btn:hover {
    background: var(--secondary-green);
    transform: scale(1.1);
}

.gallery-counter {
    font-size: 0.9rem;
    color: var(--text-light);
}

.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 70vh;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.gallery-slide {
    min-width: 100%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.gallery-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-slide-content:hover .gallery-slide-overlay {
    opacity: 1;
}

.gallery-slide-info h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.gallery-slide-info p {
    margin: 0 0 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.gallery-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.gallery-expand-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.gallery-expand-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.gallery-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
}

.gallery-indicator.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Fix for transparent images showing black background during load */
img {
    background-color: transparent !important;
    background-image: none !important;
}

/* Specific fixes for PNG images with transparency */
img[src$=".png"],
img[src*=".png?"],
.logo-img,
.rooster-mascot-img,
.event-card-icon,
.feature-icon,
.event-icon,
.social-icon,
.menu-category-icon,
.info-icon,
.detail-icon,
.contact-icon {
    background-color: transparent !important;
    background-image: none !important;
    mix-blend-mode: normal;
}

/* Ensure icons load with proper transparency */
.nav-logo img,
.footer-logo-img,
.gallery-item img {
    background-color: transparent !important;
    background-image: none !important;
}
