/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #e67e22; /* Brilliant Orange */
    --primary-hover: #cf6e1b;
    --secondary: #9caf88; /* Sage Green */
    --bg-color: #f8f5f2; /* Warm Beige */
    --white: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #e5e0d8;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Tools */
.playfair {
    font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.w-100 {
    width: 100%;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}

.section-title.text-left {
    text-align: left;
    margin-bottom: 1rem;
}

.section-title h2 span {
    color: var(--primary);
    font-style: italic;
}

/* To mimic the line behind the text in titles from the layout */
.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 1px;
    background-color: var(--border-color);
    z-index: -1;
}

.section-title.text-left::before {
    left: 0;
    transform: translateY(-50%);
    width: 100%;
}

/* --- HEADER & NAV --- */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--bg-color);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.nav-menu a:hover {
    color: var(--primary);
}

.cart-icon {
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    color: var(--text-main);
}

.cart-icon:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--secondary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255,255,255,0.98);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-overlay ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-overlay a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 30% difuminado oscuro para el texto blanco */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 4rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero h2 span {
    font-style: italic;
    font-weight: 600;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    margin-bottom: 2rem;
}

/* --- VALUE PROPOSITION --- */
.value-props {
    padding: 4rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1px) auto auto; /* Workaround for centering */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.value-item {
    padding: 1rem;
    position: relative;
}

/* Separators */
.value-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
}

.icon-wrapper {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* --- PRODUCT GALLERY --- */
.gallery {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.product-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-img-wrapper {
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.product-img-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* THE REQUESTED BLACK AND WHITE TO COLOR HOVER EFFECT */
.bw-hover {
    filter: grayscale(100%);
    transition: filter 0.8s ease, transform 0.5s ease;
}

.bw-hover.colorized {
    filter: grayscale(0%);
}

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

.product-info-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
}

.product-text-left h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.product-text-left .price-range {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.btn-icon-order {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.2rem;
}

.btn-icon-order:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.btn-icon-order i {
    pointer-events: none;
}

/* --- ABOUT SECTION --- */
.about-banner {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background-color: var(--bg-color);
}

.about-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    object-position: right center;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(248,245,242,0.95) 0%, rgba(248,245,242,0.85) 40%, transparent 100%);
    z-index: 1;
}

.about-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.about-text-box {
    max-width: 550px;
}

.golden-text {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.about-text-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* --- HOW TO ORDER --- */
.how-to-order {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.step-card {
    text-align: left;
    padding: 2rem 1.5rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--primary);
    background-color: rgba(230, 126, 34, 0.06);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 1.5rem;
    width: 30px;
    height: 30px;
    background-color: var(--bg-color);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
}

.step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- CONTACT & FOOTER --- */
.footer-contact-wrapper {
    background: url('../fotos flores/ChatGPT Image 25 abr 2026, 11_44_32 a.m..png') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    padding-top: 6rem;
    z-index: 1;
}

.footer-contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 245, 242, 0.65); /* Capa semi-transparente para legibilidad */
    z-index: -1;
}

.contact-unified-card {
    display: flex;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    margin: 0 auto 4rem auto;
    max-width: 950px;
}

@media (max-width: 768px) {
    .contact-unified-card {
        flex-direction: column;
    }
}

.contact-form-side {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-side h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.contact-form-side p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-map-side {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.contact-map-side iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-side .input-group {
    margin-bottom: 1.5rem;
}

.contact-form-side .input-group input, 
.contact-form-side .input-group textarea {
    width: 100%;
    background-color: #f5f5f5;
    border: none;
    border-radius: 25px;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.contact-form-side .input-group input:focus, 
.contact-form-side .input-group textarea:focus {
    outline: none;
    background-color: #eaeaea;
}

.contact-form-side .input-group textarea {
    border-radius: 15px;
}

.btn-pill {
    border-radius: 25px;
}


footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    font-size: 1.2rem;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
}

.socials a:hover {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.footer-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--primary);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.4);
}

/* --- MODALS --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 300;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.modal-img-container img {
    width: 100%;
    border-radius: 8px;
    height: 350px;
    object-fit: cover;
}

.modal-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.modal-details p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.size-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.size-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.size-radio input {
    margin-right: 10px;
    accent-color: var(--primary);
}

.size-label {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.size-label span {
    color: var(--primary);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 400;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: var(--shadow-hover);
    border-radius: 4px;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--text-main);
    cursor: pointer;
}

/* --- SIDEBAR CART --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 500;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 450;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color);
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.cart-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cart-item-details p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
}

.remove-item {
    color: #ff4d4d;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .value-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-text {
        order: 2;
        text-align: center;
    }
    .about-text .section-title.text-left {
        text-align: center;
    }
    .about-text .section-title.text-left::before {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
    }
    .about-img {
        order: 1;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h2 {
        font-size: 3rem;
    }
    .value-grid, .gallery-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    .value-item:not(:last-child)::after {
        display: none;
    }
    .modal-body {
        grid-template-columns: 1fr;
    }
    .modal-img-container img {
        height: 200px;
    }
    .section-title::before {
        display: none;
    }
}
