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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: #8B4513;
}

h3 {
    font-size: 1.8rem;
    color: #8B4513;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8860B, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #D4AF37;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

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

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

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    z-index: -1;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(212, 175, 55, 0.8);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #D4AF37;
    transform: scale(1.2);
}

/* Info Bar */
.info-bar {
    background: #8B4513;
    color: white;
    padding: 2rem 0;
}

.info-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    text-align: center;
    justify-content: center;
}

.info-item i {
    font-size: 2rem;
    color: #D4AF37;
}

.info-item h3 {
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.info-item a {
    color: white;
    text-decoration: none;
}

.info-item a:hover {
    color: #D4AF37;
}

/* Welcome Section */
.welcome {
    padding: 5rem 0;
    background: #f8f8f8;
}

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

.welcome-text h2 {
    margin-bottom: 2rem;
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.welcome-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.welcome-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.welcome-img:hover {
    transform: translateY(-10px);
}

.welcome-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Schedule Section */
.schedule {
    padding: 5rem 0;
    background: white;
}

.schedule h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.schedule-item {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #D4AF37;
}

.schedule-item h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.schedule-item p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.schedule-item .note {
    font-style: italic;
    color: #777;
    font-size: 0.9rem;
}

/* Reservation Section */
.reservation {
    padding: 5rem 0;
    background: linear-gradient(135deg, #8B4513, #D4AF37);
    color: white;
    text-align: center;
}

.reservation h2 {
    color: white;
    margin-bottom: 1rem;
}

.reservation p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.reservation-phones {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.phone-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.phone-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.phone-btn i {
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.footer-section a:hover {
    color: #D4AF37;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #aaa;
}

/* Menu Styles (for carta.html) */
.menu-section {
    padding: 5rem 0;
}

.menu-section:nth-child(even) {
    background: #f8f8f8;
}

.menu-category {
    margin-bottom: 3rem;
}

.menu-category h2 {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.menu-category h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #D4AF37;
}

.menu-items {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.menu-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #D4AF37;
}

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

.menu-item h3 {
    color: #8B4513;
    margin: 0;
}

.menu-price {
    color: #D4AF37;
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-description {
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Wine Menu Styles */
.wine-section {
    padding: 3rem 0;
}

.wine-category {
    margin-bottom: 3rem;
}

.wine-category h3 {
    background: #8B4513;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.wine-category-description {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #D4AF37;
}

.wine-list {
    display: grid;
    gap: 1rem;
}

.wine-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wine-name {
    font-weight: 500;
    color: #333;
}

.wine-price {
    color: #D4AF37;
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Map Container */
.map-container {
    margin: 3rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 0;
}

.legal-content h1,
.legal-content h2 {
    color: #8B4513;
    margin-top: 2rem;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.legal-content th,
.legal-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.legal-content th {
    background: #f8f8f8;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .welcome-images {
        grid-template-columns: 1fr;
    }

    .info-items {
        flex-direction: column;
        gap: 1.5rem;
    }

    .info-item {
        justify-content: flex-start;
        text-align: left;
    }

    .info-items {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reservation-phones {
        flex-direction: column;
        align-items: center;
    }

    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wine-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

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

    .slide-content {
        padding: 0 15px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .hero {
        height: 80vh;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Page Header for internal pages */
.page-header {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 80px;
}

.page-header.wine-page-bg {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
}

.page-header.about-page-bg {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), url('../images/welcome1.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Slider */
.about-slider {
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 3rem 0;
}

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

.about-slide.active {
    opacity: 1;
}

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

/* About Page Styles */
.about-section {
    padding: 3rem 0;
}

.story-section {
    padding: 5rem 0;
    background: #f8f8f8;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 2rem;
}

.story-conclusion {
    font-size: 1.2rem;
    color: #D4AF37;
    margin-top: 2rem;
}

.story-images {
    display: grid;
    gap: 2rem;
}

.story-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-img:hover {
    transform: translateY(-5px);
}

.story-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.img-caption {
    padding: 1rem;
    background: white;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.origin-section {
    padding: 5rem 0;
}

.origin-content h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.origin-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

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

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

.feature i {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #8B4513;
}

.chef-section {
    padding: 5rem 0;
    background: #f8f8f8;
}

.chef-content h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.chef-info {
    max-width: 800px;
    margin: 0 auto;
}

.chef-text h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.chef-specialties {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #D4AF37;
}

.chef-specialties h4 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.chef-specialties ul {
    list-style: none;
    padding: 0;
}

.chef-specialties li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.chef-specialties li:before {
    content: "🍽️";
    margin-right: 1rem;
}

.values-section {
    padding: 5rem 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.value-item h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-info {
    padding: 5rem 0;
    background: #f8f8f8;
}

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

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

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

.contact-icon {
    background: #D4AF37;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.contact-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.contact-card a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.reservation-info {
    padding: 5rem 0;
}

.reservation-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #8B4513;
}

.reservation-info > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.reservation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.method {
    text-align: center;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 10px;
}

.method i {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.method h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.phone-numbers .phone-btn {
    background: #8B4513;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.phone-numbers .phone-btn:hover {
    background: #654321;
    transform: translateY(-2px);
}

.address {
    color: #666;
    font-style: italic;
}

.contact-form-section {
    padding: 5rem 0;
    background: #f8f8f8;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #8B4513;
}

.contact-form-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

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

.map-section {
    padding: 5rem 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #8B4513;
}

.map-info {
    margin-top: 3rem;
}

.transport-info h3 {
    color: #8B4513;
    margin-bottom: 2rem;
    text-align: center;
}

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

.transport-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 10px;
}

.transport-option i {
    font-size: 2rem;
    color: #D4AF37;
}

/* Legal Pages Additional Styles */
.contact-box {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #D4AF37;
    margin: 2rem 0;
}

.contact-box h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

/* Wine Page Additional Styles */
.wine-hero {
    padding: 2rem 0;
}

/* Wine Categories Navigation */
.wine-categories-nav {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.categories-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.category-link {
    background: #f8f8f8;
    color: #8B4513;
    padding: 0rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-link:hover,
.category-link.active {
    background: #D4AF37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.98);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    backdrop-filter: blur(10px);
    border-top: 3px solid #D4AF37;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #D4AF37;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background: #D4AF37;
    color: white;
}

.cookie-btn-accept:hover {
    background: #B8860B;
}

.cookie-btn-configure {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn-configure:hover {
    background: white;
    color: #333;
}

.cookie-btn-reject {
    background: #666;
    color: white;
}

.cookie-btn-reject:hover {
    background: #555;
}

/* Cookie Preferences Page */
.cookie-preferences {
    margin: 3rem 0;
}

.cookie-category {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #D4AF37;
}

.cookie-category h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cookie-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #D4AF37;
}

.cookie-toggle label {
    font-weight: 500;
    cursor: pointer;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-secondary {
    background: #8B4513;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-tertiary {
    background: #666;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .origin-features {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .reservation-methods {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
    }
    
    .transport-option {
        flex-direction: column;
        text-align: center;
    }
    
    .wine-header-content h1 {
        font-size: 2.5rem;
    }
    
    .wine-header-content p {
        font-size: 1.2rem;
    }
    
    .categories-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .category-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-actions button,
    .cookie-actions .btn-primary,
    .cookie-actions .btn-secondary,
    .cookie-actions .btn-tertiary {
        width: 100%;
        max-width: 300px;
    }
}

/* Additional styles for contact page */
.reservation-info .reservation-text {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.reservation-info .reservation-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Subtle phone buttons */
.phone-btn-subtle {
    background: #f8f9fa;
    border: 2px solid #D4AF37;
    color: #8B4513;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0.25rem;
}

.phone-btn-subtle:hover {
    background: #D4AF37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.phone-btn-subtle i {
    margin-right: 0.5rem;
}

.phone-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .phone-numbers {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-btn-subtle {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Optimized Images Styles */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Hero Images */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Welcome Images */
.welcome-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Story Images */
.story-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* About Slider Images */
.about-slider-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Performance Optimizations */
picture img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

picture img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive optimizations */
@media (max-width: 768px) {
    .welcome-image img {
        height: 200px;
    }
    
    .story-image img {
        height: 180px;
    }
    
    .about-slider-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .welcome-image img {
        height: 150px;
    }
    
    .story-image img {
        height: 140px;
    }
    
    .about-slider-image img {
        height: 200px;
    }
}
