/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --gold: #c9a84c;
    --gold-light: #e2c97e;
    --dark: #111111;
    --dark2: #1e1e1e;
    --white: #ffffff;
    --gray: #f5f5f5;
    --text: #333;
    --text-light: #777;
    --green-wa: #25D366;
    --green-wa-dark: #128C7E;
    --red: #e74c3c;
    --radius: 12px;
    --shadow: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 5%;
    height: 72px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-img { height: 45px; width: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
}
.nav-links a {
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.cart-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: var(--gold);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    margin-left: 20px;
    flex-shrink: 0;
}
.cart-icon:hover { background: var(--gold-light); transform: scale(1.04); }

.cart-badge {
    background: var(--dark);
    color: var(--gold);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 88vh;
    background: url('https://images.unsplash.com/photo-1519699047748-de8e457a634e?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 20px;
    max-width: 750px;
}
.hero-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 22px;
    letter-spacing: 1px;
}
.hero-content h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}
.hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
}
.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(201,168,76,0.35);
}
.btn-primary.large { padding: 16px 38px; font-size: 1.1rem; }

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.3s;
}
.btn-wa:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ============================================================
   INFO BANNER
   ============================================================ */
.info-banner {
    background: var(--dark2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 5%;
    border-bottom: 3px solid var(--gold);
}
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.95rem;
}
.info-item i { color: var(--gold); font-size: 1.3rem; }

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section { padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
}
.section-title.white { color: var(--white); }
.section-sub { color: var(--text-light); margin-top: 10px; font-size: 1.05rem; }
.section-sub.white { color: rgba(255,255,255,0.7); }
.section-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-tag.light { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image { transform: scale(1.07); }

/* Thumbnails (product gallery) */
.product-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 14px 0;
    overflow-x: auto;
}
.product-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: border-color 0.2s, transform 0.2s;
    background: #f0f0f0;
}
.product-thumb:hover { transform: scale(1.05); }
.product-thumb.active { border-color: var(--gold); }

.out-of-stock-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--red);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.product-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 14px;
    line-height: 1.5;
}
.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 14px;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-add-cart:hover:not(:disabled) {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.02);
}
.btn-add-cart:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: var(--gray);
    padding: 6rem 5%;
}
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}
.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
    background: var(--dark);
    padding: 6rem 5%;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}
.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}
.why-card:hover {
    background: rgba(201,168,76,0.1);
    border-color: var(--gold);
    transform: translateY(-6px);
}
.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--dark);
}
.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.why-card p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }

/* ============================================================
   PARTNER SECTION
   ============================================================ */
.partner-section {
    position: relative;
    background: url('images/socio_bg.png') center/cover no-repeat;
    padding: 7rem 5%;
    text-align: center;
    color: var(--white);
}
.partner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(10,10,10,0.9) 100%);
}
.partner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.partner-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--gold);
}
.partner-content > p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-weight: 300;
}
.partner-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}
.partner-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}
.partner-feature i { color: var(--gold); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background-color: var(--green-wa);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: pulseRing 2.5s infinite;
}
.whatsapp-float:hover {
    background-color: var(--green-wa-dark);
    color: var(--white);
    transform: scale(1.12) rotate(8deg);
}

@keyframes pulseRing {
    0%   { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }

.cart-sidebar {
    position: fixed;
    top: 0; right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--white);
    z-index: 900;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}
.cart-sidebar.active { right: 0; }

.cart-header {
    padding: 22px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}
.cart-header h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.close-btn {
    background: none; border: none; color: var(--white);
    font-size: 1.4rem; cursor: pointer; transition: transform 0.2s;
}
.close-btn:hover { transform: rotate(90deg); }

.cart-items { flex-grow: 1; overflow-y: auto; padding: 20px 24px; }

.cart-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-light);
}
.cart-empty i { font-size: 3rem; color: #ddd; display: block; margin-bottom: 15px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-item img {
    width: 65px; height: 65px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.cart-item-info { flex-grow: 1; }
.cart-item-title { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.cart-item-price { color: var(--gold); font-weight: 800; font-size: 1rem; margin-top: 4px; }
.cart-item-qty { font-size: 0.82rem; color: var(--text-light); margin-top: 2px; }
.remove-item {
    background: none; border: none;
    color: #ccc; font-size: 1.1rem;
    cursor: pointer; padding: 5px;
    transition: color 0.2s;
}
.remove-item:hover { color: var(--red); }

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
    background: var(--gray);
}
.cart-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}
.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--green-wa);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
}
.btn-checkout:hover { background: var(--green-wa-dark); }
.checkout-note { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 10px; }

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.low-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
}
.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.checkout-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.checkout-modal-content {
    background: var(--white);
    width: 100%;
    max-width: 550px;
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}
.checkout-modal.active .checkout-modal-content {
    transform: translateY(0);
}
.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal-btn:hover { color: var(--dark); }

.checkout-modal-header {
    text-align: center;
    margin-bottom: 25px;
}
.checkout-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}
.checkout-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-row {
    display: flex;
    gap: 15px;
}
.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}
.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.input-group textarea {
    resize: vertical;
}

.btn-checkout-submit {
    width: 100%;
    padding: 15px;
    background: var(--green-wa);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    margin-top: 10px;
}
.btn-checkout-submit:hover { 
    background: var(--green-wa-dark); 
    transform: translateY(-2px);
}

@media (max-width: 500px) {
    .form-row { flex-direction: column; gap: 15px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    text-align: center;
}
.footer-inner {
    padding: 3rem 5% 1.5rem;
}
.footer-inner h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
}
.footer-inner p { margin-bottom: 16px; }
.footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-wa);
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    transition: background 0.3s;
}
.footer-wa:hover { background: var(--green-wa-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1rem 5%;
    font-size: 0.82rem;
}

/* Social Links */
.social-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.social-title-footer {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
}
.social-btn {
    height: 44px;
    padding: 0 14px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    color: #fff;
    transition: transform 0.35s, box-shadow 0.35s;
    text-decoration: none;
}
.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    color: #fff;
}
.social-username {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.social-btn.facebook {
    width: 44px;
    padding: 0;
    border-radius: 50%;
    background: #1877F2;
}
.social-btn.facebook:hover  { box-shadow: 0 8px 20px rgba(24,119,242,0.5); }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.instagram:hover { box-shadow: 0 8px 20px rgba(220,39,67,0.5); }
.social-btn.tiktok    { width: 44px; padding: 0; border-radius: 50%; background: #010101; border: 1px solid rgba(255,255,255,0.2); }
.social-btn.tiktok:hover    { box-shadow: 0 8px 20px rgba(255,255,255,0.15); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.85s forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .about-container { grid-template-columns: 1fr; }
    .about-image img { height: 250px; }
}
