/* Under Construction Page Styles - Earth Tone Theme with Fun Animations */

:root {
    --color-olive: #6B7559;
    --color-olive-light: #8a9a6f;
    --color-beige: #E8DCC4;
    --color-clay: #9B7E6B;
    --color-terracotta: #C4826B;
    --color-soft: #fffdf3;
    --color-sand: #D4C5B0;
    --color-leaf-dark: #4a5e3a;
    --color-leaf: #6B7559;
    --color-leaf-light: #8fa87a;
    --color-leaf-highlight: #a3c48b;
}

/* ===== BASE CONTAINER ===== */
.construction-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-soft) 0%, var(--color-beige) 50%, var(--color-sand) 100%);
    padding: 20px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Animated background gradient overlay */
.construction-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(107, 117, 89, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 130, 107, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(107, 117, 89, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: bg-shift 12s ease-in-out infinite alternate;
}

@keyframes bg-shift {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* ===== MONSTERA PLANTS ===== */
.monstera {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

.monstera-left {
    bottom: -30px;
    left: -40px;
    transform: rotate(15deg);
    animation: sway-left 6s ease-in-out infinite;
}

.monstera-right {
    bottom: -20px;
    right: -40px;
    transform: rotate(-10deg) scaleX(-1);
    animation: sway-right 7s ease-in-out infinite;
}

/* Individual monstera leaf using CSS shapes */
.monstera-leaf {
    position: relative;
    display: block;
}

.monstera-leaf-shape {
    width: 180px;
    height: 220px;
    background: linear-gradient(145deg, var(--color-leaf-light) 0%, var(--color-leaf) 40%, var(--color-leaf-dark) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    box-shadow: inset -8px -8px 20px rgba(0,0,0,0.1), inset 4px 4px 10px rgba(255,255,255,0.1);
}

/* Leaf holes (characteristic monstera fenestrations) */
.monstera-leaf-shape::before,
.monstera-leaf-shape::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-soft) 0%, var(--color-beige) 100%);
}

.monstera-leaf-shape::before {
    width: 30px;
    height: 40px;
    top: 45%;
    left: 25%;
}

.monstera-leaf-shape::after {
    width: 25px;
    height: 35px;
    top: 35%;
    right: 25%;
}

/* Leaf vein (stem line) */
.monstera-stem {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-leaf-dark), var(--color-leaf));
    border-radius: 3px;
}

/* Second leaf (smaller, behind) */
.monstera-leaf-back .monstera-leaf-shape {
    width: 130px;
    height: 160px;
    opacity: 0.6;
    background: linear-gradient(145deg, var(--color-leaf-highlight) 0%, var(--color-leaf-light) 50%, var(--color-leaf) 100%);
}

.monstera-leaf-back {
    position: absolute;
    bottom: 20px;
    left: -20px;
    transform: rotate(-25deg);
}

.monstera-right .monstera-leaf-back {
    left: auto;
    right: -20px;
    transform: rotate(25deg);
}

/* Third small leaf */
.monstera-leaf-small .monstera-leaf-shape {
    width: 80px;
    height: 100px;
    opacity: 0.4;
    background: linear-gradient(145deg, var(--color-leaf-highlight) 0%, var(--color-leaf-light) 100%);
}

.monstera-leaf-small .monstera-leaf-shape::before {
    width: 15px;
    height: 20px;
}

.monstera-leaf-small .monstera-leaf-shape::after {
    width: 12px;
    height: 18px;
}

.monstera-leaf-small {
    position: absolute;
    bottom: 80px;
    left: 40px;
    transform: rotate(30deg);
}

@keyframes sway-left {
    0%, 100% { transform: rotate(15deg) translateX(0); }
    50% { transform: rotate(18deg) translateX(8px); }
}

@keyframes sway-right {
    0%, 100% { transform: rotate(-10deg) scaleX(-1) translateX(0); }
    50% { transform: rotate(-7deg) scaleX(-1) translateX(-8px); }
}

/* ===== FLOATING PARTICLES ===== */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: float-up linear infinite;
}

.particle-leaf {
    width: 12px;
    height: 16px;
    background: var(--color-leaf-light);
    border-radius: 50% 0 50% 0;
    opacity: 0;
    animation: float-leaf linear infinite;
}

.particle:nth-child(1) {
    width: 8px; height: 8px;
    background: var(--color-terracotta);
    left: 10%;
    animation-duration: 14s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px; height: 6px;
    background: var(--color-olive-light);
    left: 25%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 10px; height: 10px;
    background: var(--color-clay);
    left: 45%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 5px; height: 5px;
    background: var(--color-leaf-highlight);
    left: 65%;
    animation-duration: 16s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 7px; height: 7px;
    background: var(--color-terracotta);
    left: 80%;
    animation-duration: 20s;
    animation-delay: 3s;
}

.particle-leaf:nth-child(6) {
    left: 15%;
    animation-duration: 16s;
    animation-delay: 5s;
}

.particle-leaf:nth-child(7) {
    left: 55%;
    width: 16px; height: 20px;
    animation-duration: 13s;
    animation-delay: 7s;
}

