/* ========================================
   Wien Reiseberater – Love Letter Website
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --clr-bg: #fdf6f0;
    --clr-bg-dark: #1a0a0a;
    --clr-cream: #fff8f2;
    --clr-gold: #c9a96e;
    --clr-gold-light: #e8d5a8;
    --clr-burgundy: #8b2252;
    --clr-burgundy-deep: #5c0a2d;
    --clr-rose: #e8567f;
    --clr-rose-light: #ffc0cb;
    --clr-rose-soft: #fff0f3;
    --clr-text: #3a2a2a;
    --clr-text-light: #7a6060;
    --clr-white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-script: 'Dancing Script', cursive;
    --shadow-soft: 0 4px 30px rgba(139, 34, 82, 0.08);
    --shadow-medium: 0 8px 40px rgba(139, 34, 82, 0.12);
    --shadow-glow: 0 0 40px rgba(232, 86, 127, 0.2);
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Floating Hearts Background --- */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -60px;
    opacity: 0;
    animation: floatUp linear forwards;
    font-size: 1.2rem;
    filter: blur(0.5px);
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.5);
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-110vh) rotate(360deg) scale(1);
    }
}

/* --- Navbar --- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    font-size: 1.5rem;
    animation: planeFloat 3s ease-in-out infinite;
}

@keyframes planeFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--clr-white);
    letter-spacing: 0.5px;
}

.logo-accent {
    color: var(--clr-gold-light);
}

.nav-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg,
            var(--clr-burgundy-deep) 0%,
            var(--clr-burgundy) 30%,
            #a03060 60%,
            var(--clr-rose) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 169, 110, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(232, 86, 127, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Animated Vienna skyline silhouette via CSS */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background:
        /* Stephansdom spire */
        linear-gradient(to right, transparent 18%, var(--clr-burgundy-deep) 18%, var(--clr-burgundy-deep) 18.3%, transparent 18.3%),
        linear-gradient(to right, transparent 16.5%, var(--clr-burgundy-deep) 16.5%, var(--clr-burgundy-deep) 19.8%, transparent 19.8%),
        /* Buildings */
        linear-gradient(to right, transparent 10%, var(--clr-burgundy-deep) 10%, var(--clr-burgundy-deep) 25%, transparent 25%),
        linear-gradient(to right, transparent 30%, var(--clr-burgundy-deep) 30%, var(--clr-burgundy-deep) 45%, transparent 45%),
        linear-gradient(to right, transparent 50%, var(--clr-burgundy-deep) 50%, var(--clr-burgundy-deep) 65%, transparent 65%),
        linear-gradient(to right, transparent 70%, var(--clr-burgundy-deep) 70%, var(--clr-burgundy-deep) 90%, transparent 90%);
    background-size:
        100% 120px,
        100% 80px,
        100% 70px,
        100% 55px,
        100% 65px,
        100% 50px;
    background-repeat: no-repeat;
    background-position:
        bottom,
        bottom,
        bottom,
        bottom,
        bottom,
        bottom;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 700px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--clr-gold-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight-name {
    font-family: var(--font-script);
    color: var(--clr-gold-light);
    font-size: 1.15em;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { text-shadow: 0 0 10px rgba(201, 169, 110, 0.3); }
    50% { text-shadow: 0 0 25px rgba(201, 169, 110, 0.6), 0 0 50px rgba(201, 169, 110, 0.2); }
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--clr-gold-light);
    font-weight: 300;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
    color: var(--clr-burgundy-deep);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
}

.arrow-down {
    width: 18px;
    height: 18px;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* --- Fade-in animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Scroll reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Letter Section --- */
.letter-section {
    position: relative;
    padding: 6rem 1.5rem;
    background: var(--clr-bg);
    z-index: 1;
}

.letter-container {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    background: var(--clr-white);
    border-radius: var(--radius);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(201, 169, 110, 0.15);
}

/* Paper texture effect */
.letter-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(201, 169, 110, 0.06) 27px,
            rgba(201, 169, 110, 0.06) 28px
        );
    pointer-events: none;
}

/* Gold left border accent */
.letter-container::after {
    content: '';
    position: absolute;
    left: 0;
    top: 2rem;
    bottom: 2rem;
    width: 4px;
    background: linear-gradient(to bottom, var(--clr-gold), var(--clr-rose), var(--clr-gold));
    border-radius: 2px;
}

.letter-stamp {
    position: absolute;
    top: -15px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--clr-burgundy);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(6deg);
    box-shadow: 0 4px 15px rgba(139, 34, 82, 0.3);
    border: 3px dashed rgba(255, 255, 255, 0.3);
    animation: stampDrop 0.6s ease 1.2s both;
}

