:root {
    /* Color palette */
    --verde-botella: #112524;
    --verde-cristal: #224038;
    --verde-claro: #7FB198;
    --celeste: #73949E;
    --gris-nube: #EAE9E3;
    --rojo-incendio: #461111;
    --rosado-atadecer: #F3A28D;
    --amarillo-sol: #F2C127;
    --amarillo-sol-hover: #b3932d;

    /* Summer Wine specific colors */
    --morado-intenso: #2D0A31;
    --morado-medio: #501A57;
    --naranja-citrico: #F89B36;
    --rojo-fruta: #C23D54;
    --verde-hoja: #4A7C59;

    /* Mapping to functional variables */
    --primary-black: var(--verde-botella);
    --secondary-black: var(--verde-cristal);
    --accent-red: var(--rojo-incendio);
    --soft-white: var(--gris-nube);

    /* Summer Wine specific variables */
    --summer-primary: var(--morado-intenso);
    --summer-secondary: var(--morado-medio);
    --summer-accent: var(--naranja-citrico);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--soft-white);
    color: var(--primary-black);
    line-height: 1.6;
}

.navbar {
    background-color: #1a1a1a;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: white;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--amarillo-sol);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--amarillo-sol);
}

.product-hero {
    padding-top: 80px;
    background-color: var(--morado-intenso);
    color: white;
    background-image: linear-gradient(to right, var(--morado-intenso), var(--morado-medio));
    position: relative;
    overflow: hidden;
}


.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/bg-summer.jpeg');
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    opacity: 0.15;
    z-index: 0;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.product-image {
    width: 100%;
    /* border-radius: 15px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
}

.product-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-subtitle {
    color: var(--naranja-citrico);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.product-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    height: 90px;
}

.product-specs {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--naranja-citrico);
}

.specs-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--naranja-citrico);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    margin-bottom: 0.5rem;
}

.specs-list li:before {
    content: "•";
    color: var(--naranja-citrico);
    font-weight: bold;
    margin-right: 0.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--naranja-citrico);
    color: var(--morado-intenso);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: var(--morado-intenso);
    color: var(--naranja-citrico);
    border: 2px solid var(--naranja-citrico);
    transform: translateY(-2px);
}

.product-details {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.details-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--verde-botella);
    font-weight: bold;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gris-nube);
    border-radius: 50%;
}

.detail-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--verde-cristal);
}

.footer {
    background-color: var(--primary-black);
    color: white;
    padding: 4rem 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--verde-claro);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--rosado-atadecer);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 200;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

/* Recommendation Section */
.recommendations {
    padding: 4rem 2rem;
    background-color: var(--verde-cristal);
    color: white;
}

.recommendations-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: bold;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recommendation-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.recommendation-card:hover {
    transform: scale(1.03);
}

.recommendation-title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--amarillo-sol);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        gap: 2rem;
        z-index: 150;
    }

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

    .burger-menu {
        display: flex;
    }

    .product-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .product-title {
        font-size: 2.5rem;
    }

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

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

    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@font-face {
    font-family: 'Din-Din';
    src: url('/assets/fonts/DIN/D-DIN.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Din-Din';
    src: url('/assets/fonts/DIN/D-DIN-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Apply the fonts to specific elements */
body {
    font-family: 'Din-Din', sans-serif;
}

p {
    font-family: 'Lato', sans-serif;
}


:root {
    /* Updated color palette based on the provided image */
    --verde-botella: #112524;
    --verde-cristal: #224038;
    --verde-claro: #7FB198;
    --celeste: #73949E;
    --gris-nube: #EAE9E3;
    --rojo-incendio: #461111;
    --rosado-atadecer: #F3A28D;
    --amarillo-sol: #F2C127;
    --amarillo-sol-hover: #b3932d;

    /* Mapping to functional variables */
    --primary-black: var(--verde-botella);
    --secondary-black: var(--verde-cristal);
    --accent-red: var(--rojo-incendio);
    --soft-white: var(--gris-nube);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: 'Open Sans', sans-serif; */
    background-color: var(--soft-white);
    color: var(--primary-black);
    line-height: 1.6;
}

.navbar {
    background-color: #1a1a1a;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    /* font-family: 'Bebas Neue', cursive; */
    color: white;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--amarillo-sol);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--amarillo-sol);
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    padding: 10rem 5% 5rem;
}

.hero-video {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(17, 37, 36, 0.7);
    /* Verde botella with transparency */
    padding: 2rem;
    display: inline-block;
    border-radius: 8px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-title {
    /* font-family: 'Bebas Neue', cursive; */
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.hero-cta {
    display: inline-block;
    background-color: var(--amarillo-sol);
    color: var(--verde-botella);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--amarillo-sol-hover);
    /* Darker shade of rojo-incendio */
}

.buy-a {
    background-color: var(--amarillo-sol);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    display: inline-block;
    color: var(--verde-botella);
}

.buy-a:hover {
    /* background-color: var(--amarillo-sol-hover); */
    color: var(--verde-botella);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}


.products-section {
    padding: 4rem 5%;
    background-color: var(--soft-white);
}

.section-title {
    /* font-family: 'Bebas Neue', cursive; */
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

#carouselContent {
    display: flex;
    overflow-x: auto;
    /* scroll-snap-type: x mandatory; */
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
}

#carouselContent::-webkit-scrollbar {
    display: none;
}

.product-card-wrapper {
    flex: 0 0 auto;
    width: 300px;
    /* scroll-snap-align: start; */
    margin-right: 1rem;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: scale-down;
}

.product-details {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--verde-cristal);
}

/* .product-description {
    color: #666;
    margin-bottom: 1rem;
    height: 90px;
} */

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1.2rem;
}

.buy-button {
    background-color: var(--primary-black);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: var(--accent-red);
}

.footer {
    background-color: var(--primary-black);
    color: white;
    padding: 4rem 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    /* font-family: 'Bebas Neue', cursive; */
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--verde-claro);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--rosado-atadecer);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 200;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        gap: 2rem;
        z-index: 150;
    }

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

    .burger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    #carouselContent {
        padding-bottom: 1rem;
    }

    .product-card-wrapper {
        margin-right: 0.5rem;
    }

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

    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@font-face {
    font-family: 'Din-Din';
    src: url('/assets/fonts/DIN/D-DIN.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Din-Din';
    src: url('/assets/fonts/DIN/D-DIN-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Apply the fonts to specific elements */
body {
    font-family: 'Din-Din', sans-serif;
}

p {
    font-family: 'Lato', sans-serif;
}

.product-logo {
    width: 100px;
    height: auto;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
    gap: 10px;
}

.product-title {
    margin: 0;
}