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

:root {
    /* Brand Colors from Valdiano Logo */
    --primary-red: #E31E24;
    --primary-green: #4A7C59;
    --accent-green: #6B8E23;
    --cream-white: #FFF8DC;
    --warm-white: #FAFAFA;
    --dark-green: #2D4A32;
    --light-green: #8FBC8F;
    --gold: #D4AF37;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --max-width: 1200px;
    
    /* Shadows */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #C41E3A, var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.3);
}

.btn-secondary {
    background: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--dark-green);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-green);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

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

/* Language Switcher */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px solid var(--primary-green);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.language-toggle:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.language-current {
    min-width: 20px;
}

.language-chevron {
    transition: transform 0.3s ease;
}

.language-toggle[aria-expanded="true"] .language-chevron {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 160px;
    display: none;
    overflow: hidden;
    margin-top: 4px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--dark-green);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--light-gray);
    color: var(--primary-red);
}

.language-option.active {
    background: var(--primary-green);
    color: white;
}

.language-flag {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(74, 124, 89, 0.2);
}

.mobile-language-options {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--dark-green);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    transition: var(--transition);
    background: white;
    flex: 1;
    max-width: 140px;
    min-height: 48px;
}

.mobile-language-option:hover {
    background: var(--primary-green);
    color: white;
}

.mobile-language-option.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.mobile-language-option .language-flag {
    font-size: 14px;
    font-weight: 700;
}

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--dark-green);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
    color: white;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--gold);
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(3px);
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-green));
}

