/* ============================================
   AIMEX EVENT CENTER — WEDDING THEMES PAGE
   Immersive Vertical Scroll Journey Styles
   ============================================ */

/* ============================================
   THEMES HERO SECTION
   ============================================ */
.themes-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.themes-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.themes-hero-bg .mesh-bg {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(ellipse at 20% 50%, rgba(204, 9, 155, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 50%, rgba(58, 111, 247, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 100%, rgba(204, 9, 155, 0.08) 0%, transparent 50%);
}

.themes-hero-bg .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
}

.themes-hero-bg .glow-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-hero-glow);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.themes-hero-bg .glow-orb-2 {
    width: 350px;
    height: 350px;
    background: var(--gradient-blue-glow);
    bottom: 10%;
    right: -5%;
    animation-delay: -2s;
}

.themes-hero-bg .glow-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-hero-glow);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -4s;
    opacity: 0.5;
}

.themes-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    margin: 0 auto;
}

.themes-hero-title {
    font-family: var(--font-heading), serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.themes-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.themes-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .themes-hero-buttons {
        flex-direction: row;
    }
}

/* ============================================
   THEME PROGRESS NAVIGATION
   ============================================ */
.theme-progress {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

@media (min-width: 1024px) {
    .theme-progress {
        display: block;
    }
}

.progress-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-subtle);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    text-decoration: none;
}

.progress-dot:hover,
.progress-dot.active {
    background: var(--gradient-signature);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(204, 9, 155, 0.5);
    transform: scale(1.3);
}

.dot-label {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 6px 12px;
    border-radius: 8px;
}

.progress-dot:hover .dot-label {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

/* ============================================
   THEME SECTIONS — IMMERSIVE FULL-VIEWPORT
   ============================================ */
.theme-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.theme-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.theme-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.theme-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.theme-section.visible .theme-image {
    transform: scale(1);
}

.theme-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

/* Dark variant for alternating sections */
.theme-section.theme-dark .theme-image-overlay {
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

/* Content positioning */
.theme-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 120px 0;
}

.theme-content-inner {
    max-width: 600px;
    padding: 0 24px;
}

.theme-section.theme-dark .theme-content-inner {
    margin-left: auto;
    text-align: right;
}

/* Theme Label */
.theme-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.theme-section.theme-dark .theme-label {
    justify-content: flex-end;
}

.theme-number {
    font-family: var(--font-heading), serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-signature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    line-height: 1;
}

.theme-tag {
    display: inline-block;
    background: var(--gradient-signature);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(204, 9, 155, 0.4);
}

/* Theme Title */
.theme-title {
    font-family: var(--font-heading), serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

/* Theme Narrative */
.theme-narrative {
    margin-bottom: 40px;
}

.theme-narrative p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.theme-narrative p:last-child {
    margin-bottom: 0;
}

/* Elements Section */
.theme-elements {
    margin-bottom: 40px;
}

.elements-title {
    font-family: var(--font-heading), serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.elements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .elements-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.element-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 16px;
    transition: var(--transition-smooth);
}

.element-item:hover {
    border-color: rgba(204, 9, 155, 0.3);
    background: rgba(204, 9, 155, 0.08);
}

.element-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--gradient-signature);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 0 15px rgba(204, 9, 155, 0.3);
}

.element-item span {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 500;
}

/* Theme CTA */
.theme-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.theme-section.theme-dark .theme-cta {
    justify-content: flex-end;
}

/* ============================================
   CUSTOM CTA SECTION
   ============================================ */
.custom-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.custom-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.glow-orb-custom {
    width: 400px;
    height: 400px;
    background: var(--gradient-hero-glow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.4;
    position: absolute;
    border-radius: 50%;
}

.custom-cta .container {
    position: relative;
    z-index: 1;
}

.custom-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.custom-cta-content h2 {
    font-family: var(--font-heading), serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.custom-cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.custom-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .custom-cta-buttons {
        flex-direction: row;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1023px) {
    .theme-section {
        min-height: auto;
    }

    .theme-content {
        padding: 80px 0;
    }

    .theme-content-inner {
        max-width: 100%;
    }

    .theme-section.theme-dark .theme-content-inner {
        margin-left: 0;
        text-align: left;
    }

    .theme-section.theme-dark .theme-label {
        justify-content: flex-start;
    }

    .theme-section.theme-dark .theme-cta {
        justify-content: flex-start;
    }

    .theme-image-overlay,
    .theme-section.theme-dark .theme-image-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
}

@media (max-width: 639px) {
    .themes-hero {
        padding: 100px 0 60px;
    }

    .theme-number {
        font-size: 3rem;
    }

    .theme-cta {
        flex-direction: column;
    }

    .theme-cta .btn {
        width: 100%;
        justify-content: center;
    }

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

/* Reveal Animation Stagger */
.theme-content-inner.reveal {
    transition-delay: 0.1s;
}