/* =====================================================
   CAMILLA GIACHI - LANDING PAGE STYLES
   Elegant, Professional, Modern
   ===================================================== */

/* CSS Custom Properties */
:root {
    /* Color Palette - White with subtle pink/fuchsia */
    --color-white: #ffffff;
    --color-off-white: #fdfbfc;
    --color-pink-subtle: #fff9fa;
    --color-pink-light: #fff0f3;
    --color-pink-medium: #ffe4eb;
    --color-fuchsia-accent: #e91e8c;
    --color-fuchsia-soft: #f472b6;
    --color-fuchsia-pale: #fce7f3;

    /* Text colors */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-text-muted: #7a7a7a;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text-primary);
    background: var(--color-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   ANIMATED BACKGROUND ELEMENTS
   ===================================================== */

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(252, 231, 243, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(244, 114, 182, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 240, 243, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -3;
}

.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(233, 30, 140, 0.1));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(252, 231, 243, 0.4), rgba(244, 114, 182, 0.15));
    bottom: -50px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 228, 235, 0.5), rgba(252, 231, 243, 0.2));
    top: 40%;
    left: 60%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(233, 30, 140, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(233, 30, 140, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* =====================================================
   MAIN CONTAINER
   ===================================================== */

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    min-height: 100vh;
}

.content-wrapper {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* =====================================================
   HERO SECTION - NAME
   ===================================================== */

.hero {
    margin-bottom: var(--space-xl);
}

.name-container {
    overflow: hidden;
    padding: var(--space-sm) 0;
}

.name {
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: 1.1;
    font-size: clamp(2rem, 7vw, 4.5rem);
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-fuchsia-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(40px);
    animation: revealText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    padding: 0 var(--space-sm);
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   DIVIDER
   ===================================================== */

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-lg) auto;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
}

.divider-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--color-fuchsia-soft), transparent);
}

.divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--color-fuchsia-accent);
    transform: rotate(45deg);
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: rotate(45deg) scale(1.2);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* =====================================================
   TAGLINE
   ===================================================== */

.tagline {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1s;
    white-space: nowrap;
}

.tagline-word {
    position: relative;
    transition: color var(--transition-fast);
}

.tagline-word:hover {
    color: var(--color-fuchsia-accent);
}

.tagline-separator {
    color: var(--color-fuchsia-soft);
    font-size: 0.8em;
}

/* =====================================================
   SOCIAL LINKS
   ===================================================== */

.social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-text-secondary);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 30, 140, 0.1);
    transition: all var(--transition-elegant);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:nth-child(1) {
    animation-delay: 1.2s;
}

.social-link:nth-child(2) {
    animation-delay: 1.35s;
}

.social-link:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(233, 30, 140, 0.3);
    box-shadow:
        0 15px 40px rgba(233, 30, 140, 0.15),
        0 0 0 1px rgba(233, 30, 140, 0.1);
    color: var(--color-fuchsia-accent);
    background: rgba(255, 255, 255, 0.95);
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-fast);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    text-align: center;
    padding: var(--space-lg);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 2s;
}

.footer p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
    }

    .tagline {
        letter-spacing: 0.1em;
        font-size: 0.7rem;
    }

    .divider-line {
        width: 40px;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .name {
        letter-spacing: 0.05em;
        font-size: clamp(1.8rem, 10vw, 3rem);
    }

    .tagline {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }

    .social-link {
        width: 46px;
        height: 46px;
    }

    .social-links {
        gap: var(--space-md);
    }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .orb {
        animation: none;
    }
}

/* =====================================================
   CURSOR GLOW EFFECT (added via JS)
   ===================================================== */

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}