/* About Section */
.about {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Decorative red triangles (top-left and bottom-right) */
.about::before,
.about::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Top-left triangle (green) */
.about::before {
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 700px 900px 0 0;
    border-color: rgba(74, 124, 89, 0.12) transparent transparent transparent;
}

/* Bottom-right triangle (red) */
.about::after {
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 700px 900px;
    border-color: transparent transparent rgba(227, 30, 36, 0.12) transparent;
}

/* Keep content above decorative shapes */
.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-description p {
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

/* Products Section */
.products {
    /* Fixed background image with parallax effect */
    background-image: url('./assets/images/assorted-products.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Keep the existing cream background as a transparent overlay */
.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream-white);
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above the overlay */
.products > * {
    position: relative;
    z-index: 1;
}

.product-category {
    margin-bottom: 5rem;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-title {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: var(--primary-green);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Make the main product description text bold and black */
.products .product-text p {
    color: #000000;
    font-weight: 700;
}

.wine-varietals {
    background: rgba(74, 124, 89, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-green);
}

.wine-varietals h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.wine-varietals ul {
    list-style: none;
    padding: 0;
}

.wine-varietals li {
    margin-bottom: 0.8rem;
    /* extra space for grape icon */
    padding-left: 30px;
    position: relative;
}

.wine-varietals li::before {
    content: '🍇';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.1rem;
    line-height: 1;
}

/* Style varietal names with distinct color while keeping them bold */
.wine-varietals li strong {
    color: var(--primary-red);
    font-weight: 700;
}

.product-images {
    display: block;
}

.product-images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    transition: var(--transition);
    display: block;
}

.product-images img:hover {
    transform: scale(1.05);
}

.wine-showcase {
    margin: 0 0 4rem;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.wine-showcase-header {
    max-width: 720px;
    margin-bottom: 2rem;
}

.wine-showcase-header p {
    color: #000000;
    font-weight: 600;
    margin-top: 0.75rem;
}

.wine-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.wine-showcase-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.wine-showcase-card img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 236, 225, 0.9));
    padding: 20px;
}

.wine-showcase-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.wine-showcase-varietal {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 0;
}

.wine-showcase-content h5 {
    color: var(--primary-red);
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.35;
    min-height: 3.1em;
}

.wine-showcase-content p {
    color: #000000;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

/* Food Products */
.food-products {
    margin-top: 4rem;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.food-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.food-content {
    padding: 25px;
}

.food-content h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Why Choose Section */
.why-choose {
    background-image: url('./assets/images/canada-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    color: white;
}

/* Add overlay to maintain readability */
.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 74, 50, 0.8), rgba(74, 124, 89, 0.8));
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above the overlay */
.why-choose > * {
    position: relative;
    z-index: 1;
}

.why-choose .section-title {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for flexible positioning */
    gap: 40px;
    margin-top: 3rem;
}

/* First three cards take up 2 columns each (top row) */
.feature:nth-child(1),
.feature:nth-child(2),
.feature:nth-child(3) {
    grid-column: span 2;
}

/* Bottom two cards span 3 columns each and are centered */
.feature:nth-child(4) {
    grid-column: 1 / 4; /* Spans columns 1-3 */
}

.feature:nth-child(5) {
    grid-column: 4 / 7; /* Spans columns 4-6 */
}

.feature {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-chevron {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    opacity: 0.9;
}

.icon {
    width: 36px;
    height: 36px;
    stroke: var(--gold);
    stroke-width: 2;
    fill: none;
}

/* Increase icon size specifically for feature cards */
.feature .icon {
    width: 56px;
    height: 56px;
    stroke-width: 2.2;
}

.feature h3 {
    color: white;
    margin-bottom: 1rem;
}

.feature p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Target Markets Section */
.target-markets {
    background-image: url('./assets/images/assortedfood.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Add white overlay */
.target-markets::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above the overlay */
.target-markets > * {
    position: relative;
    z-index: 1;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.market-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.market-content {
    padding: 25px;
}

.market-content h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Regional Focus Section */
.regional-focus {
    background-image: url('./assets/images/outdoorscene3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Add overlay to maintain readability with reduced image opacity */
.regional-focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream-white);
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above the overlay */
.regional-focus > * {
    position: relative;
    z-index: 1;
}

.regional-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.regional-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.regional-focus + .regional-focus {
    border-top: 1px solid rgba(47, 79, 79, 0.08);
}

.regional-focus-basilicata .regional-text {
    order: 2;
}

.regional-focus-basilicata .regional-image {
    order: 1;
}

/* CTA Sections */
.cta-sections {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Decorative triangles (same as about section) */
.cta-sections::before,
.cta-sections::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Top-left triangle (green) */
.cta-sections::before {
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 700px 900px 0 0;
    border-color: rgba(74, 124, 89, 0.12) transparent transparent transparent;
}

/* Bottom-right triangle (red) */
.cta-sections::after {
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 700px 900px;
    border-color: transparent transparent rgba(227, 30, 36, 0.12) transparent;
}

/* Keep content above decorative shapes */
.cta-sections .container {
    position: relative;
    z-index: 1;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.cta-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.cta-content {
    padding: 30px;
    text-align: center;
}

.cta-content h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.cta-content h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cta-content .btn {
    margin-top: 1.5rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: white;
}

.contact .section-title {
    color: white;
    text-align: left;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item .icon {
    margin-top: 4px;
    min-width: 28px;
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: white;
}

.contact-item ul {
    list-style: none;
    padding: 0;
}

.contact-item li {
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.contact-form form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.form-actions {
    margin-top: 10px;
    text-align: right;
}

.form-actions .btn {
    min-width: 200px;
}

/* Form Success Message */
.form-success-message {
    margin-top: 15px;
    padding: 16px 20px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    animation: slideInUp 0.3s ease;
    backdrop-filter: blur(8px);
}

.form-success-message span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-success-message span::before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    font-size: 14px;
}

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

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        text-align: center;
    }
    
    .form-success-message {
        font-size: 0.9rem;
        padding: 14px 16px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-navigation {
    display: contents;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Company Info Section */
.footer-about {
    max-width: 300px;
}

.footer-logo img {
    height: 65px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(1.1);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 20px;
    color: #e5e5e5;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: white;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    fill: var(--dark-gray);
}

/* Footer Titles */
.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* Navigation Lists */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 10px;
}

.footer-link:hover::before {
    width: 8px;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.contact-link {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--gold);
}

.contact-text {
    color: #e5e5e5;
    font-size: 0.95rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom-content > p:first-child {
    justify-self: start;
}

.footer-tagline {
    font-style: italic;
    color: var(--gold);
    opacity: 0.9 !important;
    justify-self: center;
    text-align: center;
}

.vohrtech-credit {
    justify-self: end;
    text-align: right;
}

.vohrtech-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.vohrtech-link:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 20px;
    }

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

    .hamburger {
        display: flex;
    }

    /* Hide desktop language switcher on mobile */
    .language-switcher {
        display: none;
    }

    /* Show mobile language switcher on mobile */
    .mobile-language-switcher {
        display: block !important;
    }

    /* Force show mobile language switcher in nav menu when active */
    .nav-menu.active .mobile-language-switcher {
        display: block !important;
    }

    /* Additional mobile-specific overrides for language switcher */
    @media screen and (max-width: 768px) {
        .mobile-language-switcher {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        .nav-menu .mobile-language-switcher {
            display: block !important;
        }
    }

    .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);
    }

    /* Hero */
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 250px;
    }

    .section-cta .btn {
        width: 250px;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    /* Grid Layouts */
    .about-content,
    .product-content,
    .regional-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .regional-content .regional-image,
    .contact-content .contact-image {
        order: -1;
    }

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

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

    .wine-showcase-grid {
        grid-template-columns: 1fr;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Reset grid positioning for mobile */
    .feature:nth-child(1),
    .feature:nth-child(2),
    .feature:nth-child(3),
    .feature:nth-child(4),
    .feature:nth-child(5) {
        grid-column: auto;
    }

    /* Footer */
    .footer {
        padding: 40px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-section {
        align-items: center;
        text-align: center;
    }

    .footer-about {
        max-width: 100%;
        order: 1;
    }

    .footer-navigation {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-links {
        order: 1;
    }

    .footer-products {
        order: 2;
    }

    .footer-contact {
        order: 3;
    }

    .footer-logo img {
        height: 55px;
        margin-bottom: 20px;
    }

    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 10px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }

    .footer-title {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-nav {
        align-items: center;
        gap: 15px;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .footer-link::before {
        display: none;
    }

    .footer-link:hover {
        padding-left: 0;
    }

    .contact-info {
        align-items: center;
        gap: 20px;
    }

    .footer-contact .contact-item {
        justify-content: center;
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }

    .contact-link,
    .contact-text {
        font-size: 0.9rem;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-content > p:first-child,
    .footer-tagline,
    .vohrtech-credit {
        justify-self: center;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Typography */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
}

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

    .btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Ensure mobile language switcher is properly sized on small screens */
    .mobile-language-options {
        gap: 8px;
    }

    .mobile-language-option {
        padding: 10px 14px;
        font-size: 14px;
        min-height: 44px;
    }

    .food-content,
    .market-content,
    .cta-content {
        padding: 20px;
    }

    .feature {
        padding: 25px 20px;
    }

    /* Contact section mobile layout improvements */
    .contact-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        grid-template-areas: 
            "email phone"
            "location location";
    }
    
    .contact-item:nth-child(1) {
        grid-area: email;
    }
    
    .contact-item:nth-child(2) {
        grid-area: phone;
    }
    
    .contact-item:nth-child(3) {
        grid-area: location;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    /* Location header with icon aligned to left */
    .contact-item:nth-child(3) > .icon,
    .contact-item:nth-child(3) > div > h4 {
        align-self: flex-start;
    }
    
    /* Location text in 2x2 grid */
    .contact-item:nth-child(3) ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 15px;
        width: 100%;
        margin-top: 10px;
    }
    
    .contact-item:nth-child(3) li {
        margin-bottom: 0;
        font-size: 0.95rem;
    }
    
    /* Keep email and phone items in column layout but smaller */
    .contact-item:nth-child(1),
    .contact-item:nth-child(2) {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .btn {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: 50px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* ============================================================
   PAGE BANNER HERO (internal pages: products, wine-list)
   ============================================================ */
.page-banner {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-banner-wine {
    background-image: url('./assets/images/basciliata.jpg');
}

.page-banner-wine::before {
    background: linear-gradient(160deg, rgba(20, 40, 22, 0.80), rgba(45, 74, 50, 0.75));
}

.page-banner-products {
    background-image: url('./assets/images/oil-vegetable.jpg');
}

.page-banner-products::before {
    background: linear-gradient(160deg, rgba(30, 20, 10, 0.72), rgba(74, 50, 20, 0.65));
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
}

.page-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 900;
    color: white;
    text-shadow: var(--text-shadow);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.page-banner-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    margin-bottom: 0;
    background: rgba(0, 0, 0, 0.40);
    border-left: 4px solid var(--gold);
    padding: 14px 22px;
    border-radius: 0 10px 10px 0;
    display: inline-block;
    backdrop-filter: blur(3px);
}

/* Breadcrumb / back link */
.page-breadcrumb {
    position: relative;
    z-index: 1;
    padding: 18px 0 0;
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.page-breadcrumb a:hover { color: var(--gold); }

/* ============================================================
   PRODUCER INTRO SECTION (white + triangle accent)
   ============================================================ */
.page-intro {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.page-intro::before,
.page-intro::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.page-intro::before {
    top: 0; left: 0;
    border-style: solid;
    border-width: 600px 800px 0 0;
    border-color: rgba(74, 124, 89, 0.10) transparent transparent transparent;
}

.page-intro::after {
    bottom: 0; right: 0;
    border-style: solid;
    border-width: 0 0 600px 800px;
    border-color: transparent transparent rgba(227, 30, 36, 0.10) transparent;
}

.page-intro .container { position: relative; z-index: 1; }

.page-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-intro-text { font-size: 1.1rem; line-height: 1.8; }
.page-intro-text .section-title { text-align: left; }
.page-intro-text .section-title::after { left: 0; transform: none; }
.page-intro-text p { margin-bottom: 1.4rem; }

.page-intro-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.page-intro-image.image-unavailable {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(74, 124, 89, 0.18), rgba(212, 175, 55, 0.18));
    min-height: 480px;
}

.page-intro-image.image-unavailable::after {
    content: 'Image unavailable';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: var(--dark-green);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-intro-image img.image-failed {
    opacity: 0;
}

/* ============================================================
   PRODUCER / CATEGORY SECTION BACKGROUNDS
   ============================================================ */

/* Wine sections */
.wine-section-dark {
    background-image: url('./assets/images/canada-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    color: white;
}

.wine-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 40, 22, 0.88), rgba(45, 74, 50, 0.86));
    pointer-events: none;
    z-index: 0;
}

.wine-section-dark > * { position: relative; z-index: 1; }

.wine-section-dark .section-title { color: white; }
.wine-section-dark .section-title::after {
    background: linear-gradient(90deg, var(--gold), var(--primary-red));
}

.wine-section-cream {
    background-image: url('./assets/images/outdoorscene3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.wine-section-cream::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cream-white);
    opacity: 0.84;
    pointer-events: none;
    z-index: 0;
}

.wine-section-cream > * { position: relative; z-index: 1; }

/* Product category sections */
.product-section-cream {
    background-image: url('./assets/images/assorted-products.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.product-section-cream::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cream-white);
    opacity: 0.87;
    pointer-events: none;
    z-index: 0;
}

.product-section-cream > * { position: relative; z-index: 1; }

.product-section-white {
    background-image: url('./assets/images/assortedfood.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.product-section-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    pointer-events: none;
    z-index: 0;
}

.product-section-white > * { position: relative; z-index: 1; }

/* Olive oil feature row */
.olive-oil-section {
    background-image: url('./assets/images/outdoorscene2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.olive-oil-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cream-white);
    opacity: 0.80;
    pointer-events: none;
    z-index: 0;
}

.olive-oil-section > * { position: relative; z-index: 1; }

/* ============================================================
   PRODUCER HEADER BADGE
   ============================================================ */
.producer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.producer-badge {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.producer-badge-gold {
    background: linear-gradient(135deg, var(--gold), #b8960c);
    color: var(--dark-gray);
}

.producer-badge-green {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
}

.producer-region {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-style: italic;
    margin-top: 0.4rem;
}

/* Dark-section text override */
.wine-section-dark .producer-region { color: rgba(255,255,255,0.82); }

/* ============================================================
   WINE CARD GRID & CARDS
   ============================================================ */
.wine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 1rem;
}

.wine-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.wine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}

.wine-card-image-wrap {
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 28px 20px 0;
    min-height: 270px;
    overflow: hidden;
}

.wine-card-image-wrap img {
    max-height: 240px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
    transition: transform 0.4s ease;
}

.wine-card:hover .wine-card-image-wrap img {
    transform: translateY(-6px) scale(1.03);
}

.wine-card-image-wrap.image-unavailable::after,
.catalog-card-image.image-unavailable::after,
.olive-oil-image.image-unavailable::after {
    content: 'Image unavailable';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: var(--dark-green);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(212, 175, 55, 0.18));
}

.wine-card-image-wrap img.image-failed,
.catalog-card-image img.image-failed,
.olive-oil-image img.image-failed {
    opacity: 0;
}

.wine-card-body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wine-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.2rem;
    line-height: 1.25;
}

.wine-card-producer {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--primary-green);
    font-style: italic;
    margin-bottom: 0.8rem;
}

.wine-color-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
}

.badge-white {
    background: #f8f4e8;
    color: #7a6228;
    border: 1px solid var(--gold);
}

.badge-red {
    background: #fef0f0;
    color: #c01e2e;
    border: 1px solid var(--primary-red);
}

.badge-rose {
    background: #fef3f7;
    color: #c0476e;
    border: 1px solid #e8a0b8;
}

.badge-white-sparkling {
    background: #f0faff;
    color: #1a6080;
    border: 1px solid #70b8d8;
}

.badge-red-sparkling {
    background: #fef0f0;
    color: #a81830;
    border: 1px solid #d88090;
}

.wine-card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 1rem;
}

.wine-spec-item { display: flex; flex-direction: column; }

.wine-spec-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark-green);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
}

.wine-spec-value {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.wine-card-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    flex: 1;
}

.wine-card-pairing {
    background: rgba(74, 124, 89, 0.07);
    border-left: 3px solid var(--primary-green);
    border-radius: 0 8px 8px 0;
    padding: 10px 13px;
    font-size: 0.88rem;
    color: var(--dark-gray);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.wine-card-pairing strong {
    display: block;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wine-card-serving {
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: var(--medium-gray);
    font-style: italic;
    padding-top: 0.75rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   PRODUCT CATALOG GRID & CARDS
   ============================================================ */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 2rem;
}

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

.catalog-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.catalog-card-image {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}

.catalog-card-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.catalog-card:hover .catalog-card-image img {
    transform: scale(1.06);
}

.catalog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card-italian {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.catalog-card-english {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-green);
    margin-bottom: 0.85rem;
}

.catalog-card-description {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--medium-gray);
    flex: 1;
    margin-bottom: 1rem;
}

.catalog-card-meta {
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-meta-item {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--dark-gray);
    display: flex;
    gap: 6px;
}

.catalog-meta-label {
    font-weight: 700;
    color: var(--dark-green);
    min-width: 72px;
}

/* ============================================================
   OLIVE OIL FEATURE (full-width editorial row)
   ============================================================ */
.olive-oil-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.olive-oil-text { font-size: 1.1rem; line-height: 1.8; }
.olive-oil-text .section-title { text-align: left; }
.olive-oil-text .section-title::after { left: 0; transform: none; }
.olive-oil-text p { margin-bottom: 1.4rem; }

.olive-oil-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.olive-oil-image.image-unavailable {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 480px;
    background: linear-gradient(160deg, rgba(74, 124, 89, 0.18), rgba(212, 175, 55, 0.18));
}

/* ============================================================
   SUBSECTION HEADER (inside a product family section)
   ============================================================ */
.subsection-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(74, 124, 89, 0.15);
}

.subsection-header h3 {
    color: var(--primary-red);
    margin-bottom: 0.4rem;
}

.subsection-header p {
    color: var(--medium-gray);
    font-size: 1rem;
    margin: 0;
}

/* ============================================================
   PAGE CTA SECTION (same visual as homepage cta-sections)
   ============================================================ */
.page-cta {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.page-cta::before, .page-cta::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    pointer-events: none;
}

.page-cta::before {
    top: 0; left: 0;
    border-style: solid;
    border-width: 600px 800px 0 0;
    border-color: rgba(74, 124, 89, 0.10) transparent transparent transparent;
}

.page-cta::after {
    bottom: 0; right: 0;
    border-style: solid;
    border-width: 0 0 600px 800px;
    border-color: transparent transparent rgba(227, 30, 36, 0.10) transparent;
}

.page-cta .container { position: relative; z-index: 1; }

.page-cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.page-cta-inner .section-title { margin-bottom: 1.5rem; }

.page-cta-inner p {
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.page-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .wine-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   RESPONSIVE — new page elements
   ============================================================ */
@media (max-width: 1024px) {
    .wine-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .wine-showcase-grid {
        grid-template-columns: 1fr;
    }

    .wine-showcase-card img {
        height: 280px;
    }

    .page-banner {
        height: 48vh;
        min-height: 320px;
        background-attachment: scroll;
    }

    .page-banner-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-intro-image img {
        height: 300px;
    }

    .wine-section-dark,
    .wine-section-cream,
    .product-section-cream,
    .product-section-white,
    .olive-oil-section {
        background-attachment: scroll;
    }

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

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

    .olive-oil-feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .olive-oil-image img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .catalog-grid,
    .catalog-grid-4 {
        grid-template-columns: 1fr;
    }
}
