:root {
    --wine-primary: #800000; /* Maroon */
    --wine-secondary: #006400; /* Dark Green */
    --wine-white: #ffffff; /* White */
    --wine-tertiary: #f9f3e9;
    --text-dark: #333333;
    --text-light: #555555; /* Slightly darker for better contrast */
    --border-light: #eeeeee;
}

body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Italian Imagery Section */
.italian-imagery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
}

.imagery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 250px;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem; /* Increased from 1.5rem */
    text-align: center;
}

/* Welcome Message */
.welcome-message {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--wine-primary);
    border-right: 4px solid var(--wine-secondary);
}

.welcome-message h2 {
    font-family: 'Dancing Script', cursive;
    color: var(--wine-primary);
    font-size: 3.2rem; /* Increased from 2.8rem */
    margin-bottom: 1.5rem;
}

.welcome-message p {
    color: var(--text-light);
    font-size: 1.4rem; /* Increased from 1.2rem */
    line-height: 1.8;
    font-weight: 400;
}

/* Showcase Section */
.showcase-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
}

.showcase-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.wine-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.showcase-image:hover .wine-image {
    transform: scale(1.02);
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.showcase-content h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem; /* Increased from 2.4rem */
    font-weight: 600;
    color: var(--wine-primary);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.showcase-content p {
    font-size: 1.2rem; /* Increased from 1.05rem */
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
    max-width: 90%;
    font-weight: 400;
}

.stats-row {
    display: flex;
    gap: 50px;
    margin-top: 10px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-value {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem; /* Increased from 2.2rem */
    font-weight: 700;
    color: var(--wine-primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem; /* Increased from 0.9rem */
    color: var(--text-light);
    font-weight: 500;
}

/* Premium Wine Collection Section */
.wine-collection-section {
    max-width: 1200px;
    margin: 100px auto 100px;
    padding: 60px 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(128, 0, 0, 0.05);
}

.collection-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1 1h2v2H1V1zm4 0h2v2H5V1zm4 0h2v2H9V1zm4 0h2v2h-2V1zm4 0h2v2h-2V1zm0 4h2v2h-2V5zM1 5h2v2H1V5zm8 0h2v2H9V5zm4 0h2v2h-2V5zM5 5h2v2H5V5zm-4 4h2v2H1V9zm4 0h2v2H5V9zm4 0h2v2H9V9zm4 0h2v2h-2V9zm4 0h2v2h-2V9zM1 13h2v2H1v-2zm4 0h2v2H5v-2zm4 0h2v2H9v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zM1 17h2v2H1v-2zm4 0h2v2H5v-2zm4 0h2v2H9v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z" fill="rgba(128,0,0,0.03)" fill-rule="evenodd"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

/* Enhanced Header with Decorative Elements */
.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.header-line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: var(--wine-primary);
}

.header-icon {
    margin: 0 15px;
    font-size: 1.8rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-header h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    color: var(--wine-primary);
    margin: 0 0 25px 0;
    position: relative;
    display: inline-block;
}

.section-header h3::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background-color: var(--wine-secondary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.6;
    font-weight: 400;
}

/* Split the categories into two rows with a divider */
.collection-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(128, 0, 0, 0.05), rgba(128, 0, 0, 0.3), rgba(128, 0, 0, 0.05));
    max-width: 200px;
}

.wine-icon {
    margin: 0 20px;
    font-size: 1.2rem;
    color: var(--wine-primary);
}

/* Collection Footer with View All Button */
.collection-footer {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wine-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(128, 0, 0, 0.3);
    font-weight: 500;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    background-color: #600000;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.4);
}

.arrow-icon {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.view-all-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* Wine Categories Grid */
.wine-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Enhanced Wine Category Card */
.wine-category {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.wine-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(128, 0, 0, 0.15);
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Premium Image Container */
.category-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.wine-category:hover .category-image img {
    transform: scale(1.08);
}

/* Luxury Overlay Effect */
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.6) 30%,
    rgba(0,0,0,0.1) 70%,
    transparent 100%);
    padding: 40px 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.5s ease;
}

.wine-category:hover .category-overlay {
    opacity: 1;
}

