
/* =========================================
   BODY
========================================= */

body {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

/* =========================================
   NAVBAR
========================================= */

.bg-color {
    background-color: #4c5dc3;
}

.logo {
    height: 150px !important;
    width: 350px !important;
}

.navbar-toggler {
    border-color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.styled-nav {
    color: #ececee !important;
    font-size: 21px;
    border: 2px solid #ececee;
    border-radius: 10px;
    padding: 6px 18px;
    display: inline-block;
    text-align: center;
    min-width: 150px;
    transition: all 0.3s ease-in-out;
}

.styled-nav:hover {
    font-weight: 700;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    letter-spacing: 1.7px;
}

.navbar {
    box-shadow: 0 4px 6px -2px #ececee;
}

.navbar img {
    height: 60px;
    width: 200px;
    border-radius: 10px;
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================
   MOBILE NAVBAR
========================================= */

@media (max-width: 991.98px) {
    .navbar-brand .logo {
        height: 56px !important;
        width: auto !important;
    }

    .navbar img {
        height: auto !important;
        width: auto !important;
    }

    .navbar-toggler {
        padding: .25rem .5rem;
        border-color: #ececee;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        box-shadow: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar .container-fluid {
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

    .navbar-collapse {
        padding-top: .5rem;
    }

    .navbar-nav .nav-item {
        margin: .25rem 0;
    }

    .styled-nav {
        display: block;
        width: 100%;
        min-width: 0;
        font-size: 18px;
        padding: 10px 14px;
        border: 1px solid #ececee;
        border-radius: 12px;
        color: #ececee !important;
        background: transparent;
        text-align: left;
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
        letter-spacing: 0 !important;
        font-weight: 500;
    }

    .styled-nav:hover,
    .styled-nav:active,
    .styled-nav:focus {
        background: rgba(255, 255, 255, 0.08);
        color: #ececee !important;
        border-color: #ececee;
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
        letter-spacing: 0 !important;
    }

    .btn-contact {
        border: 1px solid #ececee !important;
        color: #ececee !important;
        background: transparent !important;
        width: 100%;
        border-radius: 12px;
        padding: 10px 14px;
    }
}

/* =========================================
   WINE COVER PHOTO
========================================= */

.wine-cover-container {
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wine-cover-container img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

/* =========================================
   WINES SECTION
   Natural colors matching the cover photo
========================================= */

.wines-section {
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(101, 116, 74, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(139, 111, 75, 0.10),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #f4f1e8 0%,
            #e9e5d8 100%
        );
}

/* =========================================
   WINE HEADING
========================================= */

.wine-heading {
    text-align: center;
    margin-bottom: 60px;
}

.wine-subtitle {
    color: #65744a;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 700;
}

.wine-heading h2 {
    font-size: 48px;
    color: #263b2b;
    margin-bottom: 15px;
    font-weight: 700;
}

.wine-heading p {
    color: #666b5d;
    font-size: 17px;
}

/* =========================================
   WINE CARDS
========================================= */

.wine-card {
    height: 100%;
    background: #fffdf8;
    border-radius: 18px;
    overflow: hidden;

    border: 1px solid rgba(83, 100, 65, 0.18);

    box-shadow:
        0 10px 30px rgba(39, 52, 34, 0.10);

    position: relative;
    transform-style: preserve-3d;
    will-change: transform;

    transition:
        transform 1s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.8s ease;
}

.wine-card:hover {
    transform: translateY(-18px) scale(1.025);

    border-color: rgba(101, 116, 74, 0.65);

    box-shadow:
        0 35px 70px rgba(39, 52, 34, 0.18),
        0 15px 30px rgba(101, 116, 74, 0.12);
}

/* 3D layer behind card */

.wine-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35),
        transparent 45%,
        rgba(101, 116, 74, 0.08)
    );

    opacity: 0;
    transform: translateZ(20px);
    transition: opacity 1s ease;

    pointer-events: none;
    z-index: 2;
}

.wine-card:hover::before {
    opacity: 1;
}

/* =========================================
   WINE IMAGE
========================================= */

.wine-image {
    height: 500px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.wine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1s ease;

    will-change: transform;
}

.wine-card:hover .wine-image img {
    transform: scale(1.12);

    filter:
        brightness(1.05)
        saturate(1.08)
        contrast(1.02);
}

/* Natural green overlay */

.wine-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.12),
        transparent 35%,
        rgba(38, 59, 43, 0.25)
    );

    opacity: 0;
    transition:
        opacity 1s ease,
        transform 1.4s ease;

    transform: translateX(-15%);
    pointer-events: none;
}