.particle-leaf:nth-child(8) {
    left: 85%;
    width: 10px; height: 13px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.particle-leaf:nth-child(9) {
    left: 35%;
    width: 14px; height: 18px;
    animation-duration: 15s;
    animation-delay: 9s;
}

.particle-leaf:nth-child(10) {
    left: 70%;
    animation-duration: 17s;
    animation-delay: 6s;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% { opacity: 0.4; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1);
        opacity: 0;
    }
}

@keyframes float-leaf {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% { opacity: 0.5; }
    50% { transform: translateY(50vh) rotate(180deg) translateX(30px) scale(0.8); }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-10vh) rotate(400deg) translateX(-20px) scale(1);
        opacity: 0;
    }
}

/* ===== MAIN CONTENT ===== */
.construction-content {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

/* ===== LOGO ===== */
.logo-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    animation: logo-entrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.logo-wrapper img {
    width: 35rem;
    height: auto;
    filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.15)) drop-shadow(0 2px 4px rgb(0 0 0 / 0.08));
    animation: gentle-float 4s ease-in-out infinite;
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ===== TITLE ===== */
.construction-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-olive);
    margin-bottom: 15px;
    letter-spacing: -1px;
    animation: slide-up 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    opacity: 0;
}

/* ===== FLOWER ICON ROW ===== */
.flower-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    animation: slide-up 0.8s ease 0.35s forwards;
    opacity: 0;
}

.flower-icon {
    font-size: 1.4rem;
    animation: spin-bloom 4s ease-in-out infinite;
    display: inline-block;
}

.flower-icon:nth-child(1) {
    color: var(--color-terracotta);
    animation-delay: 0s;
}
.flower-icon:nth-child(2) {
    color: var(--color-olive-light);
    animation-delay: 0.5s;
    font-size: 1.1rem;
}
.flower-icon:nth-child(3) {
    color: var(--color-clay);
    animation-delay: 1s;
}
.flower-icon:nth-child(4) {
    color: var(--color-leaf-highlight);
    animation-delay: 1.5s;
    font-size: 1.1rem;
}
.flower-icon:nth-child(5) {
    color: var(--color-terracotta);
    animation-delay: 2s;
}

@keyframes spin-bloom {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.15); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-10deg) scale(1.1); }
}

/* ===== SUBTITLE ===== */
.construction-subtitle {
    font-size: 1.3rem;
    color: var(--color-clay);
    margin-bottom: 35px;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: slide-up 0.8s ease 0.5s forwards;
    opacity: 0;
}

/* ===== MESSAGE ===== */
.construction-message {
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid var(--color-terracotta);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 40px;
    color: var(--color-olive);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(107, 117, 89, 0.08);
    animation: slide-up 0.8s ease 0.6s forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.construction-message:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 117, 89, 0.12);
}

.construction-message p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

/* ===== COUNTDOWN HINT ===== */
.countdown-hint {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    animation: slide-up 0.8s ease 0.75s forwards;
    opacity: 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 14px 18px;
    min-width: 70px;
    box-shadow: 0 2px 12px rgba(107, 117, 89, 0.08);
    border: 1px solid rgba(232, 220, 196, 0.6);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.countdown-item:hover {
    transform: translateY(-4px) scale(1.05);
}

.countdown-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-olive);
    line-height: 1;
    animation: count-pulse 3s ease-in-out infinite;
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-clay);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@keyframes count-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: slide-up 0.8s ease 0.9s forwards;
    opacity: 0;
}

.contact-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid var(--color-beige);
    border-radius: 14px;
    padding: 14px 22px;
    color: var(--color-clay);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(107, 117, 89, 0.08);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 130, 107, 0.06), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--color-terracotta);
    box-shadow: 0 12px 28px rgba(196, 130, 107, 0.2);
}

.contact-item i {
    margin-right: 8px;
    color: var(--color-terracotta);
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2) rotate(-5deg);
}

/* ===== SHARED ANIMATIONS ===== */
@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .construction-title {
        font-size: 2.2rem;
    }

    .construction-subtitle {
        font-size: 1.1rem;
    }

    .construction-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .construction-message {
        padding: 20px;
    }

    .contact-info {
        gap: 12px;
    }

    .contact-item {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .logo-wrapper img {
        width: 55rem;
    }

    .monstera-leaf-shape {
        width: 120px;
        height: 150px;
    }

    .monstera-leaf-back .monstera-leaf-shape {
        width: 90px;
        height: 110px;
    }

    .monstera-leaf-small .monstera-leaf-shape {
        width: 55px;
        height: 70px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px 14px;
    }

    .countdown-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .construction-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .construction-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .contact-item {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .construction-message {
        padding: 16px;
        font-size: 0.95rem;
    }

    .logo-wrapper img {
        width: 64rem;
    }

    .countdown-hint {
        gap: 10px;
    }

    .countdown-item {
        min-width: 55px;
        padding: 10px 12px;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .flower-divider {
        gap: 8px;
    }

    .flower-icon {
        font-size: 1.1rem;
    }

    .flower-icon:nth-child(2),
    .flower-icon:nth-child(4) {
        font-size: 0.9rem;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .logo-wrapper,
    .construction-title,
    .flower-divider,
    .construction-subtitle,
    .construction-message,
    .countdown-hint,
    .contact-info {
        opacity: 1;
    }
}
