/*
 * GOLD CENTER - Home Page Styles
 * Dedicated CSS for the home/landing page
 * Version 1.0
 */

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.7) 0%, rgba(26, 26, 46, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 20px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--amber-500, #fbbf24);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 24px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 9999px;
}

.hero-title {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--amber-500, #fbbf24), var(--amber-600, #d97706));
    color: white;
    padding: 16px 48px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.4);
}

/* Hero Side Info */
.hero-side-info {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-side-info .thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.hero-side-info .label {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.hero-side-info .model {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 4px 0 0 0;
}

/* Animation */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ========================================
   Categories Section
======================================== */
.categories-section {
    padding: 60px 24px;
    background: var(--soft-white, #fdfdfd);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.categories-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 24px 20px;
    min-width: 100px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.category-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.category-item:hover .category-icon-img {
    transform: translateY(-8px) scale(1.1);
}

.category-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700, #374151);
}

/* ========================================
   Offers Section
======================================== */
.offers-section {
    padding: 60px 24px;
    background: var(--gray-100, #f3f4f6);
}

.offers-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .offers-container {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.offer-card .discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.offer-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800, #1f2937);
    margin-bottom: 8px;
}

.offer-card .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--amber-600, #d97706);
    margin-bottom: 16px;
}

.offer-card .countdown {
    font-size: 20px;
    font-weight: 700;
    font-family: monospace;
    color: var(--gray-600, #4b5563);
    padding: 8px 16px;
    background: var(--gray-100, #f3f4f6);
    border-radius: 8px;
}

.offer-product-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.offer-banner {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.offer-banner .overlay {
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.offer-banner .overlay p {
    color: var(--amber-400, #fbbf24);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.offer-banner .overlay h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.offer-banner .thumbnails {
    display: flex;
    gap: 12px;
}

.offer-banner .thumbnails>div {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   Products Section
======================================== */
.products-section {
    padding: 80px 24px;
    background: white;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.products-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-800, #1f2937);
}

.products-header a {
    color: var(--amber-600, #d97706);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.products-header a:hover {
    color: var(--amber-700, #b45309);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.product-card .image-container {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #f8f8f8, #f3f4f6);
    padding: 24px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-card .badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-weight: 700;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    color: #9ca3af;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-card .wishlist-btn:hover {
    color: #ef4444;
}

.product-card .add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700, #374151);
    cursor: pointer;
    transform: translateY(100%);
    transition: transform 0.3s;
    border: none;
}

.product-card:hover .add-to-cart {
    transform: translateY(0);
}

.product-card .add-to-cart:hover {
    background: var(--gray-800, #1f2937);
    color: white;
}

.product-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700, #374151);
    margin: 16px 16px 8px;
}

.product-card .price {
    font-size: 17px;
    font-weight: 700;
    color: var(--amber-700, #b45309);
    margin: 0 16px 16px;
}

/* ========================================
   Instagram Section
======================================== */
.instagram-section {
    padding: 80px 24px;
    background: var(--gray-100, #f3f4f6);
    text-align: center;
}

.instagram-container {
    max-width: 1000px;
    margin: 0 auto;
}

.instagram-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-800, #1f2937);
    margin-bottom: 8px;
}

.instagram-section .handle {
    color: var(--amber-600, #d97706);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 32px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.insta-img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.insta-img:hover {
    transform: scale(1.05);
}

/* ========================================
   Reveal Animation
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .hero-side-info {
        display: none;
    }

    .hero-section {
        height: 80vh;
        min-height: 500px;
    }

    .categories-list {
        gap: 16px;
    }

    .category-item {
        padding: 16px 12px;
        min-width: 80px;
    }

    .category-icon-img {
        width: 48px;
        height: 48px;
    }

    .category-label {
        font-size: 11px;
    }
}