/*
Theme Name: Ostertag Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Logo container */
.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo image */
.site-logo img {
    max-height: 150px;  /* Adjust height as needed */
    width: auto;       /* Keep aspect ratio */
    display: block;
}

.wine-page {
    max-width: 80%;
    margin: auto;
    padding: 30px;
    font-family: 'Avenir', sans-serif;
}

.wine-hero {
    text-align: center;
    margin-bottom: 40px;
}

.wine-hero-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.wine-title {
    margin-top: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #003300;
}

.wine-button {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: #003300;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s;
}

.wine-button:hover {
    background: #005500;
}


.card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.wine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.wine-grid>div{
    border-bottom: solid 1px #d6d6d6;
    display: flex;
    justify-content: space-between;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.nutrition-grid > div {
    border-bottom: solid 1px #d6d6d6;
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}



/* Responsive */
@media (max-width: 768px) {
    .nutrition-grid {
        grid-template-columns: 1fr;
    }
}


.label-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.label-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.wine-description-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Description on the left – 60% width */
.wine-description-text {
    flex: 0 0 60%;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* Image on the right – 40% width */
.wine-description-image {
    flex: 0 0 35%;
}

.wine-description-image img {
    width: 100%;     /* Fill its container */
    height: auto;    /* Keep aspect ratio */
    border-radius: 12px;
}

.site-footer {
    background: #003300;
    color: #fff;
    padding: 25px 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    gap: 20px;
}

/* Logo */
.footer-logo img {
    max-height: 50px;
    width: auto;
}

/* Copyright */
.footer-copy {
    font-size: 0.9rem;
    text-align: center;
    flex: 1 1 auto;
}

/* Social Links */
.footer-social a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-social a {
        margin: 0 10px;
    }
}


/* Responsive – stack vertically on small screens */
@media (max-width: 1024px) {
    .wine-grid {
        grid-template-columns: 1fr;
    }
    .label-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .wine-description-section {
        flex-direction: column;
    }
    .wine-description-text,
    .wine-description-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .wine-title {
        font-size: 2rem;
    }
    .wine-page {
        padding: 20px;
    }
    .label-logo {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .wine-title {
        font-size: 1.8rem;
    }
    .wine-description-text {
        font-size: 1rem;
    }
    .wine-hero {
        margin-bottom: 20px;
    }
    .card {
        padding: 15px;
    }
}