@keyframes stampDrop {
    0% {
        opacity: 0;
        transform: rotate(6deg) translateY(-30px) scale(1.3);
    }
    60% {
        transform: rotate(6deg) translateY(3px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: rotate(6deg) translateY(0) scale(1);
    }
}

.stamp-heart {
    font-size: 1.6rem;
    color: var(--clr-rose-light);
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

.stamp-text {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.letter-date {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-bottom: 1rem;
    font-weight: 300;
}

.letter-greeting {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--clr-burgundy);
    margin-bottom: 2rem;
}

.letter-body p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    color: var(--clr-text);
    font-weight: 300;
}

.letter-body strong {
    font-weight: 600;
    color: var(--clr-burgundy);
}

.letter-body em {
    font-style: italic;
    color: var(--clr-rose);
}

.highlight-box {
    background: var(--clr-rose-soft);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--clr-rose);
    margin: 2rem 0 !important;
}

/* --- Divider --- */
.divider {
    text-align: center;
    margin: 2.5rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--clr-gold-light), transparent);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider-heart {
    color: var(--clr-rose);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    background: var(--clr-white);
    padding: 0 1rem;
}

/* --- Services --- */
.services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--clr-cream);
    border-radius: 12px;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
}

.service-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-text {
    font-size: 1rem;
    font-weight: 300;
}

.service-text strong {
    color: var(--clr-burgundy);
}

/* --- CTA Section --- */
.cta-section {
    padding: 5rem 1.5rem;
    background:
        linear-gradient(135deg,
            var(--clr-burgundy-deep) 0%,
            var(--clr-burgundy) 50%,
            #a03060 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(232, 86, 127, 0.15), transparent 70%);
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-card {
    text-align: center;
    padding: 3rem 2rem;
}

.cta-icon-wrap {
    margin-bottom: 1.5rem;
}

.cta-phone-icon {
    font-size: 3rem;
    display: inline-block;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-15deg); }
    15% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
    25% { transform: rotate(5deg); }
    30% { transform: rotate(0deg); }
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--clr-white);
    margin-bottom: 2rem;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
    color: var(--clr-burgundy-deep);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 60px;
    transition: var(--transition);
    box-shadow:
        0 4px 20px rgba(201, 169, 110, 0.4),
        0 0 60px rgba(201, 169, 110, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold), var(--clr-rose-light), var(--clr-gold));
    background-size: 300% 300%;
    z-index: -1;
    animation: gradient 4s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 8px 30px rgba(201, 169, 110, 0.5),
        0 0 80px rgba(201, 169, 110, 0.2);
}

.pulse {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(201, 169, 110, 0.6), 0 0 60px rgba(201, 169, 110, 0.2); }
}

.cta-sub {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.cta-sub strong {
    color: var(--clr-gold-light);
}

/* --- Closing Section --- */
.closing-section {
    padding: 6rem 1.5rem;
    background: var(--clr-bg);
}

.closing-container {
    max-width: 680px;
    margin: 0 auto;
}

.closing-content {
    text-align: center;
}

.closing-intro {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.closing-love {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--clr-text);
}

.love-text {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--clr-burgundy);
    display: inline-block;
}

.closing-content p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--clr-text);
}

.closing-content em {
    color: var(--clr-rose);
}

.closing-final {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--clr-rose-soft);
    border-radius: var(--radius);
    border: 1px solid rgba(232, 86, 127, 0.1);
}

.final-line {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--clr-burgundy);
    margin-bottom: 0.5rem !important;
}

.final-love {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--clr-text);
    font-weight: 400;
    margin-bottom: 0 !important;
}

.signature {
    margin-top: 3rem;
}

.signature-text {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--clr-burgundy);
    margin-bottom: 0.5rem !important;
}

.signature-heart {
    font-size: 2.5rem;
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}

/* --- Footer --- */
.footer {
    padding: 2rem 1.5rem;
    background: var(--clr-burgundy-deep);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--clr-gold-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-tagline {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .letter-container {
        padding: 2.5rem 1.8rem;
    }

    .letter-greeting {
        font-size: 2rem;
    }

    .letter-stamp {
        width: 65px;
        height: 65px;
        right: 15px;
        top: -10px;
    }

    .stamp-heart {
        font-size: 1.3rem;
    }

    .cta-card {
        padding: 2rem 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .service-item:hover {
        transform: none;
    }

    .highlight-box {
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .letter-container {
        padding: 2rem 1.3rem;
    }

    .letter-body p {
        font-size: 0.95rem;
    }

    .love-text {
        font-size: 1.8rem;
    }
}

/* --- Selection color --- */
::selection {
    background: var(--clr-rose-light);
    color: var(--clr-burgundy-deep);
}

/* --- Smooth loading --- */
body.loaded .hero-content {
    opacity: 1;
}
