/* ==========================================================================
   GORGONA TAVERN - CONSOLIDATED CSS
   Optimized single CSS file with only used styles
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES & BASE STYLES
   ========================================================================== */

:root {
    /* Brand Color Palette - Gorgona Tavern */
    --primary: 206 77% 34%; /* #146bae - Primary blue (brand color) */
    --secondary: 57 7% 81%; /* #cdcdbb - Secondary beige/sand color */
    --accent-1: 198 75% 69%; /* #7dc2e6 - Light blue accent */
    --accent-2: 27 34% 46%; /* #8c745c - Brown/tan accent */
    --accent-3: 206 54% 54%; /* #4a8cc4 - Medium blue accent */
    
    /* Semantic color mappings */
    --gorgona-blue: 206 77% 34%; /* #146bae - Main brand blue (PRIMARY) */
    --gorgona-beige: 57 7% 81%; /* #cdcdbb - Elegant beige (SECONDARY) */
    --gorgona-light-blue: 198 75% 69%; /* #7dc2e6 */
    --gorgona-brown: 27 34% 46%; /* #8c745c */
    --gorgona-medium-blue: 206 54% 54%; /* #4a8cc4 */
    --gorgona-gold: 45 100% 51%; /* Gold accent for stars */
    
    /* Neutral colors */
    --white: 0 0% 100%;
    --black: 0 0% 0%;
    --gray-50: 210 40% 98%;
    --gray-100: 210 40% 96%;
    --gray-200: 214 32% 91%;
    --gray-300: 213 27% 84%;
    --gray-400: 215 20% 65%;
    --gray-500: 220 9% 46%;
    --gray-600: 215 14% 34%;
    --gray-700: 215 25% 27%;
    --gray-800: 217 33% 17%;
    --gray-900: 222 84% 5%;
    
    /* Layout variables */
    --container-max-width: 1200px;
    --section-padding: 4rem 0;
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: hsl(var(--gray-900));
    background-color: hsl(var(--white));
    font-size: 16px;
    overflow-x: hidden;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    color: hsl(var(--primary));
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: hsl(var(--gray-700));
}

/* Utility text classes */
.text-lg {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* ==========================================================================
   3. LAYOUT COMPONENTS
   ========================================================================== */

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

.section {
    padding: var(--section-padding);
}

.section-alt {
    background-color: #ffffff !important;
}

/* Section-specific background colors for alternating pattern */
section#about {
    background-color: #f8f5f0 !important;
    padding: 4rem 0;
}

section#menu {
    background-color: #ffffff !important;
    padding: 4rem 0;
}

section#gallery {
    background-color: #f8f5f0 !important;
    padding: 4rem 0;
}

section#testimonials {
    background-color: #f8f5f0 !important;
    padding: 4rem 0;
}

section#contact {
    background-color: #ffffff !important;
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    color: hsl(var(--primary));
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    color: hsl(var(--gray-600));
    max-width: 750px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent-3)));
    color: white;
    box-shadow: 0 4px 15px hsla(var(--primary), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(var(--primary), 0.4);
    background: linear-gradient(135deg, hsl(var(--accent-3)), hsl(var(--accent-1)));
}

.btn-secondary {
    background: #ffffff;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-secondary:hover {
    background: hsl(var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(var(--primary), 0.3);
}

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 5rem;
}

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

.logo img {
    height: 5rem;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    height: 100%;
}

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

