/* ============================================
   GOLDTASCHE - Elegant Chocolate & White Theme
   Magazine Editorial Layout
   ============================================ */

:root {
    --chocolate-dark: #3d2414;
    --chocolate-medium: #5c3a1e;
    --chocolate-light: #8b5a2b;
    --chocolate-accent: #c4956a;
    --white-pure: #ffffff;
    --white-cream: #faf8f5;
    --white-warm: #f5f2ed;
    --gray-light: #e8e4df;
    --gray-medium: #9a9590;
    --text-dark: #2c2420;
    --text-medium: #6b5f58;
    --shadow-soft: 0 8px 30px rgba(61, 36, 20, 0.08);
    --shadow-medium: 0 15px 50px rgba(61, 36, 20, 0.12);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    background: var(--white-pure);
    color: var(--text-dark);
    line-height: 1.7;
    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.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

.display-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-style: italic;
    letter-spacing: 0.05em;
}

.body-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-medium);
}

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

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--chocolate-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

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

.preloader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--white-pure);
    letter-spacing: 12px;
    margin-bottom: 30px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--chocolate-accent);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============================================
   NAVIGATION - Sticky Sidebar Style
   ============================================ */

.sidebar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.sidebar-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 15px 60px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-pure);
    letter-spacing: 6px;
    transition: var(--transition-smooth);
}

.sidebar-nav.scrolled .nav-logo {
    color: var(--chocolate-dark);
}

.nav-menu {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-pure);
    position: relative;
    transition: var(--transition-smooth);
}

.sidebar-nav.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--chocolate-accent);
    transition: var(--transition-smooth);
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white-pure);
    transition: var(--transition-smooth);
}

.sidebar-nav.scrolled .menu-toggle span {
    background: var(--chocolate-dark);
}

/* ============================================
   HERO - Magazine Editorial Style
   ============================================ */

.hero-editorial {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 80px 80px 100px;
    background: var(--chocolate-dark);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(196, 149, 106, 0.15) 0%, transparent 60%);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--chocolate-accent);
    margin-bottom: 30px;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--chocolate-accent);
}

.hero-title {
    color: var(--white-pure);
    margin-bottom: 10px;
    position: relative;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--chocolate-accent);
    margin-bottom: 30px;
}

.hero-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 450px;
    margin-bottom: 40px;
}

/* Price Tag - Hanging Style */
.price-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 40px;
    background: var(--white-pure);
    border-radius: 0;
    position: relative;
    transform: rotate(-2deg);
    box-shadow: var(--shadow-medium);
    margin: 20px 0;
}

.price-tag::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: var(--chocolate-dark);
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--chocolate-dark);
    line-height: 1;
}

.price-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-medium);
    margin-top: 5px;
}

/* CTA Button */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--chocolate-accent);
    color: var(--white-pure);
    padding: 20px 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 40px;
    width: fit-content;
}

.cta-primary:hover {
    background: var(--chocolate-light);
    transform: translateX(10px);
}

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

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

/* Hero Image - Large Statement */
.hero-visual {
    position: relative;
    background: var(--white-cream);
}

.hero-image-container {
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    width: 90%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.hero-image-overlay {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--chocolate-dark);
    color: var(--white-pure);
    padding: 20px 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Decorative Elements */
.hero-deco {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(196, 149, 106, 0.3);
    bottom: 80px;
    left: 40px;
}

/* ============================================
   PRODUCT SHOWCASE - Magazine Grid
   ============================================ */

.showcase-section {
    padding: 120px 80px;
    background: var(--white-pure);
}

.section-header-editorial {
    text-align: left;
    margin-bottom: 80px;
    position: relative;
}

.section-header-editorial::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--chocolate-accent);
}

.section-title {
    color: var(--chocolate-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-medium);
    font-size: 1.2rem;
}

/* Feature Grid - Asymmetric */
.feature-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
}

