﻿/* ===== ANA TEMA ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow: hidden;
    background: #F0F8FF;
}

/* ===== KAPI EKRANI ===== */
.door-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0F172A;
    overflow: hidden;
}

.door-left,
.door-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.door-left {
    left: 0;
    border-right: 2px solid rgba(255,255,255,0.05);
}

.door-right {
    right: 0;
    border-left: 2px solid rgba(255,255,255,0.05);
}

    .door-left::before,
    .door-right::before {
        content: '💎';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 4rem;
        opacity: 0.08;
    }

.doors-open .door-left {
    transform: translateX(-100%) rotateY(-10deg);
}

.doors-open .door-right {
    transform: translateX(100%) rotateY(10deg);
}

.door-content {
    position: relative;
    z-index: 10001;
    text-align: center;
    color: white;
    padding: 40px;
}

.door-invite {
    animation: doorPulse 2s ease-in-out infinite;
}

@keyframes doorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.95;
    }
}

.door-pearl {
    font-size: 5rem;
    display: block;
    margin-bottom: 20px;
    animation: pearlFloat 3s ease-in-out infinite;
}

@keyframes pearlFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    25% {
        transform: translateY(-12px) scale(1.05);
        opacity: 0.9;
    }

    75% {
        transform: translateY(-8px) scale(1.03);
        opacity: 0.95;
    }
}

.door-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.door-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Buton - Davete Katıl */
.door-btn {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    color: white;
    padding: 16px 48px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

    .door-btn:hover {
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.25);
        transform: scale(1.05);
        box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #E8F4FD 0%, #D4E9F7 50%, #C5E0F0 100%);
    padding: 40px 20px;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== KONFETİ ===== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -10px;
    animation: confettiFall linear forwards;
    opacity: 0.8;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* ===== ROMANTİK KALP ===== */
.romantic-heart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.heart-main {
    font-size: 3.5rem;
    animation: heartPulse 1.5s ease-in-out infinite;
    color: #FF6B8A;
    display: inline-block;
}

.heart-decoration {
    font-size: 1.8rem;
    color: #FFB6C1;
    opacity: 0.6;
    animation: heartFloatSmall 3s ease-in-out infinite;
}

    .heart-decoration.left {
        animation-delay: 0s;
    }

    .heart-decoration.right {
        animation-delay: 1.5s;
    }

@keyframes heartFloatSmall {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-8px) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.12);
    }

    50% {
        transform: scale(0.92);
    }

    75% {
        transform: scale(1.08);
    }
}

/* ===== İÇERİK ===== */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    width: 100%;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    color: #4A8DB7;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.5);
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.names {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 4.5rem;
    color: #1A5276;
    margin-bottom: 15px;
    line-height: 1.1;
}

.name {
    display: inline-block;
    animation: nameGlow 3s ease-in-out infinite;
}

    .name:first-child {
        animation-delay: 0s;
    }

    .name:last-child {
        animation-delay: 1.5s;
    }

@keyframes nameGlow {
    0%, 100% {
        color: #1A5276;
        text-shadow: none;
    }

    50% {
        color: #5DADE2;
        text-shadow: 0 0 30px rgba(93, 173, 226, 0.2);
    }
}

.ampersand {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #FF6B8A;
    font-size: 3.5rem;
    margin: 0 12px;
    vertical-align: middle;
    animation: ampersandPulse 2s ease-in-out infinite;
}

@keyframes ampersandPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.line {
    flex: 0 1 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, #FF6B8A, transparent);
}

.icon {
    color: #FF6B8A;
    font-size: 1.4rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.date {
    font-family: 'Playfair Display', serif;
    font-size: .8rem;
    color: #1A5276;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.invite-text {
    font-size: 1.15rem;
    color: #2E6B8A;
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* ===== BUTON ===== */
.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #4A8DB7;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 60px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(74, 141, 183, 0.3);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

    .btn-upload::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
        animation: btnShine 3s ease-in-out infinite;
    }

@keyframes btnShine {
    0%, 100% {
        transform: translateX(-30%) translateY(-30%);
    }

    50% {
        transform: translateX(30%) translateY(30%);
    }
}

.btn-upload:hover {
    transform: translateY(-3px) scale(1.02);
    background: #3A7BA5;
    box-shadow: 0 8px 40px rgba(74, 141, 183, 0.4);
}

.btn-upload:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
}

.footer-note {
    font-size: 0.85rem;
    color: #6A9BBF;
    font-weight: 400;
    letter-spacing: 1px;
}

    .footer-note span {
        margin: 0 6px;
    }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 141, 183, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-box {
    background: white;
    border-radius: 24px;
    padding: 48px 40px 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 8px;
    z-index: 10;
}

    .modal-close:hover {
        color: #1A5276;
        background: #F0F8FF;
    }