/* Premium Category Tag */
.category-tag {
    display: inline-block;
    background-color: var(--wine-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.1s;
    max-width: fit-content;
}

.wine-category:hover .category-tag {
    transform: translateY(0);
    opacity: 1;
}

/* Premium Category Title */
.category-overlay h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.4rem;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.2s;
}

.wine-category:hover .category-overlay h4 {
    transform: translateY(0);
    opacity: 1;
}

/* Luxury Explore Button */
.explore-btn {
    display: inline-block;
    color: white;
    background-color: rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.5s ease;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(20px);
    opacity: 0;
    transition-delay: 0.3s;
    font-weight: 500;
    max-width: fit-content;
}

.wine-category:hover .explore-btn {
    transform: translateY(0);
    opacity: 1;
    background-color: var(--wine-primary);
    border-color: var(--wine-primary);
}

.explore-btn:hover {
    background-color: white !important;
    color: var(--wine-primary) !important;
    border-color: white !important;
}

/* Premium Category Details */
.category-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    min-height: 150px;
}

.category-details h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    color: var(--wine-primary);
}

.category-details p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Premium Wine Category Colors */
.wine-category.red .category-tag {
    background-color: #8B0000;
}

.wine-category.white .category-tag {
    background-color: #6B8E23;
}

.wine-category.rose .category-tag {
    background-color: #DB7093;
}

.wine-category.sweet .category-tag {
    background-color: #B8860B;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .wine-categories {
        gap: 30px;
    }

    .category-image {
        height: 320px;
    }

    .wine-collection-section {
        padding: 40px 30px;
    }
}

@media (max-width: 992px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 60px auto;
    }

    .showcase-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .showcase-content p {
        max-width: 100%;
    }

    .imagery-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .wine-categories {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .category-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .welcome-message h2 {
        font-size: 2.8rem;
    }

    .welcome-message p {
        font-size: 1.25rem;
    }

    .showcase-container {
        margin: 40px auto;
        padding: 0 20px;
    }

    .showcase-content h2 {
        font-size: 2.6rem;
    }

    .showcase-content p {
        font-size: 1.15rem;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 30px 60px;
    }

    .stat-item {
        min-width: 120px;
    }

    .section-header h3 {
        font-size: 2.8rem;
    }

    .section-header p {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .wine-collection-section {
        margin: 70px auto 60px;
        padding: 30px 20px;
    }

    .category-image {
        height: 300px;
    }

    .category-overlay h4 {
        font-size: 2rem;
    }

    .category-overlay {
        padding: 30px 25px;
    }

    .image-caption {
        font-size: 1.6rem;
    }

    .divider-line {
        max-width: 120px;
    }

    .view-all-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .wine-categories {
        max-width: 400px;
    }

    .section-header h3 {
        font-size: 2.5rem;
    }

    .wine-collection-section {
        margin: 50px auto 40px;
    }

    .category-image {
        height: 250px;
    }

    .category-details {
        padding: 25px;
    }

    .category-details h4 {
        font-size: 1.6rem;
    }

    .category-details p {
        font-size: 1.05rem;
    }

    .category-tag {
        padding: 7px 14px;
        font-size: 0.9rem;
    }

    .category-overlay h4 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .explore-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .header-line {
        width: 40px;
    }

    .header-icon {
        font-size: 1.5rem;
        margin: 0 10px;
    }

    .divider-line {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .welcome-message h2 {
        font-size: 2.5rem;
    }

    .welcome-message p {
        font-size: 1.15rem;
    }

    .showcase-content h2 {
        font-size: 2.2rem;
    }

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

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-light);
    }

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

    .image-caption {
        font-size: 1.4rem;
    }

    .wine-collection-section {
        padding: 25px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .view-all-btn {
        padding: 10px 20px;
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 400px) {
    .category-image {
        height: 220px;
    }

    .category-overlay {
        padding: 25px 20px;
    }

    .section-header h3 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .wine-collection-section {
        padding: 20px 15px;
    }

    .collection-divider {
        margin: 30px 0;
    }

    .wine-icon {
        margin: 0 10px;
    }
}

@media (max-width: 360px) {
    .category-image {
        height: 180px;
    }

    .category-overlay h4 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .explore-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}
