/* Kusursuz Davetiye - Zarif Animasyonlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #1a1a1a;
    background: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(26, 26, 26, 0.02) 100%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #fefefe 0%, #f8f6f0 50%, #f2ede3 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* ============ LOADING SCREEN - Muhteşem Giriş ============ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Loading Bubbles */
.loading-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
    border-radius: 50%;
    opacity: 0;
    animation: bubbleFloat 8s ease-in-out infinite;
}

.bubble-1 {
    width: 20px;
    height: 20px;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 15px;
    height: 15px;
    left: 20%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 12px;
    height: 12px;
    left: 70%;
    animation-delay: 3s;
}

.bubble-5 {
    width: 18px;
    height: 18px;
    left: 30%;
    animation-delay: 1.5s;
}

.bubble-6 {
    width: 22px;
    height: 22px;
    left: 60%;
    animation-delay: 2.5s;
}

.bubble-7 {
    width: 14px;
    height: 14px;
    left: 40%;
    animation-delay: 0.5s;
}

.bubble-8 {
    width: 16px;
    height: 16px;
    left: 90%;
    animation-delay: 3.5s;
}

/* Tagline reveal */
.tagline-reveal {
    overflow: hidden;
    margin-bottom: 3rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    color: #d4af37;
    letter-spacing: 0.1em;
    transform: translateY(100%);
    opacity: 0;
    animation: elegantSlideUp 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Main title reveal */
.main-title-reveal {
    margin-bottom: 4rem;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 4rem;
    font-weight: 200;
    color: #ffffff;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    line-height: 1.2;
}

.name {
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.first-name {
    animation: elegantFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2s forwards;
}

.ampersand {
    font-size: 3rem;
    color: #d4af37;
    opacity: 0;
    transform: scale(0.8);
    animation: gentleGlow 0.8s ease-in-out 2.8s forwards;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.second-name {
    animation: elegantFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 3.2s forwards;
}



/* ============ MAIN CONTENT ============ */
.main-wrapper {
    transition: opacity 1.5s ease-in-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 248, 242, 0.8) 100%),
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    backdrop-filter: blur(10px);
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 2s ease-out 0.5s forwards;
}

.hero-line {
    width: 150px;
    height: 2px;
    margin: 0 auto 2rem;
    position: relative;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: lineGlow 3s ease-in-out infinite;
}

.loading-line-bottom {
    width: 120px;
    height: 2px;
    margin: 1rem auto 2rem;
    position: relative;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0;
    animation: elegantFadeIn 1.2s ease-out 1.8s forwards;
}

.signature-line {
    width: 80px;
    height: 1px;
    margin: 2rem auto 0;
    position: relative;
    background: #d4af37;
    opacity: 0;
    animation: signatureDraw 2s ease-out 4.5s forwards;
}

.signature-line::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -5px;
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
    opacity: 0;
    animation: dotAppear 0.3s ease-out 6.2s forwards;
}

.hero-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-line::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    animation: dotPulse 2s ease-in-out infinite 1s;
}



.hero h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero .tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #d4af37;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 2rem auto;
    animation: dividerGlow 3s ease-in-out infinite;
}

/* Event Cards */
.main-content {
    padding: 6rem 0;
    position: relative;
}

.main-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.event-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 242, 0.95) 100%);
    border-radius: 32px;
    padding: 4rem 3.5rem;
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.06),
        0 16px 40px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(50px);
    opacity: 0;
}

.event-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 48px 120px rgba(0, 0, 0, 0.1),
        0 24px 60px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(212, 175, 55, 0.25);
}

.card-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}



.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a1a1a, #d4af37);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.08em;
    position: relative;
}

.event-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
    animation: titleUnderlineGlow 4s ease-in-out infinite;
}

.event-details {
    text-align: center;
}