.modal-show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-heart {
    font-size: 2.2rem;
    color: #FFB6C1;
    animation: heartFloatSmall 3s ease-in-out infinite;
}

    .modal-heart.main {
        font-size: 3.5rem;
        color: #FF6B8A;
        animation: heartPulse 1.5s ease-in-out infinite;
    }

    .modal-heart:nth-child(1) {
        animation-delay: 0s;
    }

    .modal-heart:nth-child(3) {
        animation-delay: 1.5s;
    }

.modal-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1A5276;
    margin-bottom: 8px;
    text-align: center;
}

.modal-sub {
    color: #4A8DB7;
    font-size: 0.95rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: 500;
        color: #2E6B8A;
        margin-bottom: 6px;
    }

    .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #D4E9F7;
        border-radius: 12px;
        font-size: 0.95rem;
        transition: all 0.2s;
        font-family: 'Inter', sans-serif;
        background: #F8FAFC;
        resize: vertical;
        min-height: 80px;
    }

        .form-group textarea:focus {
            outline: none;
            border-color: #4A8DB7;
            background: white;
            box-shadow: 0 0 0 4px rgba(74, 141, 183, 0.1);
        }

.file-upload-wrapper {
    position: relative;
    border: 2px dashed #D4E9F7;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #F8FAFC;
    transition: all 0.3s;
    cursor: pointer;
}

    .file-upload-wrapper:hover {
        border-color: #4A8DB7;
        background: #F0F8FF;
    }

    .file-upload-wrapper input[type="file"] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        cursor: pointer;
    }

.file-upload-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #4A8DB7;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    cursor: pointer;
    margin-top: 8px;
}

    .btn-submit:hover {
        background: #3A7BA5;
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(74, 141, 183, 0.2);
    }

/* ===== MOBİL UYARLAMA ===== */
@media (max-width: 768px) {
    .door-content h2 {
        font-size: 2.5rem;
    }

    .door-pearl {
        font-size: 4rem;
    }

    .door-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .names {
        font-size: 3rem;
    }

    .ampersand {
        font-size: 2.5rem;
        margin: 0 8px;
    }

    .date {
        font-size: 1.4rem;
    }

    .invite-text {
        font-size: 1rem;
    }

    .btn-upload {
        padding: 14px 32px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .modal-box {
        padding: 36px 24px 32px;
    }

        .modal-box h2 {
            font-size: 1.5rem;
        }

    .badge {
        font-size: 0.65rem;
        padding: 6px 18px;
    }

    .heart-main {
        font-size: 3rem;
    }

    .heart-decoration {
        font-size: 1.5rem;
    }

    .romantic-heart-wrapper {
        gap: 14px;
    }

    .modal-heart.main {
        font-size: 3rem;
    }

    .modal-heart {
        font-size: 1.8rem;
    }

    .modal-show {
        gap: 12px;
    }

    .door-left::before,
    .door-right::before {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .door-content h2 {
        font-size: 2rem;
    }

    .door-content p {
        font-size: 1rem;
    }

    .door-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .door-pearl {
        font-size: 3rem;
    }

    .names {
        font-size: 2.2rem;
    }

    .ampersand {
        font-size: 1.8rem;
        margin: 0 4px;
    }

    .content {
        padding: 0 10px;
    }

    .date {
        font-size: 1.1rem;
    }

    .invite-text {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .btn-upload {
        font-size: 0.85rem;
        padding: 12px 24px;
    }

    .footer-note {
        font-size: 0.75rem;
    }

    .modal-box {
        padding: 28px 16px 24px;
        border-radius: 16px;
    }

    .heart-main {
        font-size: 2.5rem;
    }

    .heart-decoration {
        font-size: 1.2rem;
    }

    .romantic-heart-wrapper {
        gap: 10px;
    }

    .modal-heart.main {
        font-size: 2.5rem;
    }

    .modal-heart {
        font-size: 1.5rem;
    }

    .modal-show {
        gap: 10px;
    }
}
/* ===== ÖZEL ALERT ===== */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .custom-alert.active {
        opacity: 1;
        visibility: visible;
    }

.custom-alert-box {
    background: white;
    border-radius: 24px;
    padding: 40px 36px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
}

.custom-alert.active .custom-alert-box {
    transform: scale(1) translateY(0);
}

.custom-alert-icon {
    font-size: 4rem;
    margin-bottom: 12px;
    display: block;
}

.custom-alert-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #1A5276;
    margin-bottom: 8px;
}

.custom-alert-box p {
    color: #4A8DB7;
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.custom-alert-btn {
    background: #4A8DB7;
    color: white;
    border: none;
    padding: 12px 48px;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .custom-alert-btn:hover {
        background: #3A7BA5;
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(74, 141, 183, 0.2);
    }