/* c:\dev\fortune\style.css */
/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-gold: #c5a059;
    --primary-dark: #1a1a1a;
    --primary-red: #e21a1a;
    --text-gray: #555;
    --bg-cream: #f9f7f2;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-cream);
    color: var(--text-gray);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-dark);
    font-weight: 600;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITY CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.page-spacer { height: 100px; }

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}
/* Transparent header for index page initial state */
header.header-transparent {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
header.scrolled {
    padding: 0.8rem 0;
}
header.header-transparent.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
}
.logo span { color: var(--primary-gold); }
.logo img { height: 30px; margin-left: 10px; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-gold);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-dark); }

/* --- HERO SECTION (Index) --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 10;
    text-align: center; color: white;
    max-width: 800px; padding: 0 20px;
}
.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    animation: fadeUp 1s ease-out forwards;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeUp 1s ease-out 0.3s forwards;
    opacity: 0;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.play-pause-btn {
    position: absolute; bottom: 30px; right: 30px; z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white; width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.play-pause-btn:hover { background: white; color: var(--primary-dark); }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-btns {
    display: flex; justify-content: center; gap: 15px;
    margin-top: 2rem; animation: fadeUp 1s ease-out 0.6s forwards; opacity: 0;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-gold {
    background-color: var(--primary-gold);
    color: white;
    border: 1px solid var(--primary-gold);
}
.btn-gold:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}
/* Fix for btn-gold on white background (like in products section) */
section[style*="white"] .btn-gold:hover, 
.google-btn-container .btn-gold:hover,
.reveal .btn-gold:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}
/* Revert for hero */
.hero .btn-gold:hover {
    color: white;
    border-color: white;
}

.btn-hero-wa {
    background-color: #25D366;
    color: white;
    border: 1px solid #25D366;
}
.btn-hero-wa:hover {
    background-color: transparent;
    color: #25D366;
    border-color: #25D366;
}

/* --- SECTIONS COMMON --- */
.section-padding { padding: 6rem 5%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header span {
    display: block; color: var(--primary-gold);
    font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 10px; font-weight: 600;
}
.section-header h2 { font-size: 3rem; position: relative; display: inline-block; }

/* --- CATEGORIES (Index) --- */
.category-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; max-width: 1400px; margin: 0 auto;
}
.category-card {
    background: white; padding: 3rem 2rem; text-align: center;
    border-radius: 20px; border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm); transition: var(--transition);
    position: relative; overflow: hidden;
}
.category-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: var(--primary-gold); transform: scaleX(0);
    transition: var(--transition); transform-origin: left;
}
.category-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.category-card:hover::before { transform: scaleX(1); }
.cat-icon { font-size: 3rem; color: var(--primary-gold); margin-bottom: 1.5rem; display: inline-block; }

/* --- PRODUCTS --- */
/* Slider (Index) */
.product-slider-wrapper { position: relative; max-width: 1400px; margin: 0 auto; }
.product-grid {
    display: flex; gap: 2rem; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 1rem 0 2rem; scrollbar-width: none; -ms-overflow-style: none;
}
.product-grid::-webkit-scrollbar { display: none; }

/* Grid (Wellness) */
.wellness-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem; max-width: 1400px; margin: 0 auto;
}

/* Product Card Shared */
.product-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
/* Specific to slider */
.product-grid .product-card { width: 320px; flex: 0 0 auto; scroll-snap-align: start; }

.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-img-wrapper { height: 300px; overflow: hidden; position: relative; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.1); }