.nav-menu a {
    text-decoration: none;
    color: hsl(var(--gorgona-blue));
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.navbar.scrolled .nav-menu a {
     color: hsl(var(--gorgona-blue));
    text-shadow: none;
}

.nav-menu a:hover {
    color: hsl(var(--gorgona-blue));
}

.navbar.scrolled .nav-menu a:hover {
    color: hsl(var(--primary));
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: hsl(var(--gorgona-blue));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar.scrolled .nav-menu a::after {
    background: hsl(var(--primary));
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-toggle {
    color: #333;
    text-shadow: none;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 10%, hsl(var(--secondary)) 40%, hsl(var(--secondary)) 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 10%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .tagline {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    position: relative;
    padding: 0 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: hsl(var(--white));
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 1;
    color: hsl(var(--white));
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: hsl(var(--white));
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: hsl(var(--primary));
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: hsl(var(--gray-700));
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature-card h3 {
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   8. GALLERY SECTION
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

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

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

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

.gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    display: block;
    object-position: center;
    cursor: pointer;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.modal-image.loading {
    opacity: 0.5;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: hsl(var(--primary));
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* ==========================================================================
   9. MENU SECTION
   ========================================================================== */

.menu-tabs-container {
    margin-top: 2rem;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid hsl(var(--gray-200));
    padding-bottom: 1rem;
}

.menu-tab {
    padding: 0.75rem 1.5rem;
    background: hsl(var(--white));
    border: 1px solid hsl(var(--gray-300));
    border-radius: 2rem;
    font-weight: 500;
    color: hsl(var(--gray-600));
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.menu-tab:hover {
    background: hsl(var(--secondary) / 0.1);
    color: hsl(var(--secondary));
    border-color: hsl(var(--secondary));
}

.menu-tab.active {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent-3)));
    color: white;
    border-color: hsl(var(--secondary));
    box-shadow: 0 4px 10px hsl(var(--secondary) / 0.3);
}

.menu-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.menu-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.menu-category {
    flex: 1;
    min-width: 400px;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.menu-category:hover {
    transform: translateY(-5px);
}

.menu-category h3 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: hsl(var(--primary));
    border-bottom: 2px solid hsl(var(--gorgona-gold) / 0.4);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-item-content {
    flex: 1;
    margin-right: 1rem;
}

.menu-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--gray-900));
}

.menu-item p {
    font-size: 0.9rem;
    color: hsl(var(--gray-600));
    line-height: 1.5;
    margin-bottom: 0;
}

.menu-item-price {
    color: hsl(var(--secondary));
    font-weight: 600;
    white-space: nowrap;
}

/* ==========================================================================
   10. TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-grid {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonials-carousel {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.testimonial-slide {
    display: none;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid hsl(var(--gray-100));
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.star {
    color: hsl(var(--gorgona-gold));
    font-size: 1.25rem;
}

.testimonial-meta {
    flex: 1;
    text-align: right;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: hsl(var(--primary));
}

.testimonial-source {
    font-size: 0.9rem;
    color: hsl(var(--gorgona-gold));
    font-weight: 500;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: hsl(var(--gray-700));
    margin: 0;
}

.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: hsl(var(--primary));
    color: white;
    border: 2px solid hsl(var(--primary));
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none;
}

.carousel-btn:hover {
    background: hsl(var(--accent-3));
    color: white;
    border-color: hsl(var(--accent-3));
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: hsl(var(--gray-300));
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: #ffffff;
    border: 2px solid hsl(var(--accent-3));
    transform: scale(1.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.dot:hover {
    background: hsl(var(--accent-3));
    transform: scale(1.1);
}

/* Review Platform Links */
.review-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.platform-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
}

.google-icon {
    color: #4285F4;
}

.tripadvisor-icon {
    color: #00AF87;
}

.facebook-icon {
    color: #1877F2;
}

.platform-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.platform-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.platform-rating {
    font-size: 1.25rem;
    font-weight: bold;
    color: hsl(var(--gorgona-blue));
}

.platform-name {
    font-size: 0.9rem;
    color: hsl(var(--gray-600));
}

/* ==========================================================================
   11. RESERVATION SECTION
   ========================================================================== */

.reservation-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.reservation-form-container {
    background: hsl(var(--primary));
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 60px hsla(var(--primary), 0.3);
    position: relative;
    overflow: hidden;
    border: none !important;
    outline: none !important;
}

.reservation-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsla(var(--primary), 0.95) 0%, hsla(var(--accent-3), 0.9) 100%);
    backdrop-filter: blur(10px);
    z-index: -1;
    border: none;
}

