/**
 * Content Sections CSS
 * Luxe 2050 design met zwart-gouden thema
 * Adalya Point E-cigarette Webshop
 */

/* ========== SECTION ========== */
.content-section {
    width: 100%;
    padding: 0;
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    position: relative;
    overflow: hidden;
}

/* Override any white backgrounds from parent elements */
.content-section * {
    background-color: transparent !important;
}

.content-section img {
    background: transparent !important;
    background-color: transparent !important;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(218, 165, 32, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.content-section:first-of-type {
    margin-top: 0;
}

/* ========== CONTAINER ========== */
.content-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* ========== WRAPPER ========== */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.content-wrapper-reverse {
    flex-direction: column;
}

/* ========== TEXT CONTENT ========== */
.content-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 5rem 3rem 3rem 3rem;
    width: 100%;
    position: relative;
}

.content-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 50%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.04em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
}

.content-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #d4d4d4;
    margin: 0;
    font-weight: 400;
    max-width: 100%;
    letter-spacing: 0.01em;
}

/* ========== IMAGE CONTENT ========== */
.content-image {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 3rem 5rem 3rem;
}

.content-image::before,
.content-image::after {
    display: none !important;
    background: transparent !important;
}

.content-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s ease;
    filter: drop-shadow(0 20px 40px rgba(218, 165, 32, 0.15));
    background: transparent !important;
    background-color: transparent !important;
    -webkit-background-color: transparent !important;
    -moz-background-color: transparent !important;
    mix-blend-mode: normal;
}

/* Desktop: smaller images */
@media (min-width: 1024px) {
    .content-img {
        max-width: 900px;
    }
}

/* Remove any default image background */
.content-img[src$=".jpeg"],
.content-img[src$=".jpg"],
.content-img[src$=".png"],
.content-img[src$=".webp"] {
    background: transparent !important;
    background-color: transparent !important;
}

.content-section:hover .content-img {
    transform: scale(1.02) translateY(-5px);
    filter: drop-shadow(0 25px 50px rgba(218, 165, 32, 0.25));
}

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

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .content-text {
        padding: 4rem 2rem 2.5rem 2rem;
        max-width: 800px;
    }
    
    .content-title {
        font-size: 2.75rem;
    }
    
    .content-description {
        font-size: 1.125rem;
    }
    
    .content-image {
        padding: 0 2rem 4rem 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .content-text {
        padding: 3rem 1.5rem 2rem 1.5rem;
        gap: 1rem;
    }
    
    .content-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .content-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .content-image {
        padding: 0 1.5rem 3rem 1.5rem;
    }
}

/* ========== ANIMATIONS ========== */
.content-section {
    opacity: 0;
    transition: opacity 1s ease;
}

.content-section.visible {
    opacity: 1;
}

.content-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.content-section.visible .content-text {
    opacity: 1;
    transform: translateY(0);
}

.content-image {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.content-section.visible .content-image {
    opacity: 1;
    transform: translateY(0);
}

/* ========== DECORATIVE ELEMENTS ========== */
.content-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(218, 165, 32, 0.3) 50%, transparent 100%);
    opacity: 0.5;
    z-index: 2;
}

/* Gouden accent lijnen */
.content-text::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #DAA520 50%, transparent 100%);
    border-radius: 2px;
}

.content-text::after {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
    border-radius: 2px;
}

/* ========== ACCESSIBILITY ========== */
.content-section:focus-within {
    outline: none;
}

.content-title:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 4px;
    border-radius: 4px;
}

/* ========== LOADING STATE ========== */
.content-img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-img[loading="lazy"].loaded {
    opacity: 1;
}
