/* ============================================
   Cabinet Avocat Mihaela Gozman — Landing Page
   Color palette: Deep emerald + warm gold accents
   ============================================ */

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

:root {
    /* Core palette — inspired by the green blazer in the photo */
    --clr-bg:        #0c1a14;
    --clr-bg-card:   rgba(18, 40, 30, 0.55);
    --clr-surface:   #142922;
    --clr-emerald:   #1e6b45;
    --clr-emerald-l: #28a06a;
    --clr-gold:      #c9a84c;
    --clr-gold-l:    #e2c36d;
    --clr-text:      #e8e4df;
    --clr-text-dim:  #9a9590;
    --clr-white:     #ffffff;

    /* Typography */
    --ff-serif: 'Cormorant Garamond', 'Georgia', serif;
    --ff-sans:  'Inter', 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;

    /* Misc */
    --radius:  12px;
    --radius-lg: 20px;
    --shadow:  0 8px 32px rgba(0,0,0,0.35);
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-sans);
    background: var(--clr-bg);
    color: var(--clr-text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;

    /* Subtle radial glow */
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(30, 107, 69, 0.15), transparent),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(201, 168, 76, 0.06), transparent);
}


/* --- Decorative Background Ornaments --- */
.bg-ornament {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(100px);
}
.bg-ornament--top {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(30, 107, 69, 0.12), transparent 70%);
}
.bg-ornament--bottom {
    width: 500px;
    height: 500px;
    bottom: -180px;
    left: -100px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
}


/* --- Page Container --- */
.page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);

    animation: fadeInUp 0.8s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Header --- */
.header {
    text-align: center;
}

.header__icon {
    font-size: 2.2rem;
    color: var(--clr-gold);
    margin-bottom: var(--space-xs);
    animation: scaleIn 0.6s 0.3s ease-out both;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}

.header__title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: 0.25rem;
}

.header__name {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.1;
    color: var(--clr-white);
    letter-spacing: 0.02em;
}

.header__rule {
    width: 60px;
    height: 2px;
    margin: var(--space-sm) auto 0;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    border-radius: 2px;
}


/* --- Photo Section --- */
.photo-section {
    display: flex;
    justify-content: center;
}

.photo-frame {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(145deg, var(--clr-gold), var(--clr-emerald-l), var(--clr-gold-l));
    box-shadow:
        0 0 40px rgba(30, 107, 69, 0.2),
        0 0 80px rgba(201, 168, 76, 0.08);
    animation: fadeInUp 0.8s 0.2s ease-out both;
}

.photo-frame::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.15);
    pointer-events: none;
}

.photo-frame__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
}


/* --- Tagline --- */
.tagline {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--clr-text-dim);
    text-align: center;
    letter-spacing: 0.06em;
    animation: fadeInUp 0.8s 0.35s ease-out both;
}


/* --- Contact Cards --- */
.contacts {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    animation: fadeInUp 0.8s 0.5s ease-out both;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-md);
    background: var(--clr-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--clr-text);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
    cursor: pointer;
}

.contact-card:hover {
    background: rgba(30, 107, 69, 0.15);
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.contact-card:active {
    transform: translateY(-1px);
}

.contact-card__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--clr-emerald), rgba(30, 107, 69, 0.6));
    color: var(--clr-gold-l);
    transition: background var(--transition), color var(--transition);
}

.contact-card:hover .contact-card__icon {
    background: linear-gradient(145deg, var(--clr-gold), var(--clr-gold-l));
    color: var(--clr-bg);
}

.contact-card__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-text-dim);
    margin-bottom: 2px;
}

.contact-card__value {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--clr-white);
}


/* --- Footer --- */
.footer {
    text-align: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.8s 0.65s ease-out both;
}

.footer__text {
    font-size: 0.85rem;
    color: var(--clr-text-dim);
    line-height: 1.6;
}

.footer__text--muted {
    font-size: 0.75rem;
    color: rgba(154, 149, 144, 0.5);
    margin-top: var(--space-xs);
}


/* --- Responsive --- */
@media (max-width: 480px) {
    .page {
        padding: var(--space-md) var(--space-sm);
        gap: var(--space-md);
    }

    .header__name {
        font-size: 1.9rem;
    }

    .photo-frame {
        width: 180px;
        height: 180px;
    }

    .contact-card {
        padding: var(--space-sm) var(--space-sm);
        gap: var(--space-sm);
    }

    .contact-card__icon {
        width: 42px;
        height: 42px;
    }

    .contact-card__value {
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) {
    .header__name {
        font-size: 2.8rem;
    }

    .photo-frame {
        width: 250px;
        height: 250px;
    }
}
