/* ATP Aventura - Premium Erotic Theme */
/* Colors: Deep Black, Gold/Bronze, Wine Red */

:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-purple: #6a1b9a;
    /* Darker Premium Purple */
    --accent-red: #800020;
    /* Keep for legacy if needed, but primary is now purple */
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* --- HEADER --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    padding: 0.8rem 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.75);
    /* Dark Translucent */
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    /* Capsule Shape */
}

/* Scrolled State for JS */
.navbar.scrolled {
    top: 10px;
    width: 95%;
    padding: 0.6rem 3%;
    background: rgba(5, 5, 5, 0.9);
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo img {
    max-width: 100%;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e0e0e0;
    /* Light text for dark navbar */
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-purple);
    text-shadow: 0 0 8px rgba(155, 89, 182, 0.5);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: #ffffff;
}

.nav-icons i,
#hamburger-btn {
    color: inherit !important;
    transition: transform 0.3s ease;
}

.nav-icons i:hover {
    transform: scale(1.1);
    color: var(--accent-purple);
}

.cart-trigger {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-purple);
    /* Purple badge */
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
}

#hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.hero-content {
    z-index: 10;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    padding: 12px 30px;
    background: var(--accent-purple);
    color: white;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
}

.btn-primary:hover {
    background: #6c3483;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 12px 30px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* --- CATALOG LAYOUT --- */
.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Sidebar Filters */
.filters {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding-right: 20px;
    border-right: 1px solid var(--glass-border);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent-gold);
    padding-left: 5px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-gold);
}

.product-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.product-card:hover .product-img {
    filter: grayscale(0%);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-price {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-actions {
    margin-top: 1rem;
}

.btn-add {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.product-card:hover .btn-add {
    background: var(--accent-gold);
    color: black;
    border-color: var(--accent-gold);
}

/* --- CART SIDEBAR --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #1a1a1a;
    z-index: 1002;
    transition: right 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--accent-gold);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #121212;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, #050505, #000);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.dark-glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.contact-info h3,
.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(106, 27, 154, 0.2);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(106, 27, 154, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--accent-purple);
    transition: all 0.3s ease;
    border: 1px solid rgba(106, 27, 154, 0.2);
}

.info-item:hover .info-icon {
    background: var(--accent-purple);
    color: white;
    box-shadow: 0 0 15px rgba(106, 27, 154, 0.5);
    transform: rotate(-5deg);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.info-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(106, 27, 154, 0.05);
    box-shadow: 0 0 10px rgba(106, 27, 154, 0.2);
}

/* --- FOOTER SIMPLIFIED --- */
footer {
    padding: 60px 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* Responsiveness */
@media (max-width: 768px) {

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.6rem;
    }
}

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: 95%;
        padding: 0.7rem 5%;
    }

    .navbar .logo img {
        height: 40px !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #ffffff !important;
    }

    #hamburger-btn {
        display: block !important;
        cursor: pointer;
    }

    .catalog-container {
        grid-template-columns: 1fr;
    }

    .filters {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 1rem;
        display: flex;
        overflow-x: auto;
        gap: 1rem;
    }

    .filter-btn {
        width: auto;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.05);
        padding: 8px 20px;
        border-radius: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    /* Stack form grids in mobile */
    .modal-content form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .modal-content h2 {
        font-size: 1.5rem !important;
    }

    .premium-title {
        font-size: 1.4rem !important;
    }
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* --- PAYMENT SELECTION MODAL --- */
.payment-option {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-option:not(.disabled):hover {
    background: rgba(106, 27, 154, 0.2) !important;
    transform: translateY(-2px);
    border-color: #25d366 !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.premium-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: 1px;
}

/* --- UTILITIES & CLEANUP --- */
.nav-icons i,
#hamburger-btn {
    font-size: 1.2rem;
    color: var(--text-primary);
}

#hamburger-btn {
    display: none;
}

.loading-container {
    grid-column: 1/-1;
    text-align: center;
    padding: 50px;
}

.loading-container i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.loading-container p {
    margin-top: 10px;
    color: var(--text-secondary);
}