/* =====================================================
   ROMANTIC LOVE WEBSITE - CUSTOM CSS
   Furkan & Yağmur
   =====================================================*/

/* === Google Fonts Import === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600&family=Dancing+Script:wght@400;700&display=swap');

/* === Root Variables - Elegant Champagne & Charcoal === */
:root {
    --primary-accent: #C4A962;
    --primary-warm: #D4AF37;
    --primary-light: #E8D9B5;
    --light-bg: #FDFCF9;
    --soft-bg: #FAF9F6;
    --dark-accent: #1C1C1C;
    --gold: #C4A962;
    --champagne: #E8D9B5;
    --charcoal: #2D2D2D;
    --text-dark: #1C1C1C;
    --text-light: #6B6B6B;
    --white: #ffffff;
    --gradient-romantic: linear-gradient(135deg, #C4A962 0%, #D4AF37 100%);
    --gradient-love: linear-gradient(135deg, #1C1C1C 0%, #2D2D2D 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.12);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    --font-script: 'Dancing Script', cursive;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--soft-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === Navbar Styles === */
.romantic-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.15);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.romantic-navbar .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-accent) !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.romantic-navbar .navbar-brand:hover {
    color: var(--dark-accent) !important;
}

.romantic-navbar .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.romantic-navbar .nav-link:hover,
.romantic-navbar .nav-link.active {
    color: var(--white) !important;
    background: var(--gradient-romantic);
    transform: translateY(-2px);
}

.romantic-navbar .navbar-toggler {
    border: 2px solid var(--primary-accent);
    padding: 8px 12px;
}

.romantic-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238B5E3C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === Hero Section === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-love);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 C25 5, 15 5, 15 15 C15 25, 30 35, 30 35 C30 35, 45 25, 45 15 C45 5, 35 5, 30 10' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 40px 20px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--white);
    text-shadow: 2px 4px 20px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    color: var(--dark-accent);
}

/* === Floating Hearts Animation === */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-hearts span {
    position: absolute;
    display: block;
    animation: floatUp 15s infinite;
    opacity: 0.6;
    font-size: 2rem;
}

.floating-hearts span:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-hearts span:nth-child(2) { left: 20%; animation-delay: 2s; font-size: 1.5rem; }
.floating-hearts span:nth-child(3) { left: 35%; animation-delay: 4s; }
.floating-hearts span:nth-child(4) { left: 50%; animation-delay: 1s; font-size: 2.5rem; }
.floating-hearts span:nth-child(5) { left: 65%; animation-delay: 3s; }
.floating-hearts span:nth-child(6) { left: 75%; animation-delay: 5s; font-size: 1.8rem; }
.floating-hearts span:nth-child(7) { left: 85%; animation-delay: 2.5s; }
.floating-hearts span:nth-child(8) { left: 90%; animation-delay: 4.5s; font-size: 1.2rem; }

@keyframes floatUp {
    0% {
        bottom: -10%;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 110%;
        transform: translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

/* === Section Styles === */
.page-section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-accent);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '🤎';
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
}

/* === Quick Link Cards === */
.quick-links-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.quick-link-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    border: 3px solid transparent;
    text-decoration: none;
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-accent);
}

.quick-link-card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.quick-link-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* === Quote Section === */
.quote-section {
    padding: 100px 0;
    background: var(--gradient-romantic);
    text-align: center;
}

.quote-section blockquote {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.quote-section cite {
    display: block;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    font-style: normal;
}

/* === Page Header === */
.page-header {
    background: var(--gradient-love);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 8 C17 5, 12 5, 12 10 C12 15, 20 22, 20 22 C20 22, 28 15, 28 10 C28 5, 23 5, 20 8' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.2);
}

.page-header p {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

/* === Biz Page (About Us) === */
.about-couple {
    padding: 80px 0;
}

.couple-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.couple-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.couple-info {
    padding: 40px;
}

.couple-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.couple-info p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.love-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
    min-width: 120px;
}

.stat-item .number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-accent);
    display: block;
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === Gallery (Anılarımız) === */
.memory-gallery {
    padding: 80px 0;
}

.memory-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.memory-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

.memory-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.memory-item:hover img {
    transform: scale(1.1);
}

.memory-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.memory-item:hover .memory-overlay {
    transform: translateY(0);
}

.memory-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.memory-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* === Sonsuza Kadar Page === */
.forever-section {
    padding: 80px 0;
    text-align: center;
}

.forever-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    max-width: 600px;
    margin: 0 auto;
}

.forever-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.forever-info {
    padding: 40px;
}

.forever-date {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.forever-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* === Letters Page (Mektuplarımız) === */
.letters-section {
    padding: 80px 0;
}

.letter-templates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.letter-template {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--primary-accent);
    transition: all 0.3s ease;
}

.letter-template:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.letter-template h4 {
    font-family: var(--font-heading);
    color: var(--primary-accent);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.letter-template p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

/* === Letter Form === */
.letter-form-section {
    background: var(--light-bg);
    padding: 60px 0;
    border-radius: 30px;
    margin: 40px 0;
}

.letter-form {
    max-width: 700px;
    margin: 0 auto;
}

.letter-form .form-control {
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 15px 20px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.letter-form .form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.letter-form textarea {
    min-height: 200px;
    resize: none;
}

.btn-romantic {
    background: var(--gradient-romantic);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-romantic:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    color: var(--white);
}

/* === Saved Letters === */
.saved-letters {
    margin-top: 60px;
}

.saved-letter-item {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.saved-letter-item .letter-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.saved-letter-item .letter-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.saved-letter-item .letter-content {
    color: var(--text-light);
    line-height: 1.7;
}

.saved-letter-item .delete-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--dark-accent);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.saved-letter-item .delete-btn:hover {
    opacity: 1;
}

/* === Footer === */
.romantic-footer {
    background: var(--text-dark);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-heart {
    font-size: 2rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-accent);
}

.footer-quote {
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* === Animations === */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* === Responsive === */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .quote-section blockquote {
        font-size: 1.8rem;
    }
    
    .romantic-navbar .navbar-brand {
        font-size: 1.4rem;
    }
    
    .love-stats {
        justify-content: center;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .couple-info h2 {
        font-size: 2rem;
    }
    
    .forever-date {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .quick-link-card {
        padding: 30px 20px;
    }
    
    .letter-templates {
        grid-template-columns: 1fr;
    }
}

/* === Admin Panel Overrides === */
.admin-love-section {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.admin-love-section h3 {
    color: var(--primary-accent);
    font-family: var(--font-heading);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
}
