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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1.5rem 0;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
}

.nav-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.nav-social a {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-social a:hover {
    color: #e74c3c;
}

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

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 2.2rem; /* Matches the current h1 font-size of 1.8rem with some padding */
    width: auto;
    max-width: 200px;
}

.nav-logo h1 {
    color: #e74c3c;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: #e74c3c;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 8px;
    top: 100%;
    left: 0;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile dropdown functionality */
.nav-dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #e74c3c;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-secondary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('../images/queenies_hero.jpg') center center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    display: block;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Menu Categories */
.menu-categories {
    padding: 80px 0;
    background: white;
}

.menu-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.category-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

/* Deals Section */
.deals-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.deals-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.deal-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
}

.deal-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.deal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.deal-card p {
    color: #666;
    margin-bottom: 1rem;
}

.deal-price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: auto 1fr auto auto;
        gap: 0.5rem;
        padding: 0 15px;
    }
    
    .nav-social {
        gap: 0.5rem;
    }
    
    .nav-social a {
        font-size: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 1rem;
        z-index: 1000;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    /* When dropdown is active, allow menu to expand beyond 95vh if needed */
    .nav-menu.active .nav-dropdown.active {
        flex-shrink: 0;
        /* Ensure dropdown doesn't get cut off by parent overflow */
        overflow: visible;
    }
    
    /* Ensure dropdown content is fully visible and not cut off in portrait mode */
    .nav-menu.active .nav-dropdown.active .dropdown-content {
        /* Remove any constraints that might cut off items */
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        height: auto !important;
        /* Ensure all items render fully */
        min-height: auto !important;
        display: block !important;
        /* Prevent clipping by parent */
        clip: none !important;
        clip-path: none !important;
    }
    
    /* Force all dropdown links to be visible in portrait mode */
    .nav-menu.active .nav-dropdown.active .dropdown-content a {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        min-height: 44px;
        padding: 0.75rem 1rem !important;
        /* Ensure links aren't clipped */
        clip: none !important;
        clip-path: none !important;
    }
    
    /* Allow menu to expand when dropdown is open in portrait mode */
    /* Use :has() for modern browsers, but also ensure active dropdowns are visible */
    .nav-menu.active:has(.nav-dropdown.active) {
        max-height: calc(95vh + 300px);
        overflow-y: auto;
    }
    
    /* Fallback for browsers without :has() support - target menu when it contains active dropdown */
    .nav-menu.active .nav-dropdown.active ~ *,
    .nav-menu.active .nav-dropdown.active {
        /* This ensures the menu container allows expansion */
    }
    
    .nav-menu.active .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-menu.active .nav-dropdown {
        width: 100%;
    }
    
    .nav-menu.active .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0;
        border-radius: 0;
        background: #f8f9fa;
        margin-left: 1rem;
        /* Safari mobile fixes */
        -webkit-overflow-scrolling: touch;
        /* Ensure all items are visible - no height restrictions */
        max-height: none !important;
        overflow-y: visible !important;
        overflow: visible !important;
    }
    
    .nav-menu.active .dropdown-content a {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        /* Ensure text is visible */
        color: #333 !important;
        font-weight: 500;
    }
    
    /* Safari-specific mobile fixes */
    @supports (-webkit-touch-callout: none) {
        .nav-menu.active .dropdown-content {
            max-height: none;
            overflow-y: visible;
        }
        
        .nav-menu.active .dropdown-content a {
            opacity: 1 !important;
            visibility: visible !important;
        }
    }
    
    /* Android Chrome mobile fixes */
    .nav-menu.active .nav-dropdown.active .dropdown-content {
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        height: auto !important;
    }
    
    /* Ensure all menu items are visible on Android */
    .nav-menu.active .nav-dropdown.active .dropdown-content a {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        min-height: 44px;
    }
    
    /* Additional mobile dropdown fixes */
    .nav-menu.active .nav-dropdown {
        width: 100%;
        position: relative;
    }
    
    .nav-menu.active .nav-dropdown .dropdown-content {
        position: static;
        display: block;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        border: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu.active .nav-dropdown.active .dropdown-content {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* Ensure all dropdown items are visible */
    .nav-menu.active .dropdown-content a {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        min-height: 44px;
        line-height: 1.2;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo h1 {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .menu-categories h2 {
        font-size: 1.8rem;
    }
    
    .deals-section h2 {
        font-size: 1.8rem;
    }
    
    .deal-card h3 {
        font-size: 1.3rem;
    }
    
    .deal-price {
        font-size: 1.6rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .social-links a {
        font-size: 1.3rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .nav-logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-image {
        height: 1.6rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .menu-categories h2 {
        font-size: 1.6rem;
    }
    
    .deals-section h2 {
        font-size: 1.6rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .dropdown-content a,
    .btn,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .carousel-nav {
        min-width: 50px;
        min-height: 50px;
    }
    
    .carousel-dot {
        min-width: 16px;
        min-height: 16px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .nav-menu.active {
        max-height: 95vh !important;
        overflow-y: auto;
    }
    
    /* Ensure dropdown content is fully visible in landscape */
    .nav-menu.active .nav-dropdown.active .dropdown-content {
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        height: auto !important;
    }
    
    .nav-menu.active .dropdown-content {
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .carousel-track {
        will-change: transform;
    }
    
    /* Reduce animations on mobile for better performance */
    .nav-menu.active .nav-link {
        transition: background-color 0.2s ease;
    }
    
    /* Enhanced mobile menu accessibility */
    .nav-menu.active {
        /* Add backdrop blur for better focus */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-menu.active .nav-link {
        /* Add focus indicators */
        position: relative;
    }
    
    .nav-menu.active .nav-link:focus {
        outline: 2px solid #e74c3c;
        outline-offset: 2px;
    }
    
    /* Add scroll indicator */
    .nav-menu.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }
    
    /* Enhanced mobile carousel */
    .carousel-container {
        /* Add momentum scrolling */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .carousel-track {
        /* Improve touch responsiveness */
        touch-action: pan-x;
    }
    
    /* Add visual indicators for swipe */
    .carousel-container::before,
    .carousel-container::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        z-index: 5;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .carousel-container::before {
        left: 10px;
    }
    
    .carousel-container::after {
        right: 10px;
    }
    
    .carousel-container:hover::before,
    .carousel-container:hover::after {
        opacity: 1;
    }
    
    /* Mobile accessibility improvements */
    /* Increase contrast for better readability */
    .nav-menu.active .nav-link {
        color: #333;
        font-weight: 500;
    }
    
    /* Add focus indicators */
    .nav-link:focus,
    .dropdown-content a:focus {
        outline: 2px solid #e74c3c;
        outline-offset: 2px;
    }
    
    /* Improve text readability */
    .hero-content h1,
    .hero-content p {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* Enhanced Touch Feedback */
@media (hover: none) and (pointer: coarse) {
    .nav-link:active,
    .dropdown-content a:active,
    .btn:active {
        background-color: rgba(231, 76, 60, 0.1);
        transform: scale(0.98);
    }
    
    .hamburger:active span {
        background-color: #e74c3c;
    }
    
    /* Add touch ripple effect */
    .btn {
        position: relative;
        overflow: hidden;
    }
    
    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s;
    }
    
    .btn:active::after {
        width: 200px;
        height: 200px;
    }
    
    /* Enhanced carousel touch feedback */
    .carousel-container {
        position: relative;
    }
    
    .carousel-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, 
            rgba(255,255,255,0.1) 0%, 
            transparent 20%, 
            transparent 80%, 
            rgba(255,255,255,0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
        z-index: 1;
    }
    
    .carousel-container:active::before {
        opacity: 1;
    }
}

/* Mobile Loading States */
@media (max-width: 768px) {
    /* Add loading skeleton for images */
    .carousel-image {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
    
    /* Improve button loading states */
    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
    
    /* Add focus ring for better accessibility */
    .nav-link:focus-visible,
    .dropdown-content a:focus-visible,
    .btn:focus-visible {
        outline: 2px solid #e74c3c;
        outline-offset: 2px;
    }
    
    /* Improve text contrast on mobile */
    .hero-content {
        background: rgba(0, 0, 0, 0.3);
        padding: 1rem;
        border-radius: 8px;
        backdrop-filter: blur(5px);
    }
    
    /* Add haptic feedback simulation */
    .btn:active,
    .nav-link:active {
        animation: haptic 0.1s ease-out;
    }
    
    @keyframes haptic {
        0% { transform: scale(1); }
        50% { transform: scale(0.98); }
        100% { transform: scale(1); }
    }
}

/* Mobile-specific animations */
@media (max-width: 768px) {
    /* Smooth menu transitions */
    .nav-menu {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* Improve dropdown animations */
    .dropdown-content {
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-content {
        max-height: 200px;
        opacity: 1;
    }
    
    /* Add pull-to-refresh visual feedback */
    .hero {
        position: relative;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top: 3px solid #e74c3c;
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .hero.pulling::before {
        opacity: 1;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: translateX(-50%) rotate(0deg); }
        100% { transform: translateX(-50%) rotate(360deg); }
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    text-align: center;
}

.carousel-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.carousel-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #e74c3c;
}

@media (max-width: 768px) {
    .carousel-container {
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }
    
    .carousel-image {
        height: 300px;
    }
    
    .carousel-overlay {
        padding: 1.5rem;
    }
    
    .carousel-overlay h3 {
        font-size: 1.4rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .carousel-image {
        height: 250px;
    }
    
    .carousel-overlay {
        padding: 1rem;
    }
    
    .carousel-overlay h3 {
        font-size: 1.2rem;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .carousel-image {
        height: 200px;
    }
    
    .carousel-overlay {
        padding: 0.75rem;
    }
    
    .carousel-overlay h3 {
        font-size: 1.1rem;
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Touch-friendly carousel controls */
@media (hover: none) and (pointer: coarse) {
    .carousel-nav {
        min-width: 44px;
        min-height: 44px;
    }
    
    .carousel-dot {
        min-width: 16px;
        min-height: 16px;
    }
} 