.event-details > div {
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.hosts {
    font-size: 1.2rem;
    color: #2c2c2c;
    line-height: 1.5;
}

.surname {
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    color: #1a1a1a;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.datetime {
    font-weight: 400;
    color: #444;
    font-size: 1.1rem;
    padding: 1.5rem 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    margin: 2rem 0;
}

.venue {
    font-style: normal;
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* Location button - elegant, gold-accented */
.location {
    margin-top: 1rem;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.6rem;
    border-radius: 48px;
    border: none;
    background: linear-gradient(180deg, rgba(212,175,55,0.16), rgba(255,255,255,0.02));
    color: #0f0f0f;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms ease;
    box-shadow: 0 12px 30px rgba(16,16,16,0.12), 0 6px 18px rgba(212,175,55,0.08) inset;
}

/* Gold outline ring via pseudo-element */
.location-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 48px;
    pointer-events: none;
    background: transparent;
    box-shadow: 0 0 0 1.5px rgba(212,175,55,0.95) inset, 0 6px 20px rgba(212,175,55,0.06);
    opacity: 0.98;
}

/* Sheen animation */
.location-btn::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 40%;
    height: 180%;
    background: linear-gradient(120deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02), rgba(255,255,255,0.12));
    transform: rotate(25deg) translateX(-120%);
    transition: transform 650ms cubic-bezier(.2,.9,.2,1), opacity 350ms ease;
    opacity: 0.9;
}

.location-btn:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 28px 70px rgba(16,16,16,0.18), 0 10px 30px rgba(212,175,55,0.12) inset;
}

.location-btn:hover::after {
    transform: rotate(25deg) translateX(200%);
    opacity: 1;
}

.location-btn:active {
    transform: translateY(-2px) scale(0.995);
}

.location-btn:focus {
    outline: none;
    box-shadow: 0 0 0 6px rgba(212,175,55,0.12), 0 18px 40px rgba(16,16,16,0.12);
}



/* Footer */
footer {
    padding: 6rem 0;
    text-align: center;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(250, 248, 242, 0.4) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    transform: translateY(50px);
    opacity: 0;
}

footer.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.footer-floral {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.leaf {
    width: 30px;
    height: 20px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 50% 10% 50% 10%;
    animation: leafSway 4s ease-in-out infinite;
}

.left-leaf {
    animation-delay: 0s;
}

.right-leaf {
    animation-delay: 2s;
    transform: scaleX(-1);
}



footer p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
}

/* Background Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: 
        radial-gradient(circle, rgba(212, 175, 55, 0.8) 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
    border-radius: 50%;
    animation: particleFloat 25s linear infinite;
    opacity: 0;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 4s; }
.particle:nth-child(3) { left: 50%; animation-delay: 8s; }
.particle:nth-child(4) { left: 70%; animation-delay: 12s; }
.particle:nth-child(5) { left: 90%; animation-delay: 16s; }

/* ============ ANIMASYONLAR ============ */

@keyframes elegantSlideUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes elegantFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@keyframes gentleGlow {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes signatureDraw {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

@keyframes dotAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutLoading {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes fadeInMain {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes dividerGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.6); }
}



@keyframes titleUnderlineGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
}



@keyframes leafSway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}



@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes lineGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
        opacity: 1;
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        opacity: 1;
    }
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(50vh) scale(1.2);
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-20vh) scale(0.8);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-content .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .event-card {
        padding: 2.5rem 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        line-height: 1.1;
    }
    
    .hero-line {
        width: 100px;
        margin-bottom: 1.5rem;
    }
    
    .loading-line-bottom {
        width: 80px;
    }
    
    .signature-line {
        width: 60px;
    }
    
    .tagline-text {
        font-size: 1.5rem;
    }

    /* Ensure the location buttons keep their rich styling on small screens */
    .location-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 0.6rem;
        padding: 0.85rem 1.4rem !important;
        font-size: 1rem !important;
        border-radius: 40px !important;
        box-shadow: 0 16px 40px rgba(16,16,16,0.14), 0 8px 24px rgba(212,175,55,0.10) inset !important;
        transform: translateY(0) !important;
    }

    .location-btn::after {
        /* make sheen visible and faster on mobile */
        transition: transform 520ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease;
        transform: rotate(25deg) translateX(-60%);
        opacity: 0.9;
    }

    .location-btn:hover { transform: translateY(-6px) scale(1.02); }

    /* Make sure the hero's decorative lines and dots are visible on mobile */
    .hero-line, .loading-line-bottom, .signature-line {
        opacity: 1 !important;
        animation-play-state: running !important;
    }

    .hero-line::before, .hero-line::after, .loading-line-bottom::before, .signature-line::before {
        opacity: 1 !important;
    }
}