.wine-card:hover .wine-image::after {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   WINE INFO
========================================= */

.wine-info {
    padding: 28px;
    border-top: 3px solid #65744a;
    background: #fffdf8;
    position: relative;
    z-index: 3;

    transition:
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.wine-card:hover .wine-info {
    transform: translateZ(12px);
}

.wine-info h3 {
    color: #354b35;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 12px;

    transition:
        color 0.8s ease,
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.wine-card:hover .wine-info h3 {
    color: #65744a;
    transform: translateX(8px);
}

.wine-info p {
    color: #666b5d;
    line-height: 1.7;
}

/* =========================================
   SLOW SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(90px)
        scale(0.92)
        rotateX(8deg);

    transform-origin: center bottom;

    transition:
        opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);

    will-change: transform, opacity;
}

.reveal.show {
    opacity: 1;

    transform:
        translateY(0)
        scale(1)
        rotateX(0);
}

/* =========================================
   STAGGER — CARDS ENTER ONE AFTER ANOTHER
========================================= */

.wines-section .row > .reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.wines-section .row > .reveal:nth-child(2) {
    transition-delay: 0.18s;
}

.wines-section .row > .reveal:nth-child(3) {
    transition-delay: 0.31s;
}

.wines-section .row > .reveal:nth-child(4) {
    transition-delay: 0.44s;
}

.wines-section .row > .reveal:nth-child(5) {
    transition-delay: 0.57s;
}

.wines-section .row > .reveal:nth-child(6) {
    transition-delay: 0.70s;
}

/* =========================================
   MOBILE — WINES SECTION
========================================= */

@media (max-width: 768px) {

    .wines-section {
        padding: 70px 20px;
    }

    .wine-heading h2 {
        font-size: 34px;
    }

    .wine-image {
        height: 330px;
    }

    .wine-info {
        padding: 24px;
    }

    .wine-card {
        transform-style: flat;

        transition:
            transform 0.8s ease,
            box-shadow 0.8s ease;
    }

    .wine-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .wine-card:hover .wine-image img {
        transform: scale(1.06);
    }

    .reveal {
        transform:
            translateY(60px)
            scale(0.96);

        transition:
            opacity 1.1s ease,
            transform 1.1s ease;
    }

    .reveal.show {
        transform:
            translateY(0)
            scale(1);
    }
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background-color: #4c5dc3;
    color: #ececee;
    font-family: 'Roboto', sans-serif;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-link {
    color: #ececee;
    text-decoration: none;
    transition: color 0.3s;
}

.footer p,
.footer li {
    font-size: 1.3rem;
    line-height: 1.6;
}

.footer-logo {
    height: 150px;
    width: 300px;
    border-radius: 10px;
}

/* =========================================
   MOBILE FOOTER
========================================= */

@media (max-width: 991.98px) {

    .footer {
        border-top: 1px solid #ececee;
        padding-top: 1rem;
    }

    .footer .container {
        margin-top: 1.5rem !important;
    }

    .footer .row > [class*="col-"] {
        text-align: center;
        margin-bottom: .75rem;
    }

    .footer .footer-logo img,
    .footer img.footer-logo {
        height: 56px;
        width: auto;
        border-radius: 10px;
    }

    .footer .footer-title {
        color: #ececee;
        margin-bottom: .25rem;
        font-weight: 700;
    }

    .footer .footer-link {
        color: #ececee;
        text-decoration: none;
    }

    .footer .footer-link:hover {
        text-decoration: underline;
    }

    .footer p {
        margin-bottom: .25rem;
    }

    .footer .text-center small {
        display: inline-block;
        margin-top: .5rem;
    }
}