.reservation-title {
    color: hsl(var(--white)) !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.reservation-subtitle {
    color: hsl(var(--white) / 0.9) !important;
    text-align: center !important;
    margin-bottom: 2.5rem !important;
    font-size: 1.1rem !important;
}

.reservation-form {
    border: none !important;
    background: transparent !important;
}

.reservation-form fieldset {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.reservation-form legend {
    border: none !important;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--gorgona-beige));
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}

.reservation-form input,
.reservation-form textarea,
.reservation-form select {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid hsla(var(--gorgona-beige), 0.3) !important;
    border-radius: 0.75rem !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: white !important;
    transition: var(--transition) !important;
    font-family: inherit !important;
    backdrop-filter: blur(10px) !important;
}

.reservation-form input:focus,
.reservation-form textarea:focus,
.reservation-form select:focus {
    outline: none !important;
    border-color: hsl(var(--gorgona-beige)) !important;
    box-shadow: 0 0 0 3px hsla(var(--gorgona-beige), 0.2), 0 8px 32px hsla(var(--gorgona-light-blue), 0.1) !important;
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.reservation-form input::placeholder,
.reservation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic !important;
}

.reservation-form select {
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23cdcdbb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") no-repeat right 1rem center !important;
    background-size: 1.25rem 1.25rem !important;
    padding-right: 3rem !important;
}

.reservation-form select:focus {
    background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23cdcdbb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") no-repeat right 1rem center !important;
    background-size: 1.25rem 1.25rem !important;
}

.reservation-form select::-ms-expand {
    display: none !important;
}

.reservation-form select option {
    background: #1a1a2e !important;
    color: white !important;
    padding: 0.5rem !important;
}

.reservation-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

.btn-reservation {
    background: #ffffff !important;
    color: hsl(var(--primary)) !important;
    border: 2px solid hsl(var(--secondary)) !important;
    padding: 1.25rem 2rem !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    width: 100% !important;
    margin-top: 2rem !important;
    font-size: 1.1rem !important;
    box-shadow: 0 8px 32px hsla(var(--secondary), 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-reservation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-reservation:hover::before {
    left: 100%;
}

.btn-reservation:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px hsla(var(--secondary), 0.6) !important;
    background: linear-gradient(135deg, hsl(var(--white)) 0%, hsl(var(--secondary)) 100%) !important;
    color: hsl(var(--primary)) !important;
}

/* Error styling */
.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border-left: 3px solid #ff6b6b;
}

.error-message.show {
    display: block;
}

/* Info Sidebar */
.info-sidebar {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent-3)));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
    box-shadow: 0 8px 32px hsla(var(--primary), 0.3);
}

.sidebar-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid hsl(var(--gray-700));
    padding-bottom: 1.5rem;
}

.sidebar-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.sidebar-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--gorgona-beige));
    margin-bottom: 0.75rem;
}

.sidebar-section h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sidebar-section p {
    color: hsl(var(--gray-300));
    margin-bottom: 0.25rem;
}

.hours-days {
    font-weight: 600;
    color: white !important;
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.6 !important;
}

