/* Base styles and variables */
:root {
    --primary-color: #9c27b0;
    --secondary-color: #673ab7;
    --accent-color: #ff4081;
    --dark-color: #121212;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #fff;
    --text-muted: #888;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --border-radius: 4px;
}

/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* prevent horizontal scroll */
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

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

section {
    padding: var(--spacing-lg) 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

p {
    margin-bottom: var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

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

.btn-alt:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Header */
header {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
    margin-bottom: 5px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--accent-color);
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: var(--spacing-md);
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--border-radius);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-light);
    z-index: 999;
}

/* Hide nav-close by default - only visible in mobile view */
.nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
    position: relative;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-placeholder.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Improved Slideshow styles with better fade effect */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height based on viewport instead of aspect ratio */
    overflow: hidden;
    background-color: black;
}

.slideshow-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Center-position the image by default */
    object-position: center center;
}

/* Fix slideshow black spaces */
.hero {
    padding: 0;
    margin: 0;
    line-height: 0;
    font-size: 0; /* Remove any potential inline-block spacing */
    background-image: none; /* Remove gradient background that might be causing issues */
    min-height: 0; /* Remove min-height constraint */
    display: block; /* Change from flex to block */
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: black;
    margin: 0;
    padding: 0;
    line-height: 0;
}

/* Fix container to remove any potential spacing */
.hero-content-container {
    line-height: normal; /* Reset line height for text content */
    font-size: 16px; /* Reset font size for text content */
}

.hero-content {
    line-height: 1.5; /* Proper line height for readable text */
}

/* Remove any extra space in the hero section */
.hero {
    padding: 0;
    margin: 0;
    line-height: 0;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    background-color: #ddd;
    height: 400px;
    border-radius: var(--border-radius);
    background-image: url('../images/about-placeholder.jpg');
    background-size: cover;
    background-position: center;
}

/* Features Section */
.features {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
}

.features h2 {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature {
    text-align: center;
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.cta h2 {
    color: var(--text-light);
}

.cta h2:after {
    background: var(--text-light);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* Location Section */
.location {
    background-color: var(--light-color);
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map, .address {
    width: 100%;
}

.map-placeholder {
    background-color: #ddd;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
}

.address {
    flex: 1;
    padding: var(--spacing-md);
    background-color: var(--dark-color);
    color: var(--text-light);
    border-radius: var(--border-radius);
}

.address h3 {
    color: var(--accent-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.address h3:first-child {
    margin-top: 0;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.footer-links h3,
.footer-social h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.page-banner h2 {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.page-banner h2:after {
    display: none;
}

/* Specials Page */
.weekly-specials {
    background-color: var(--light-color);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* was 300px, caused overflow */
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.special-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.special-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.special-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.special-content {
    padding: var(--spacing-md);
}

.special-time {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

/* New Special Styles */
.special-note {
    font-style: italic;
    color: var(--text-muted);
    margin-top: -10px;
    margin-bottom: 15px;
}

.special-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.special-options {
    text-align: left;
    margin-bottom: 15px;
    padding-left: 20px;
}

.special-options li {
    margin-bottom: 5px;
    position: relative;
}

.special-options li:before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--accent-color);
}

.full-menu-btn {
    text-align: center;
    margin-top: 40px;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.event {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: var(--spacing-md);
    font-weight: 700;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
}

.event-date .month {
    font-size: 1.2rem;
}

.event-details {
    flex: 2;
    padding: var(--spacing-md);
}

.event-time {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.event-image {
    flex: 1;
    background-color: #ddd;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

/* VIP Packages */
.vip-packages {
    background-color: var(--dark-color);
    color: var(--text-light);
}

.vip-packages h2 {
    color: var(--text-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.package-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.package-card:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.1);
}

.package-card h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.package-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.package-card ul {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.package-card ul li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 25px;
}

.package-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.package-card.featured {
    background-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.package-card.featured:hover {
    transform: scale(1.1);
}

.featured-tag {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Gallery Page */
.gallery-filter {
    margin-bottom: var(--spacing-md);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--light-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.gallery-image {
    height: 250px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
}

.load-more {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Instagram Feed */
.instagram-feed {
    background-color: var(--light-color);
    text-align: center;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: var(--spacing-md);
}

.instagram-item {
    height: 150px;
    background-color: #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.instagram-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
}

.insta-btn {
    background-color: #e1306c;
}

.insta-btn:hover {
    background-color: #c13584;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.fade-in.appear, 
.fade-in-left.appear, 
.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Delay variations */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Ensure animations only play when user prefers them */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-left, .fade-in-right {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Mobile optimization improvements */

/* Base responsive settings */
html {
    font-size: 16px;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* Improved container sizing */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Header and navigation responsiveness */
header {
    padding: 15px 0;
}

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

.logo .tagline {
    font-size: 0.9rem;
}

/* Mobile menu improvements */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-light);
    z-index: 999;
}

/* Hide nav-close by default - only visible in mobile view */
.nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Only show the close button in mobile view */
    .nav-close {
        display: block;
    }
    
    /* Mobile navigation styles */
    nav {
        position: fixed;
        top: 0;
        right: 0; /* keep anchored to the edge */
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark-color);
        z-index: 1100;
        transition: transform 0.3s ease; /* use transform for sliding */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        padding-top: 60px; /* Space for close button */
        transform: translateX(100%); /* hidden off-canvas without affecting layout width */
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        margin-bottom: 15px;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Prevent background scrolling when menu is open */
    body.no-scroll {
        overflow: hidden;
    }
    
    /* Force single-column specials on mobile to avoid overflow */
    .specials-grid {
        grid-template-columns: 1fr;
    }
}

/* Improved slideshow for mobile - height priority */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height based on viewport instead of aspect ratio */
    overflow: hidden;
    background-color: black;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    width: 90%;
    max-width: 600px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 2.2rem;
}

.hero-content p {
    font-size: 1.2rem;
}

/* Grid layout improvements */
.features-grid, 
.specials-grid, 
.instagram-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Location section responsiveness */
.location-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map, .address {
    width: 100%;
}

/* Footer responsiveness */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo, .footer-links, .footer-social {
    flex: 1 1 200px;
}

/* Comprehensive media queries */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .slideshow-container {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    /* Switch to mobile navigation */
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark-color);
        z-index: 1100; /* ensure above header/content */
        transition: transform 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        padding: 80px 20px 20px;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Adjust slideshow for mobile */
    .slideshow-container {
        height: 40vh;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Adjust section spacing */
    section {
        padding: 40px 0;
    }
    
    /* Make images and cards more mobile-friendly */
    .gallery-item, .special-card, .feature {
        width: 100%;
    }
    
    /* Improve about section layout */
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .slideshow-container {
        height: 50vh; /* Taller on small phones to avoid extreme cropping */
        margin: 0;
        padding: 0;
    }
    
    /* More aggressive center-crop for very small screens */
    .slide img {
        object-position: center 30%;
    }
    
    .specials-grid {
        grid-template-columns: 1fr; /* ensure one column on very small screens */
    }
}

/* Special handling for landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .slideshow-container {
        height: 60vh; /* Use more height in landscape */
    }
    
    .slide img {
        object-position: center center; /* Back to default centering */
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .slide, .fade-in, .fade-in-left, .fade-in-right {
        transition: none;
    }
}
