/* ==========================================================================
   Atelier Mimosa — style.css
   ========================================================================== */

:root {
    --green-dark: rgb(5, 54, 48);
    --green-deep: rgb(17, 61, 39);
    --green-teal: rgb(17, 61, 57);
    --green-grey: rgb(39, 60, 67);
    --gold: #d3a625;
    --gold-light: #e6c05a;
    --cream: #faf8f3;
    --ink: #1d2b28;
    --ink-soft: #4a5a55;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

/* --------------------------------------------------------------------------
   Fade-in on scroll
   -------------------------------------------------------------------------- */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem 5rem;
    color: #fff;
    background: linear-gradient(-45deg,
        var(--green-grey),
        var(--green-teal),
        var(--green-deep),
        var(--green-dark));
    background-size: 400% 400%;
    animation: gradient-shift 16s ease infinite;
    overflow: hidden;
}

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

@media (prefers-reduced-motion: reduce) {
    .hero {
        animation: none;
    }
}

/* subtle texture overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/bg-pattern.png") repeat;
    opacity: 0.35;
    pointer-events: none;
}

.hero > * {
    position: relative;
}

.hero-logo {
    width: min(420px, 80vw);
    margin: 0 auto 1rem;
    animation: hero-enter 1.2s ease both;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-style: italic;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2rem;
    animation: hero-enter 1.2s ease 0.2s both;
}

.hero-address {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    animation: hero-enter 1.2s ease 0.35s both;
}

.hero-address a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-address a:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .hero-tagline,
    .hero-address,
    .hero-cta {
        animation: none;
    }
}

/* CTA button */
.button-gold {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--green-dark);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    padding: 1.05rem 2.6rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hero-cta {
    animation: hero-enter 1.2s ease 0.5s both;
}

/* scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
}

.scroll-indicator::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.8);
    animation: scroll-hint 2s ease infinite;
}

@keyframes scroll-hint {
    0%   { opacity: 1; transform: translateY(0); }
    70%  { opacity: 0; transform: translateY(14px); }
    100% { opacity: 0; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-indicator::after {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */

.section {
    padding: 6rem 1.5rem;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 1.1rem auto 0;
    background: var(--gold);
}

.section-intro {
    text-align: center;
    color: var(--ink-soft);
    max-width: 34rem;
    margin: 0 auto 3.5rem;
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Appointments
   -------------------------------------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border: 1px solid rgba(5, 54, 48, 0.08);
    border-radius: 18px;
    padding: 2.5rem 1.75rem 2.25rem;
    text-align: center;
    box-shadow: 0 6px 24px rgba(5, 54, 48, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(5, 54, 48, 0.12);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.card .card-role {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.card .tel {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--green-dark);
    text-decoration: none;
    border: 1px solid rgba(5, 54, 48, 0.25);
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.card .tel:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.card .online-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    transition: color 0.3s ease;
}

.card .online-link:hover {
    color: var(--gold);
}

.appointments-cta {
    text-align: center;
    margin-top: 3rem;
}

.appointments-cta .button-gold {
    box-shadow: 0 8px 24px rgba(5, 54, 48, 0.18);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3.5rem;
    align-items: center;
}

.about-photo {
    position: relative;
}

.about-photo img {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(5, 54, 48, 0.22);
}

.about-photo::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 2px solid var(--gold);
    border-radius: 18px;
    z-index: 0;
}

.about-text h2 {
    text-align: left;
}

.about-text h2::after {
    margin-left: 0;
}

.about-text p {
    color: var(--ink-soft);
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

.about-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--green-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.15rem;
    transition: color 0.3s ease;
}

.about-instagram:hover {
    color: var(--gold);
}

.about-instagram svg {
    width: 20px;
    height: 20px;
    flex: none;
}

@media (max-width: 760px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-photo {
        max-width: 380px;
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
    background: linear-gradient(160deg, var(--green-teal), var(--green-dark));
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 5rem 1.5rem 3rem;
}

.footer-logo {
    width: min(260px, 60vw);
    margin: 0 auto 2rem;
}

.footer address {
    font-style: normal;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer a:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.footer-instagram svg {
    width: 18px;
    height: 18px;
}

.footer-year {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.error-page p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    letter-spacing: 0.08em;
}