.offer-tag {
    position: absolute; top: 15px; right: 15px;
    background-color: var(--primary-red); color: white;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    z-index: 5; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.img-text-card {
    position: absolute; bottom: 15px; left: 15px;
    background-color: rgba(233, 229, 4, 0.979);
    padding: 6px 14px; border-radius: 8px;
    font-size: 0.75rem; font-weight: 600; color: var(--primary-dark);
    z-index: 5; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info { padding: 2rem; text-align: center; }
.product-cat { color: #999; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.product-title { font-size: 1.5rem; margin: 0.5rem 0; }
.read-more-btn {
    background: none; border: none; color: var(--primary-gold);
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    margin-bottom: 0.5rem; padding: 0;
}
.product-desc {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;
    font-size: 0.9rem; color: #666; padding: 0 10px;
}
.product-desc p { padding: 5px 0 15px; }
.product-rates {
    display: flex; justify-content: center; gap: 1.5rem;
    margin: 1rem 0 1.5rem; padding: 10px;
    background: rgba(0,0,0,0.02); border-radius: 10px;
}
.rate-item { display: flex; flex-direction: column; line-height: 1.2; }
.rate-item .time { font-size: 0.75rem; color: #888; font-weight: 600; text-transform: uppercase; }
.rate-item .price { color: var(--primary-gold); font-size: 1.1rem; font-weight: 700; }

.product-actions { display: flex; gap: 10px; padding: 0 1rem 1.5rem; }
.contact-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.btn-action {
    flex: 1; padding: 10px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; transition: var(--transition);
}
.btn-call { border: 1px solid var(--primary-dark); color: var(--primary-dark); }
.btn-call:hover { background: var(--primary-dark); color: white; }
.btn-whatsapp { background: #25D366; color: white; border: 1px solid #25D366; }
.btn-whatsapp:hover { background: #128C7E; border-color: #128C7E; }
.btn-location { background: var(--primary-dark); color: white; border: 1px solid var(--primary-dark); }
.btn-location:hover { background: transparent; color: var(--primary-dark); }

.prod-btn {
    position: absolute; top: 45%; transform: translateY(-50%);
    width: 50px; height: 50px; background: white;
    border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-dark); transition: var(--transition);
    font-size: 1.2rem;
}
.prod-btn:hover { background: var(--primary-gold); color: white; }
.prod-prev { left: -25px; }
.prod-next { right: -25px; }

/* --- FILTERS (Wellness) --- */
.filter-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 3rem; }
.filter-btn {
    background: transparent; border: 1px solid var(--primary-gold);
    color: var(--primary-dark); padding: 10px 30px; border-radius: 30px;
    cursor: pointer; font-family: 'Montserrat', sans-serif;
    font-weight: 600; text-transform: uppercase; font-size: 0.85rem;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary-gold); color: white; }
.product-card.hide { display: none; }
.product-card.show { animation: fadeIn 0.5s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PROMO BANNER --- */
.promo-banner {
    display: block;
    background: linear-gradient(135deg, var(--primary-gold), #e0c070);
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
    margin: 0 auto 3rem;
    border-radius: 15px;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse-gold 2s infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.promo-banner:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.5);
    animation: none;
}
.promo-banner h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.promo-banner p { font-size: 1.1rem; font-weight: 500; margin: 0; }
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* --- ABOUT SECTION (Index) --- */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto;
}
.about-image {
    position: relative; border-radius: 20px;
    overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-content h3 { font-size: 2rem; margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1.5rem; color: #666; }
.about-stats {
    display: flex; gap: 2rem; margin-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1); padding-top: 2rem;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
    font-family: 'Cormorant Garamond', serif; font-size: 2.5rem;
    color: var(--primary-gold); font-weight: 700; line-height: 1;
}
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }

/* --- REVIEWS (Index) --- */
.review-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1400px; margin: 0 auto;
}
.review-card {
    background: white; padding: 2rem; border-radius: 15px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition); position: relative;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.review-header { display: flex; align-items: center; margin-bottom: 1rem; }
.review-avatar {
    width: 45px; height: 45px; border-radius: 50%;
    background-color: var(--primary-gold); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; margin-right: 15px; font-size: 1.2rem;
}
.review-info h4 { font-size: 1rem; margin-bottom: 2px; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.review-stars { color: #f4b400; font-size: 0.85rem; }
.google-badge { position: absolute; top: 2rem; right: 2rem; color: #555; font-size: 1.2rem; }
.review-text { font-size: 0.95rem; color: #666; line-height: 1.6; font-style: italic; }
.google-btn-container { text-align: center; margin-top: 3rem; }

/* --- FOOTER --- */
footer { background-color: #111; color: #aaa; padding: 5rem 5% 2rem; font-size: 0.95rem; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem; max-width: 1400px; margin: 0 auto 4rem;
}
.footer-col h3 { color: white; margin-bottom: 1.5rem; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a:hover { color: var(--primary-gold); padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-top: 1.5rem; }
.social-links a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: var(--transition);
}
.social-links a:hover { background: var(--primary-gold); color: white; }
.copyright {
    text-align: center; border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem; font-size: 0.85rem;
}

/* --- SCROLL TO TOP --- */
.scroll-top-btn {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background-color: white; color: var(--primary-gold); border: none;
    border-radius: 50%; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer; z-index: 999; opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, background-color 0.4s ease, color 0.4s ease;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.scroll-top-btn.active { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background-color: var(--primary-gold); color: white; transform: translateY(-5px); }
.scroll-top-btn:hover .progress-ring__circle { stroke: white; }
.progress-ring { position: absolute; top: 0; left: 0; transform: rotate(-90deg); pointer-events: none; }
.progress-ring__circle { transition: stroke-dashoffset 0.1s; transform-origin: 50% 50%; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { order: -1; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: 0; height: 100vh; width: 70%;
        background: white; flex-direction: column; justify-content: center;
        align-items: center; gap: 2rem; transform: translateX(100%);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: transform 0.4s ease-in-out;
    }
    .nav-links.active { transform: translateX(0); }
    .menu-toggle { display: block; z-index: 1001; }
    
    .hero-content h1 { font-size: 3rem; }
    .section-header h2 { font-size: 2.2rem; }
    .logo img { height: 45px; }
    
    .hero-btns { gap: 10px; }
    .hero-btns .btn { padding: 10px 20px; font-size: 0.75rem; }
    
    .contact-actions { gap: 10px; }
    .contact-actions .btn { padding: 8px 12px; font-size: 0.6rem; flex: 1; }
    
    .prod-btn { display: none; }
    .product-grid {
        display: grid; grid-template-columns: 1fr;
        overflow-x: visible; scroll-snap-type: none;
    }
    .product-grid .product-card { width: 100%; }
    
    .wellness-grid { grid-template-columns: 1fr; }
    
    .review-grid {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        gap: 1.5rem; padding-bottom: 1rem; scrollbar-width: none;
    }
    .review-grid::-webkit-scrollbar { display: none; }
    .review-card { min-width: 85vw; scroll-snap-align: center; }
    
    .promo-banner { padding: 2rem 1rem; margin-bottom: 2.5rem; }
    .promo-banner h3 { font-size: 1.8rem; }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .category-card {
        padding: 1.5rem 1rem;
    }
    .cat-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .category-card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .wellness-main {
        display: flex;
        flex-direction: column;
    }
    #wellness-intro {
        order: 2;
    }
    #wellness-list {
        order: 1;
        padding-top: 2rem !important;
    }
}
