:root {
    --bg-primary: #0b0b12;
    --bg-secondary: #12121a;
    --bg-card: rgba(18, 18, 26, 0.8);
    --accent-purple: #8b5cf6;
    --accent-gold: #facc15;
    --text-primary: #ffffff;
    --text-muted: #a1a1aa;
    --border-color: rgba(139, 92, 246, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--accent-gold) 0%, var(--accent-purple) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    animation: sparkle 0.8s ease-out forwards;
}

@keyframes sparkle {
    0% { opacity: 1; transform: scale(0); }
    50% { opacity: 0.8; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 11, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    width: 100%;
}

.header-content {
    max-width: 1680px; /* Increased width by 40% from 1200px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-purple);
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-search {
    background: var(--accent-purple);
    color: white;
}

.btn-search:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.btn-contact {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-contact:hover {
    background: #eab308;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-bottom: 72px; /* 1 inch spacing */
    max-width: 1680px; /* Increased width by 40% */
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem); /* Increased by 75% from original */
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.purple-text {
    color: var(--accent-purple);
}

.gold-text {
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    max-width: 600px;
    width: 100%;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Featured Section */
.featured-section {
    padding: 4rem 2rem;
    margin-bottom: 72px; /* 1 inch spacing */
    max-width: 1680px; /* Increased width by 40% */
    margin-left: auto;
    margin-right: auto;
}

.featured-content {
    max-width: 1680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.carousel-container {
    position: relative;
}

.carousel-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.carousel {
    position: relative;
    height: 480px; /* Increased by 20% from 400px */
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 70%;
    object-fit: contain; /* Changed from cover to contain to prevent zooming */
}

.carousel-info {
    padding: 1.5rem;
    background: var(--bg-card);
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.carousel-product-price {
    color: var(--accent-gold);
    font-weight: 600;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-purple);
    transform: scale(1.2);
}

.hero-video-container {
    position: relative;
}

.hero-video-label {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--accent-purple);
}

.hero-video {
    width: 100%;
    height: 480px; /* Increased by 20% from 400px */
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* Products Section */
.products-section {
    padding: 4rem 2rem;
    margin-bottom: 72px; /* 1 inch spacing */
    max-width: 1680px; /* Increased width by 40% */
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .complete-text {
    color: var(--accent-gold);
}

.section-title .collection-text {
    color: var(--accent-purple);
}

.products-grid {
    max-width: 1680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Changed from cover to contain to prevent zooming */
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-price {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-secondary);
    margin: 2% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-primary);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.media-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-media {
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-media img,
.main-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.media-thumbnail {
    width: 100%;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.media-thumbnail:hover,
.media-thumbnail.active {
    border-color: var(--accent-purple);
}

.media-thumbnail img,
.media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.product-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.price {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.specs {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.specs h3 {
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-card);
    border-top: 4px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .nav {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .media-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-title,
    .hero-video-label {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1rem;
        width: 95%;
    }

    .media-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

