/* ============================================
   AVENSIQUE - Premium Accessories Journal
   Golden Yellow & Cream White Luxury Theme
   ============================================ */

:root {
    --primary-gold: #c9a227;
    --gold-light: #e6c65c;
    --gold-dark: #a68523;
    --gold-yellow: #f5d742;
    --white-pure: #ffffff;
    --white-cream: #faf9f6;
    --white-warm: #f5f4f0;
    --gray-light: #e8e6e0;
    --gray-medium: #9a9590;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-gold: 0 10px 40px rgba(201, 162, 39, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: var(--white-pure);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
    font-size: 1.05rem;
    color: var(--text-medium);
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--white-cream) 0%, var(--white-warm) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-gold);
    letter-spacing: 6px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white-pure);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0;
}

.cookie-text a {
    color: var(--primary-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: inherit;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--white-pure);
}

.cookie-btn-accept:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: var(--white-warm);
    color: var(--text-dark);
    border: 1px solid var(--gray-light);
}

.cookie-btn-decline:hover {
    background: var(--gray-light);
}

/* ============================================
   ADVERTISEMENT DISCLOSURE
   ============================================ */

.advertisement-disclosure {
    background: linear-gradient(135deg, var(--white-cream) 0%, var(--white-warm) 100%);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.advertisement-disclosure p {
    font-size: 0.85rem;
    color: var(--text-medium);
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION - Floating Glass Effect
   ============================================ */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 162, 39, 0.1);
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 4px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light));
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
}

/* ============================================
   HERO SECTION - Split Layout
   ============================================ */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 80px 80px 100px;
    background: var(--white-pure);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    color: var(--white-pure);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 30px;
    box-shadow: var(--shadow-gold);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light));
    border-radius: 2px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin: 40px 0 35px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white-warm);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.hero-feature svg {
    width: 18px;
    height: 18px;
    color: var(--primary-gold);
}

/* Price Box - Floating Card */
.price-box {
    background: linear-gradient(135deg, var(--white-pure), var(--white-cream));
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light), var(--primary-gold));
}

.price-original {
    font-size: 1.1rem;
    color: var(--gray-medium);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.price-sale {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

.price-save {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--white-pure);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 10px 0 20px;
}

.price-vat {
    font-size: 0.85rem;
    color: var(--text-medium);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--white-pure);
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 25px;
    width: fit-content;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(201, 162, 39, 0.35);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* Hero Image - Asymmetric Design */
.hero-image {
    position: relative;
    background: linear-gradient(135deg, var(--white-cream) 0%, var(--gray-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
}

.hero-image img {
    width: 85%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), transparent);
    z-index: 0;
}

.hero-decoration-1 {
    bottom: -100px;
    left: -100px;
}

.hero-decoration-2 {
    top: 100px;
    right: -50px;
    width: 200px;
    height: 200px;
}

/* ============================================
   PRODUCT DETAILS - Card Grid Layout
   ============================================ */

.section {
    padding: 120px 100px;
}

.section-light {
    background: var(--white-cream);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light));
    border-radius: 2px;
}

.section-header p {
    margin-top: 25px;
    font-size: 1.1rem;
}

/* Feature Cards - Masonry Style */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white-pure);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--white-cream), var(--white-warm));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon svg {
    color: var(--white-pure);
}

.feature-card h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.95rem;
}

/* ============================================
   SPECIFICATIONS - Timeline Style
   ============================================ */

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.specs-image {
    position: relative;
}

.specs-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white-pure);
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
    transition: var(--transition-smooth);
}

.spec-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-soft);
}

.spec-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    color: var(--white-pure);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-content h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.spec-content p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* ============================================
   GALLERY - Modern Grid
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   CTA SECTION - Full Width
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    padding: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h2 {
    color: var(--white-pure);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-section .cta-button {
    background: var(--white-pure);
    color: var(--primary-gold);
    position: relative;
    z-index: 1;
}

.cta-section .cta-button:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text-dark);
    color: var(--white-pure);
    padding: 80px 100px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--white-pure);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-disclosure {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    line-height: 1.6;
    margin-top: 10px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 160px 50px 60px;
        text-align: center;
    }

    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-features {
        justify-content: center;
    }

    .hero-image {
        min-height: 50vh;
        padding: 60px;
    }

    .price-box {
        max-width: 400px;
        margin: 0 auto;
    }

    .specs-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 25px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white-pure);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-radius: 20px;
        margin-top: 10px;
        box-shadow: var(--shadow-medium);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .section {
        padding: 80px 30px;
    }

    .hero-content {
        padding: 140px 30px 50px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }

    .cta-section {
        padding: 60px 30px;
    }

    .footer {
        padding: 60px 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cookie-consent {
        padding: 15px 20px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}

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

    .price-sale {
        font-size: 2rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 0.95rem;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }
}