.maps-link {
    color: hsl(var(--gorgona-beige));
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.maps-link:hover {
    color: hsl(var(--accent-1));
}

.sidebar-section a {
    color: hsl(var(--gorgona-beige));
    text-decoration: none;
}

.sidebar-section a:hover {
    color: hsl(var(--accent-1));
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: hsl(var(--gray-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: hsl(var(--gorgona-beige));
    color: hsl(var(--primary));
    transform: translateY(-2px);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.footer {
    background-color: hsl(var(--primary)) !important;
    color: hsl(var(--white)) !important;
    padding: 4rem 0 2rem !important;
    margin-top: 4rem !important;
}

.footer * {
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 3rem !important;
    margin-bottom: 3rem !important;
    max-width: var(--container-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-section {
    display: flex !important;
    flex-direction: column !important;
}

.footer-section h3 {
    color: hsl(var(--white)) !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 3px solid hsl(var(--secondary)) !important;
    padding-bottom: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: hsl(var(--white)) !important;
}

.contact-item span {
    color: hsl(var(--white)) !important;
}

.contact-icon {
    width: 1.5rem !important;
    height: 1.5rem !important;
    margin-right: 1rem !important;
    color: hsl(var(--secondary)) !important;
    flex-shrink: 0 !important;
}

.contact-item a {
    color: hsl(var(--white));
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: hsl(var(--secondary));
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsl(var(--white)) !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    padding: 0.25rem 0 !important;
    display: block !important;
}

.footer-links a:hover {
    color: hsl(var(--secondary));
    padding-left: 0.5rem;
}

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

.footer-bottom {
    border-top: 2px solid hsl(var(--secondary) / 0.3) !important;
    padding-top: 2rem !important;
    margin-top: 0 !important;
    display: block !important;
}

.footer-bottom-content {
    text-align: center !important;
    color: hsl(var(--white) / 0.8) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    display: block !important;
}

.footer-bottom-content p {
    margin-bottom: 0.5rem !important;
    color: hsl(var(--white) / 0.8) !important;
    display: block !important;
}

.footer-bottom-content a {
    color: hsl(var(--secondary)) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    display: inline !important;
}

.footer-bottom-content a:hover {
    color: hsl(var(--white)) !important;
}

/* ==========================================================================
   13. BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: hsl(var(--primary));
    color: hsl(var(--white));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px hsla(var(--primary), 0.3);
    transition: var(--transition);
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--white));
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(var(--primary), 0.4);
    background: hsl(var(--accent-3));
}

.back-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--white));
    fill: currentColor;
}

/* ==========================================================================
   14. UTILITY CLASSES
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid hsl(var(--secondary));
    outline-offset: 2px;
}

/* ==========================================================================
   15. RESPONSIVE DESIGN
   ========================================================================== */

/* Mobile Devices (320px - 767px) */
@media (max-width: 767px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu a {
        font-size: 1.25rem;
        padding: 1rem;
        color: #333;
    }
    
    .nav-container {
        padding: 0 1rem;
        min-height: 3.5rem;
    }
    
    .logo img {
        height: 2.5rem;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 1rem;
    }
    
    .hero-video {
        object-position: center center;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.1;
    }
    
    .hero .subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Layout */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    /* Menu */
    .menu-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .menu-category {
        min-width: unset;
        flex: none;
    }
    
    .menu-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .menu-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .testimonial-meta {
        text-align: left;
    }
    
    .carousel-navigation {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    /* Reservation */
    .reservation-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reservation-form-container {
        padding: 1.5rem !important;
        order: 1;
    }
    
    .info-sidebar {
        padding: 1.5rem;
        order: 2;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .reservation-title {
        font-size: 1.75rem !important;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
    }
    
    /* Modal */
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .modal-image {
        max-height: 70vh;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: -30px;
        font-size: 1.5rem;
    }
    
    /* Review platforms */
    .review-platforms {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .platform-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Back to top */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .back-to-top svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Small phones (320px - 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .reservation-form-container {
        padding: 1rem !important;
    }
    
    .info-sidebar {
        padding: 1rem;
    }
}

/* Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .menu-category {
        min-width: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .reservation-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .review-platforms {
        gap: 1.5rem;
    }
}

/* Large screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Landscape phone orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        margin-top: 1rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High resolution display optimization */
@media (min-resolution: 2dppx) {
    .gallery-item img,
    .about-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .back-to-top,
    .gallery-modal {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
}