/* ============================================
   1º Jantar Solidário da Loja Praia do Canto - Main Stylesheet
   Elegant, Professional, Responsive Design
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

:root {
    /* Main Color Palette - Dark Blue, Gold, White */
    --primary-dark: #5c2f2f;
    --primary: #3f51b5;
    --primary-light: #7986cb;
    --gold: #bd9a43;
    --gold-dark: #b8860b;
    --gold-light: #fff8dc;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Status Colors */
    --success: #4caf50;
    --success-light: #c8e6c9;
    --error: #f44336;
    --error-light: #ffcdd2;
    --warning: #ff9800;
    --warning-light: #ffe0b2;

    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    margin-bottom: var(--space-md);
}

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

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

/* Remove underline from buttons specifically */
.btn:hover {
    text-decoration: none !important;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-sm {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-md);
    position: relative;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.logo-loja-principal {
    position: absolute;
    left: 50%;
    bottom: -75px;
    transform: translateX(-50%);
    height: 150px;
    width: 150px;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    z-index: 1001;
    object-fit: contain;
    transition: transform var(--transition-base);
    pointer-events: none;
}

.logo-loja-principal:hover {
    transform: translateX(-50%) scale(1.05);
}

.logo-canto-vinho {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-left: auto;
    transition: transform var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-canto-vinho:hover {
    transform: scale(1.05);
}

.event-title {
    text-align: left;
    flex: 1;
    padding-right: var(--space-xl);
}

.event-title h1 {
    color: var(--primary-dark);
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.event-subtitle {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Navigation Menu */
.navigation-menu {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: var(--space-xs) 0;
    position: relative;
    z-index: 999;
    box-shadow: var(--shadow-md);
    margin-top: 0;
}

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

.nav-left,
.nav-right {
    display: flex;
    gap: var(--space-xl);
}

.nav-left {
    margin-right: 200px;
    /* Espaço para o logo à esquerda */
}

.nav-right {
    margin-left: 200px;
    /* Espaço para o logo à direita */
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}


.nav-link:hover {
    color: var(--gold);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Image Slider */
.image-slider {
    position: relative;
    width: 100vw;
    height: 90vh;
    margin-left: calc(-50vw + 50%);
    margin-bottom: var(--space-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    width: 600%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slider-slide {
    width: calc(100% / 6);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.slider-slide:hover img {
    transform: scale(1.05);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(92, 47, 47, 0.3) 0%,
            rgba(63, 81, 181, 0.2) 50%,
            rgba(189, 154, 67, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.slider-slide:hover .slider-overlay {
    opacity: 1;
}

.slider-nav {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.slider-dot.active {
    background: rgba(189, 154, 67, 0.9);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(189, 154, 67, 0.4);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.15);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: var(--space-lg);
}

.slider-arrow.next {
    right: var(--space-lg);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: var(--white);
    margin: var(--space-2xl) 0;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
}

.hero-content {
    padding: var(--space-3xl);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Event Details Grid */
.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.detail-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.detail-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.detail-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--space-2xl);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: var(--radius-sm);
}

/* Menu Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-2xl);
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}


.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.menu-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--gray-100);
}

.menu-title {
    font-size: 1.875rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.menu-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.menu-section {
    margin-bottom: var(--space-xl);
}

.menu-section-title {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--gray-200);
}

.menu-items {
    list-style: none;
}

.menu-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-100);
    transition: background-color var(--transition-fast);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: var(--gray-50);
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
    margin: 0 calc(-1 * var(--space-sm));
    border-radius: var(--radius-sm);
}

.menu-item-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.menu-item-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}


.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

/* Couple Fields Styles */
.couple-fields {
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
}

.couple-header {
    margin-bottom: var(--space-md);
}

.couple-header h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .couple-fields {
        padding: var(--space-md);
    }
}

/* Form Styles */
.form-section {
    background: var(--white);
    margin: var(--space-2xl) 0;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: none;
    animation: slideInUp var(--transition-slow) ease-out;
}

.form-section.active {
    display: block;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    padding: var(--space-2xl);
    text-align: center;
    color: var(--black);
}

.form-header h2 {
    margin-bottom: var(--space-sm);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-content {
    padding: var(--space-2xl);
}

.selected-menu-display {
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--gold-light), var(--white));
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.selected-menu-display h3 {
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.selected-menu-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.form-label.required::after {
    content: ' *';
    color: var(--error);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    background-color: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
    transform: translateY(-1px);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

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

.form-error {
    display: block;
    margin-top: var(--space-sm);
    color: var(--error);
    font-size: 0.875rem;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.checkbox-input {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-label {
    font-size: 0.95rem;
    line-height: 1.6;
    cursor: pointer;
}

/* Loading Spinner */
.spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: var(--space-lg) auto;
}

.spinner.show {
    display: block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    margin-top: var(--space-3xl);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--gold);
}

.footer-content {
    padding: var(--space-sm) 0 var(--space-sm);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.footer-section h3 {
    color: var(--primary-dark);
    margin-bottom: var(--space-lg);
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

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

.footer-bottom {
    text-align: center;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--gold);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-text h4 {
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.cookie-text p {
    color: var(--gray-600);
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Alert Messages */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border-left: 4px solid;
    animation: slideInDown var(--transition-base) ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: var(--success-light);
    border-left-color: var(--success);
    color: var(--success);
}

.alert-error {
    background-color: var(--error-light);
    border-left-color: var(--error);
    color: var(--error);
}

.alert-warning {
    background-color: var(--warning-light);
    border-left-color: var(--warning);
    color: var(--warning);
}

/* Admin Panel Styles */
.admin-container {
    background: var(--white);
    min-height: 100vh;
    padding: var(--space-lg) 0;
}

.admin-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-2xl);
    border-radius: var(--radius-lg);
}

.admin-header h1 {
    text-align: center;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
    text-align: center;
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.table-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.data-table th {
    background-color: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tr:hover {
    background-color: var(--gray-50);
}

.status-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-confirmed {
    background-color: var(--success-light);
    color: var(--success);
}

.status-pending {
    background-color: var(--warning-light);
    color: var(--warning);
}

.status-cancelled {
    background-color: var(--error-light);
    color: var(--error);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

@media (max-width: 768px) {
    :root {
        --space-3xl: 2rem;
        --space-2xl: 1.5rem;
    }

    .header {
        padding: var(--space-sm) 0 var(--space-lg);
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
        position: relative;
    }

    .logo-loja-principal {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        height: 100px;
        width: 100px;
        margin: var(--space-md) 0;
    }

    .logo-canto-vinho {
        margin: 0;
        order: 3;
    }

    .event-title {
        order: 2;
        text-align: center;
        padding: 0;
    }

    .navigation-menu {
        padding: 6px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .nav-left,
    .nav-right {
        gap: var(--space-md);
    }

    .nav-left {
        margin-right: 0;
    }

    .nav-right {
        margin-left: 0;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .image-slider {
        height: 70vh;
    }

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

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

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

    .event-details {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .table-header {
        flex-direction: column;
        align-items: stretch;
    }

    .data-table-container {
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }
}

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

    .logo-loja-principal {
        height: 80px;
        width: 80px;
    }

    .logo-canto-vinho {
        height: 50px;
    }

    .navigation-menu {
        padding: 4px 0;
    }

    .nav-container {
        gap: var(--space-md);
    }

    .nav-left,
    .nav-right {
        gap: var(--space-sm);
    }

    .nav-link {
        font-size: 0.85rem;
        padding: var(--space-xs);
    }
}

.event-title h1 {
    font-size: 1.5rem;
}

.image-slider {
    height: 80vh;
}

.slider-arrow {
    width: 35px;
    height: 35px;
}

.slider-arrow svg {
    width: 14px;
    height: 14px;
}

.slider-dot {
    width: 6px;
    height: 6px;
}

.hero-content {
    padding: var(--space-xl);
}

.hero-title {
    font-size: 1.75rem;
}

.menu-card {
    padding: var(--space-lg);
}

.event-details {
    grid-template-columns: 1fr;
}

.btn {
    padding: var(--space-md);
    font-size: 0.9rem;
}

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

/* Print Styles */
@media print {

    .header,
    .cookie-banner,
    .btn,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero,
    .menu-card,
    .form-section {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Better Accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Event Overlay CTA Buttons */
.event-overlay-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.event-overlay-cta .btn {
    min-width: 180px;
    text-align: center;
}

@media (max-width: 768px) {
    .event-overlay-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .event-overlay-cta .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Smooth Scroll Enhancement */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000080;
        --primary-dark: #000050;
        --gold: #B8860B;
        --gray-600: #333;
        --gray-700: #222;
    }
}