/* Wedding Website Custom Styles */

:root {
    --rose-primary: #e91e63;
    --rose-secondary: #f8bbd9;
    --rose-light: #fce4ec;
    --gold: #ffd700;
    --navy: #2c3e50;
    --gray-light: #f8f9fa;
    --gray-dark: #6c757d;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--navy);
    overflow-x: hidden;
}

/* Typography */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rose-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-primary), var(--gold));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Navigation */
.wedding-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
}

.wedding-nav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--rose-primary) !important;
    text-decoration: none;
}

.brand-text {
    color: var(--rose-primary);
}

.nav-link {
    font-weight: 500;
    color: var(--navy) !important;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--rose-primary) !important;
}

.text-rose {
    color: var(--rose-primary) !important;
}

/* Navbar Motif */
.navbar-motif-fixed {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.navbar-motif-img {
    height: 76px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.navbar-motif-img:hover {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg,
            rgba(233, 30, 99, 0.8),
            rgba(255, 215, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="hearts" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M50,25 C50,15 40,5 30,5 C20,5 10,15 10,25 C10,35 20,45 30,45 L50,65 L70,45 C80,45 90,35 90,25 C90,15 80,5 70,5 C60,5 50,15 50,25 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hearts)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.couple-names {
    font-size: 4rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.wedding-date {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold);
}

/* Hero Motif */
.hero-motif {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-motif-img {
    height: 90px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    animation: motifGlow 3s ease-in-out infinite alternate;
}

@keyframes motifGlow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.hero-hearts {
    font-size: 2rem;
    color: var(--gold);
    animation: heartbeat 2s ease-in-out infinite;
}

.hero-hearts i {
    margin: 0 1rem;
    animation: float 3s ease-in-out infinite;
}

.hero-hearts i:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-hearts i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* About Section */
.about-section {
    background: var(--gray-light);
    position: relative;
    z-index: 2;
}

.couple-photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.couple-photo {
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.couple-photo:hover {
    transform: scale(1.05);
}

.about-title {
    font-family: 'Playfair Display', serif;
    color: var(--rose-primary);
    font-size: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--rose-primary);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin: 0;
    word-wrap: break-word;
    hyphens: auto;
}

/* Details Section */
.details-section {
    background: var(--white);
}

.detail-card {
    background: var(--gray-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.detail-icon {
    font-size: 3rem;
    color: var(--rose-primary);
    margin-bottom: 1.5rem;
}

.detail-card h4 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.detail-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Invitation Section */
.invitation-section {
    background: var(--rose-light);
}

.invitation-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.invitation-image {
    max-height: 600px;
    object-fit: cover;
    border-radius: 15px;
}

.invitation-actions {
    margin-top: 2rem;
}

/* Photo Upload Section */
.photos-section {
    background: var(--gray-light);
}

.upload-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: transform 0.3s ease;
}

.upload-card:hover {
    transform: translateY(-5px);
}

.upload-icon {
    font-size: 4rem;
    color: var(--rose-primary);
}

.upload-card h4 {
    font-family: 'Playfair Display', serif;
}

.upload-note {
    margin-top: 1rem;
}

/* Buttons */
.btn-rose {
    background: linear-gradient(135deg, var(--rose-primary), #d81b60);
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-rose:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: var(--white);
}

.btn-outline-rose {
    border: 2px solid var(--rose-primary);
    color: var(--rose-primary);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-rose:hover {
    background: var(--rose-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
.footer-section {
    background: var(--navy);
    color: var(--white);
}

.footer-hearts {
    font-size: 1.5rem;
    color: var(--gold);
}

.footer-hearts i {
    margin: 0 0.5rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-love {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--rose-secondary);
}

.couple-signature {
    font-weight: 700;
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }

    .couple-names {
        font-size: 2.5rem;
    }

    .wedding-date {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-card {
        margin-bottom: 1rem;
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .detail-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }

    .invitation-card,
    .upload-card {
        padding: 2rem 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 1.8rem;
    }

    .wedding-date {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .stat-card {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .invitation-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .detail-card {
        padding: 1.5rem 1rem;
    }

    .detail-card h4 {
        font-size: 1.3rem;
    }

    .detail-text {
        font-size: 1rem;
    }
}

/* Extra small screens - WhatsApp web view */
@media (max-width: 400px) {
    .couple-names {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .wedding-date {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .stat-card {
        padding: 1rem 0.6rem;
    }

    .stat-number {
        font-size: 1.3rem;
        line-height: 1.1;
        max-width: 100%;
        text-align: center;
        word-spacing: -2px;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-top: 0.3rem;
    }

    .about-text {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 0.3rem;
    }

    /* Navbar motif responsive */
    .navbar-motif-img {
        height: 60px;
    }

    /* Hero motif responsive */
    .hero-motif-img {
        height: 60px;
    }

    .about-title {
        font-size: 1.4rem;
    }

    .detail-card {
        padding: 1.2rem 0.8rem;
    }

    .detail-card h4 {
        font-size: 1.2rem;
    }

    .detail-text {
        font-size: 0.95rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .brand-text {
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Extra small screens */
@media (max-width: 375px) {
    .navbar-motif-img {
        height: 50px;
    }

    .hero-motif-img {
        height: 50px;
    }
}

/* Daha kompakt detay kartları için ek stil */
.compact-detail-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    min-height: unset;
}

.compact-detail-card .detail-icon {
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.compact-detail-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.compact-detail-card .detail-text {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
}

.location-buttons .btn-sm {
    padding: 0.3rem 0.9rem;
    font-size: 0.92rem;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .compact-detail-card {
        padding: 1.1rem 0.7rem;
        margin-bottom: 0.7rem;
    }

    .location-buttons .btn-sm {
        font-size: 0.88rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .compact-detail-card {
        padding: 0.8rem 0.4rem;
        margin-bottom: 0.5rem;
    }

    .compact-detail-card h4 {
        font-size: 1rem;
    }

    .compact-detail-card .detail-text {
        font-size: 0.93rem;
    }

    .location-buttons .btn-sm {
        font-size: 0.82rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Hero CTA Button */
.hero-cta {
    margin-top: 2rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(233, 30, 99, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    }
}