.feature-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.feature-item:nth-child(1) {
    grid-row: span 2;
}

.feature-card {
    height: 100%;
    padding: 50px 35px;
    background: var(--white-cream);
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.feature-item:nth-child(1) .feature-card {
    padding: 60px 40px;
    background: var(--chocolate-dark);
    color: var(--white-pure);
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    color: var(--chocolate-accent);
}

.feature-item:nth-child(1) .feature-icon {
    color: var(--chocolate-accent);
}

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

.feature-item:nth-child(1) .feature-card h4 {
    color: var(--white-pure);
}

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

.feature-item:nth-child(1) .feature-card p {
    color: rgba(255,255,255,0.8);
}

/* ============================================
   PRODUCT DETAILS - Timeline Style
   ============================================ */

.details-section {
    background: var(--white-cream);
    padding: 120px 80px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.details-image {
    position: relative;
}

.details-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: var(--shadow-medium);
}

.details-image::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--chocolate-accent);
    z-index: -1;
}

.details-content {
    padding: 20px 0;
}

.details-content h2 {
    color: var(--chocolate-dark);
    margin-bottom: 30px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--chocolate-accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -46px;
    width: 14px;
    height: 14px;
    background: var(--chocolate-accent);
    border-radius: 50%;
}

.timeline-item h4 {
    color: var(--chocolate-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

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

/* ============================================
   GALLERY - Full Width Strip
   ============================================ */

.gallery-strip {
    display: flex;
    gap: 20px;
    padding: 80px;
    background: var(--chocolate-dark);
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-strip::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 350px;
    position: relative;
    overflow: hidden;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 36, 20, 0.8), transparent);
}

.gallery-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: var(--white-pure);
    z-index: 1;
}

/* ============================================
   CTA BAND - Bold Typography
   ============================================ */

.cta-band {
    padding: 120px 80px;
    background: var(--chocolate-dark);
    text-align: center;
    position: relative;
}

.cta-band::before {
    content: '"';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 40rem;
    color: rgba(255,255,255,0.03);
    line-height: 1;
}

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

.cta-band p {
    color: var(--chocolate-accent);
    font-size: 1.3rem;
    margin-bottom: 50px;
    position: relative;
}

.cta-band .cta-primary {
    background: var(--white-pure);
    color: var(--chocolate-dark);
    position: relative;
}

.cta-band .cta-primary:hover {
    background: var(--chocolate-accent);
    color: var(--white-pure);
}

/* ============================================
   FOOTER - Minimalist
   ============================================ */

.footer-editorial {
    background: var(--chocolate-dark);
    color: var(--white-pure);
    padding: 80px 80px 40px;
}

.footer-grid {
    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.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

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

.footer-col h4 {
    color: var(--white-pure);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

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

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

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

.footer-col a:hover {
    color: var(--chocolate-accent);
}

.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.85rem;
}

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

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

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

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

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

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

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

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

    .hero-visual {
        min-height: 60vh;
    }

    .hero-image-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 80%;
        margin: 0 auto;
    }

    .feature-masonry {
        grid-template-columns: 1fr 1fr;
    }

    .feature-item:nth-child(1) {
        grid-row: span 1;
    }

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

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

@media (max-width: 768px) {
    .sidebar-nav {
        padding: 20px 30px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--chocolate-dark);
        flex-direction: column;
        padding: 40px 30px;
        gap: 25px;
    }

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

    .menu-toggle {
        display: flex;
    }

    .showcase-section,
    .details-section {
        padding: 80px 30px;
    }

    .feature-masonry {
        grid-template-columns: 1fr;
    }

    .gallery-strip {
        padding: 60px 30px;
    }

    .gallery-item {
        flex: 0 0 280px;
    }

    .gallery-item img {
        height: 300px;
    }

    .cta-band {
        padding: 80px 30px;
    }

    .footer-editorial {
        padding: 60px 30px 30px;
    }

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

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