/* ============================================================
   The Nail Book - Coming Soon Page
   A premium, elegant design for a nail salon directory
   ============================================================ */

/* --- Google Fonts loaded in HTML --- */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Color Palette - Soft luxury with rose gold accents */
    --color-cream:        #FDF8F4;
    --color-cream-warm:   #FAF0E8;
    --color-blush:        #F5E1D8;
    --color-pink-soft:    #EECFC3;
    --color-pink-medium:  #D4A69A;
    --color-rose:         #C08B7E;
    --color-rose-gold:    #B76E79;
    --color-rose-deep:    #9E5A65;
    --color-dark:         #2C1810;
    --color-dark-soft:    #3D2B22;
    --color-charcoal:     #4A3F3A;
    --color-white:        #FFFFFF;
    --color-white-90:     rgba(255, 255, 255, 0.90);
    --color-white-70:     rgba(255, 255, 255, 0.70);
    --color-white-50:     rgba(255, 255, 255, 0.50);
    --color-white-20:     rgba(255, 255, 255, 0.20);
    --color-overlay:      rgba(44, 24, 16, 0.45);
    --color-overlay-deep: rgba(44, 24, 16, 0.60);

    /* Typography */
    --font-serif:    'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --font-sans:     'Raleway', 'Helvetica Neue', 'Arial', sans-serif;

    --text-xs:   clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem);
    --text-sm:   clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
    --text-lg:   clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    --text-xl:   clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
    --text-2xl:  clamp(1.4rem, 1.1rem + 1vw, 2rem);
    --text-3xl:  clamp(1.8rem, 1.3rem + 1.5vw, 2.75rem);
    --text-hero: clamp(2.8rem, 2rem + 3vw, 5.5rem);
    --text-sub:  clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);

    /* Spacing */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Transitions */
    --transition-slow:   800ms ease;
    --transition-medium: 400ms ease;
    --transition-fast:   200ms ease;

    /* Letter Spacing */
    --tracking-wide:    0.12em;
    --tracking-wider:   0.2em;
    --tracking-widest:  0.35em;
}


/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-dark);
    overflow-x: hidden;
}


/* --- Page Wrapper --- */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}


/* --- Hero Section --- */
.hero {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--space-8) var(--space-4);
    overflow: hidden;
}

/* Background Image */
.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.85) saturate(0.9);
}

/* Overlay Gradient - adds depth and ensures text readability */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(44, 24, 16, 0.30) 0%,
            rgba(44, 24, 16, 0.15) 30%,
            rgba(44, 24, 16, 0.25) 60%,
            rgba(44, 24, 16, 0.55) 100%
        );
}

/* Additional soft vignette effect */
.hero__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 40%,
        rgba(44, 24, 16, 0.30) 100%
    );
}

/* Content Container */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 52rem;
    padding: var(--space-12) var(--space-6);
}


/* --- Decorative Line (above brand name) --- */
.hero__ornament {
    display: block;
    width: 3rem;
    height: 1px;
    margin: 0 auto var(--space-6);
    background-color: var(--color-white-50);
    animation: fadeSlideDown 0.8s ease 0.1s both;
}


/* --- Brand Name --- */
.hero__brand {
    font-family: var(--font-serif);
    font-size: var(--text-hero);
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--color-white);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
    margin-block-end: var(--space-2);
    animation: fadeSlideUp 1s ease 0.15s both;
}

/* Accent on "Nail" */
.hero__brand-accent {
    color: var(--color-pink-medium);
}


/* --- Tagline Divider --- */
.hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin: var(--space-6) auto;
    max-width: 20rem;
    animation: fadeIn 1s ease 0.35s both;
}

.hero__divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-white-50),
        transparent
    );
}

.hero__divider-diamond {
    width: 6px;
    height: 6px;
    background-color: var(--color-pink-soft);
    transform: rotate(45deg);
    flex-shrink: 0;
    opacity: 0.8;
}


/* --- Coming Soon Text --- */
.hero__coming-soon {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-white-90);
    margin-block-end: var(--space-6);
    animation: fadeIn 1s ease 0.5s both;
}


/* --- Tagline --- */
.hero__tagline {
    font-family: var(--font-sans);
    font-size: var(--text-sub);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-white-90);
    letter-spacing: 0.03em;
    max-width: 32rem;
    margin-inline: auto;
    animation: fadeSlideUp 1s ease 0.65s both;
}


/* --- Decorative Bottom Ornament --- */
.hero__ornament-bottom {
    display: block;
    width: 3rem;
    height: 1px;
    margin: var(--space-10) auto 0;
    background-color: var(--color-white-20);
    animation: fadeIn 1s ease 0.8s both;
}


/* --- Footer (positioned at absolute bottom overlapping the hero) --- */
.site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: var(--space-4);
    text-align: center;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(44, 24, 16, 0.85) 40%,
        rgba(44, 24, 16, 0.95)
    );
}

.site-footer__text {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-white-50);
    animation: fadeIn 1.2s ease 0.9s both;
}


/* --- Keyframe Animations --- */

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(1.5rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-1rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* --- Subtle shimmer on the brand name for a premium touch --- */
@keyframes shimmer {
    0%, 100% {
        text-shadow:
            0 2px 30px rgba(0, 0, 0, 0.25),
            0 0 40px rgba(245, 225, 216, 0.0);
    }
    50% {
        text-shadow:
            0 2px 30px rgba(0, 0, 0, 0.25),
            0 0 60px rgba(245, 225, 216, 0.12);
    }
}

.hero__brand {
    animation:
        fadeSlideUp 1s ease 0.15s both,
        shimmer 6s ease-in-out 1.5s infinite;
}


/* --- Responsive Design --- */

/* Small screens (phones) */
@media (max-width: 480px) {
    .hero__content {
        padding: var(--space-8) var(--space-4);
    }

    .hero__divider {
        max-width: 14rem;
    }

    .hero__ornament {
        margin-block-end: var(--space-4);
    }

    .hero__coming-soon {
        margin-block-end: var(--space-6);
    }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .hero__content {
        padding: var(--space-10) var(--space-6);
    }
}

/* Large screens - give the brand name more presence */
@media (min-width: 1200px) {
    .hero__content {
        padding: var(--space-16) var(--space-8);
    }

    .hero__ornament {
        width: 4rem;
    }

    .hero__divider {
        max-width: 24rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1800px) {
    .hero__content {
        max-width: 60rem;
    }
}

/* Landscape phones - reduce vertical padding */
@media (max-height: 500px) and (orientation: landscape) {
    .hero__content {
        padding: var(--space-4) var(--space-6);
    }

    .hero__ornament {
        margin-block-end: var(--space-3);
    }

    .hero__coming-soon {
        margin-block-end: var(--space-4);
    }

    .hero__ornament-bottom {
        margin-block-start: var(--space-6);
    }
}


/* --- Reduced Motion Preference --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* --- Print Styles --- */
@media print {
    .hero__background,
    .hero__overlay {
        display: none;
    }

    .hero {
        min-height: auto;
        background: white;
    }

    .hero__brand,
    .hero__coming-soon,
    .hero__tagline,
    .site-footer__text {
        color: var(--color-dark);
    }

    .hero__divider-line {
        background: var(--color-charcoal);
    }
}
