/* ===========================================
   HERO — Main landing hero + Subpage hero
   =========================================== */

/* --- Main Landing Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@keyframes float {
    0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-100px) translateX(100px) scale(1); opacity: 0; }
}

.hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.1s ease-out;
    will-change: transform;
    position: absolute;
    top: -10%;
    left: 0;
}

.hero-decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    transition: all 0.3s ease-out;
    opacity: 0.8;
}

.hero-decoration-right { right: -200px; }
.hero-decoration-left  { left: -200px; top: 60%; }

.flower-decoration {
    height: 600px;
    width: auto;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Visually hidden but accessible for SEO/screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* New logo composition: emblem + text */
.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

.hero-logo-emblem {
    position: relative;
    width: 310px;
    height: 310px;
    opacity: 0;
    transform: scale(0.7) rotate(-15deg);
    animation: emblemAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

/* Soft pulsing halo behind emblem */
.hero-logo-emblem::before {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 40%, transparent 70%);
    filter: blur(20px);
    animation: haloPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes haloPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.1); }
}

.hero-logo-emblem img {
    width: 100%;
    height: 100%;
    display: block;
    animation: emblemFloat 6s ease-in-out infinite;
    animation-delay: 1.4s;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.35));
}

@keyframes emblemAppear {
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

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

.hero-logo-text {
    width: min(420px, 80vw);
    opacity: 0;
    transform: translateY(20px);
    animation: textAppear 1s ease-out 0.9s forwards;
}

.hero-logo-text img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.2));
}

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

.hero-subtitle {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.subtitle-glass {
    display: inline-block;
    padding: 20px 40px;
    background: rgba(26, 26, 26, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid transparent;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Animated shimmer border */
.subtitle-glass::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 16px;
    background: linear-gradient(
        120deg,
        rgba(212, 175, 55, 0.0) 0%,
        rgba(212, 175, 55, 0.3) 25%,
        rgba(181, 149, 103, 0.15) 50%,
        rgba(212, 175, 55, 0.3) 75%,
        rgba(212, 175, 55, 0.0) 100%
    );
    background-size: 300% 100%;
    animation: shimmerBorder 6s ease-in-out infinite;
    z-index: -2;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
}

/* Soft glow that drifts */
.subtitle-glass::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(212, 175, 55, 0.06) 0%,
        transparent 50%
    );
    animation: glowDrift 8s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes shimmerBorder {
    0%   { background-position: 100% 0; }
    50%  { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}

@keyframes glowDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    33%      { transform: translate(15%, -8%); opacity: 1; }
    66%      { transform: translate(-10%, 5%); opacity: 0.7; }
}

.hero-subtitle.animate-subtitle {
    animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons.animate-buttons {
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

/* --- Subpage Hero --- */
.page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #1a1a1a;
}

/* Blur overlay — sits on top of blobs, under content */
.page-hero-blur {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

/* Animated ambient glow orbs — music player style */
.page-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: screen;
}

.page-hero-glow-1 {
    width: 70%; height: 130%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    top: -40%; left: -20%;
    animation: blobMove1 20s ease-in-out infinite;
}

.page-hero-glow-2 {
    width: 60%; height: 120%;
    background: radial-gradient(circle, rgba(181, 149, 103, 0.25) 0%, transparent 70%);
    top: -20%; right: -25%;
    animation: blobMove2 25s ease-in-out infinite;
}

.page-hero-glow-3 {
    width: 50%; height: 110%;
    background: radial-gradient(circle, rgba(196, 164, 75, 0.22) 0%, transparent 65%);
    bottom: -40%; left: 20%;
    animation: blobMove3 18s ease-in-out infinite;
}

@keyframes blobMove1 {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(15%, 10%) scale(1.15); }
    50%  { transform: translate(5%, -8%) scale(0.9); }
    75%  { transform: translate(-10%, 5%) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobMove2 {
    0%   { transform: translate(0, 0) scale(1); }
    20%  { transform: translate(-10%, 8%) scale(1.1); }
    45%  { transform: translate(-18%, -5%) scale(0.85); }
    70%  { transform: translate(8%, 12%) scale(1.2); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobMove3 {
    0%   { transform: translate(0, 0) scale(1); }
    30%  { transform: translate(12%, -10%) scale(1.2); }
    60%  { transform: translate(-8%, 15%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero .section-title {
    font-size: 46px;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.page-hero-subtitle {
    font-size: 18px;
    color: #c0b8a8;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.page-hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.page-hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d4af37;
    font-size: 15px;
    padding: 8px 18px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.page-hero-feature:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
}

.page-hero-feature svg { flex-shrink: 0; }

.page-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}
