/* ===============================
   Responsive Styles
   Mobile-First Approach
   =============================== */

/* Base styles are mobile-first (320px+) */

/* Extra small devices (phones, 320px-479px) */
@media (max-width: 479px) {

    /* Typography for very small screens */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero for small phones */
    .hero-title {
        font-size: 1.75rem !important;
        margin-bottom: var(--spacing-sm);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-cta .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero-info-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.85rem;
    }

    .hero-info-item .icon {
        font-size: 1.5rem;
    }

    .hero-info-item strong {
        font-size: 1rem;
    }

    .hero-info-item p {
        font-size: 0.8rem;
    }

    /* Section padding on very small screens */
    .section-padding {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Menu cards */
    .menu-card {
        margin-bottom: var(--spacing-md);
    }

    .menu-card-header h3 {
        font-size: 1.125rem;
    }

    .menu-card-content p {
        font-size: 0.875rem;
    }

    /* Gallery items */
    .gallery-item {
        height: 200px;
    }

    /* Testimonial card */
    .testimonial-text {
        font-size: 0.9rem;
    }

    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .newsletter-form .btn-dark {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
    }

    .newsletter h2 {
        font-size: 1.5rem;
    }

    .newsletter p {
        font-size: 0.9rem;
    }

    /* Location map */
    .location-map iframe {
        height: 250px;
    }

    /* Events Page - Extra Small */
    .event-type-image {
        height: 180px;
    }

    .event-type-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .event-type-content ul li,
    .package-content li {
        padding: 0.4rem 0 0.4rem 1.25rem;
    }

    .event-types-grid {
        gap: var(--spacing-md);
    }

    .occasions-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .occasion-item {
        padding: var(--spacing-sm);
    }

    .menu-packages {
        gap: var(--spacing-md);
    }

    .package-card {
        padding: var(--spacing-md);
    }

    .package-badge {
        right: 12px;
        top: -12px;
        font-size: 0.8rem;
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .inquiry-info,
    .inquiry-form-container {
        padding: 0;
    }

    .event-form .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* About Page - Extra Small Screens */
    .page-header {
        padding: var(--spacing-lg) 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .about-content-detailed {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-text-full h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }

    .about-text-full p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .mission-item {
        padding: var(--spacing-md);
        background-color: rgba(212, 175, 55, 0.05);
        border-radius: 8px;
    }

    .mission-icon {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .mission-item h3 {
        font-size: 1.1rem;
    }

    .mission-item p {
        font-size: 0.9rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .team-member {
        border-radius: 8px;
    }

    .team-image {
        height: 200px;
    }

    .team-info {
        padding: var(--spacing-md);
    }

    .team-info h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-xs);
    }

    .team-role {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-xs);
    }

    .team-bio {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .award-item {
        padding: var(--spacing-md);
        background-color: rgba(212, 175, 55, 0.05);
        border-radius: 8px;
    }

    .award-icon {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .award-item h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .award-item p {
        font-size: 0.85rem;
    }

    /* Hours table */
    .hours-table {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }
}

/* Small devices (tablets, 480px-768px) */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .hero-cta .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .hero-info {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }

    .hero-info-item {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }

    /* Events Page - Standard Mobile */
    .event-type-image {
        height: 220px;
    }

    .event-type-content {
        padding: var(--spacing-md);
    }

    .event-types-grid,
    .menu-packages {
        gap: var(--spacing-md);
    }

    .occasions-grid {
        gap: var(--spacing-md);
    }

    .occasion-item {
        padding: var(--spacing-md);
    }

    .package-card {
        padding: var(--spacing-lg);
    }

    .package-badge {
        top: -12px;
        right: 16px;
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-accent);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-speed);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link::after {
        bottom: -1px;
        height: 2px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Section Padding */
    .section-padding {
        padding: var(--spacing-md) 0;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-text h3 {
        margin-bottom: var(--spacing-sm);
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }

    .highlight-item {
        text-align: center;
        padding: var(--spacing-sm) 0;
    }

    /* Menu Grid */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .menu-card {
        border-radius: 8px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .gallery-item {
        height: 200px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .testimonial-card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-sm);
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-sm);
    }

    .stars {
        margin-bottom: var(--spacing-sm);
        font-size: 1.25rem;
    }

    /* Location */
    .location-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .location-map iframe {
        height: 300px;
        border-radius: 8px;
    }

    .location-info {
        order: 2;
    }

    .location-map {
        order: 1;
    }

    .hours-table {
        width: 100%;
        font-size: 0.9rem;
        margin-top: var(--spacing-sm);
    }

    .hours-table td {
        padding: 0.5rem 0;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 0.75rem;
    }

    .newsletter-form input,
    .newsletter-form .btn-dark {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .newsletter h2 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-sm);
    }

    .newsletter p {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }

    /* About Page - Standard Mobile */
    .about-content-detailed {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-text-full h2 {
        font-size: 1.75rem;
    }

    .about-text-full p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .mission-item {
        padding: var(--spacing-md);
    }

    .mission-icon {
        font-size: 3rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .team-member {
        display: flex;
        flex-direction: column;
    }

    .team-image {
        height: 250px;
    }

    .team-info {
        padding: var(--spacing-md);
        flex-grow: 1;
    }

    .team-info h3 {
        font-size: 1.25rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .team-bio {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .award-item {
        padding: var(--spacing-md);
    }

    .award-icon {
        font-size: 2.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-section {
        padding-bottom: var(--spacing-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 0.9rem;
    }

    /* Form Row */
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Floating Button */
    .floating-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    /* Page Header */
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Category Filter Buttons */
    .filter-buttons {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }

    .filter-btn {
        padding: 0.625rem 1.125rem;
        font-size: 0.9rem;
    }

    /* Event Cards */
    .event-card {
        margin-bottom: var(--spacing-md);
    }

    /* Contact Form */
    .contact-form {
        max-width: 100%;
    }

    .form-group {
        margin-bottom: var(--spacing-md);
    }

    /* Container Mobile Padding */
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    /* Text utilities */
    .text-center {
        text-align: center;
    }

    .mt-4 {
        margin-top: var(--spacing-md);
    }
}

/* Medium devices (tablets landscape, 1024px and up) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (desktops, 1440px and up) */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .floating-btn,
    .hero-cta,
    .btn,
    .newsletter,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .page-header {
        page-break-after: avoid;
    }

    .menu-item,
    .team-member {
        page-break-inside: avoid;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #ffd700;
        --color-secondary: #000000;
        --color-text: #000000;
        --color-background: #ffffff;
    }

    .btn {
        border-width: 3px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* :root {
        --color-background: #1a1a1a;
       
        --color-text: #e0e0e0;
        --color-text-light: #b0b0b0;
        --color-accent: #ffffff;
    } */

    .menu-card,
    .testimonial-card {
        background-color: #2a2a2a;
    }
}

/* Specific Component Responsive Styles */

/* Menu Filter */
@media (max-width: 768px) {
    .menu-filter {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        text-align: left;
    }
}

/* Reservation Form */
@media (max-width: 768px) {
    .reservation-wrapper {
        grid-template-columns: 1fr;
    }

    .reservation-info {
        order: 2;
    }

    .reservation-form-container {
        order: 1;
    }
}

/* Contact Section */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-section {
        order: 2;
    }

    .contact-form-section {
        order: 1;
    }
}

/* Gallery Masonry */
@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1440px) {
    .gallery-masonry {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Team Grid */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Event Types Grid */
@media (max-width: 768px) {
    .event-types-grid {
        grid-template-columns: 1fr;
    }

    .occasions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-packages {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* Events Page - Tablets */
    .event-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .event-type-image {
        height: 260px;
    }

    .menu-packages {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .package-card {
        padding: var(--spacing-lg);
    }

    .package-badge {
        top: -14px;
        right: 18px;
    }

    .occasions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
}

/* Stats Grid */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mission Grid */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}