/* Base Styles and Variables */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --background-color: #F7FFF7;
    --accent-color: #FFE66D;
    --text-color: #1A535C;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    margin: 40px auto;
    width: 100%;
    text-align: center;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

button:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 0;
    position: relative;
}

.couple-names {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.heart-animation {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 20px 0;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Counter Section Styles */
.counter-section {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: var(--shadow);
    text-align: center;
}

.date-display {
    margin-bottom: 30px;
}

.start-date h3 {
    margin-bottom: 15px;
}

.date-picker {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.date-picker input {
    max-width: 200px;
}

#saved-date-display {
    font-weight: 500;
    color: var(--primary-color);
}

.counter-container {
    margin: 30px 0;
}

.counter {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.counter-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-item span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Gallery Section Styles */
.gallery-section {
    margin: 50px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    cursor: pointer;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 20px;
    z-index: 2;
}

/* Memories Section Styles */
.memories-section {
    margin: 50px 0;
}

.memories-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.memory-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.memory-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.memory-date {
    font-family: 'Pacifico', cursive;
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.memory-content {
    color: var(--text-color);
}

/* Notes Section Styles */
.notes-section {
    margin: 50px 0;
}

.notes-container {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.note-form {
    margin-bottom: 30px;
}

.note-form textarea {
    height: 100px;
    margin-bottom: 15px;
    resize: none;
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note {
    background-color: #fff9e6;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.note:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.note-text {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.note-date {
    font-size: 0.85rem;
    color: #999;
    text-align: right;
    font-style: italic;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer p {
    margin-top: 20px;
    color: var(--text-color);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 2.5rem;
    }
    
    .counter {
        font-size: 4rem;
    }
    
    .counter-details {
        flex-wrap: wrap;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2rem;
    }
    
    .counter {
        font-size: 3rem;
    }
    
    .date-picker {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .gallery-item {
        height: 140px;
    }
    
    .gallery-date {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .section-title::before,
    .section-title::after {
        width: 20%;
    }
}

/* Animations and Transitions */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.notes-download {
    margin-top: 20px;
    text-align: center;
}

#download-notes {
    background-color: var(--secondary-color);
    padding: 12px 24px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#download-notes:hover {
    background-color: #3db9b0;
    transform: translateY(-2px);
}

/* Yeni eklenen uyarı ve yükleme göstergeleri için stiller */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    color: #777;
}

.loading-indicator i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff6b6b;
}

.api-error-message {
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert i {
    font-size: 18px;
    color: #856404;
}

.alert a {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.alert a:hover {
    background-color: #ff5252;
}

.helper-message {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

.helper-message a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
}

.helper-message a:hover {
    text-decoration: underline;
}

.error-notes {
    color: #dc3545;
    text-align: center;
    padding: 15px;
    background-color: #f8d7da;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-notes i {
    font-size: 18px;
}

.loading-notes {
    text-align: center;
    padding: 15px;
    color: #6c757d;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.btn-download {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-download:hover {
    background-color: #3db9b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

form {
    width: 100%;
}

/* Yeni bildirim popup stili */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
}

.notification-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-left: 5px solid var(--primary-color);
    animation: pulse-border 2s infinite;
}

.notification-content i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 15px;
    animation: heartbeat 1.5s infinite;
}

.notification-content p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

#add-note {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8484 100%);
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

#add-note:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(255, 107, 107, 0.4);
}

/* Form grupları için stiller */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* Dosya yükleme için stiller */
.image-upload-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#user_image {
    display: none; /* Gerçek dosya seçiciyi gizle */
}

.custom-file-upload {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-file-upload:hover {
    background-color: #3db9b0;
    transform: translateY(-2px);
}

.custom-file-upload i {
    margin-right: 5px;
}

#file-name {
    font-size: 0.9rem;
    color: #666;
}

/* Not butonları için güncellenen stiller */
#add-note {
    width: 100%;
    margin-top: 10px;
}

/* Not kartları için yeni stiller */
.note-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.note-date {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 3px;
}

/* Galeri yükleme formu için stiller */
.gallery-upload {
    text-align: center;
    margin: 20px 0 30px;
}

.btn-upload {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3db9b0 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-upload i {
    font-size: 16px;
}

.btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(78, 205, 196, 0.3);
}

.upload-form-container {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: var(--shadow);
    animation: fadeInDown 0.5s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit {
    flex: 2;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3db9b0 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-cancel {
    flex: 1;
    background-color: #f1f1f1;
    color: #666;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.btn-cancel:hover {
    background-color: #e4e4e4;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}

/* Galeri görünümü için stiller */
.gallery-image {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.gallery-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    z-index: 2;
}

.empty-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 50px;
    grid-column: span 2;
    grid-row: span 2;
    color: #aaa;
    text-align: center;
}

.empty-gallery i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #ddd;
}

.gallery-alert {
    max-width: 600px;
    margin: 10px auto;
}

/* Lightbox (Fotoğraf Büyütme) Stilleri */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 30px;
    box-sizing: border-box;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    color: white;
    border: none;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
    transition: opacity 0.3s, transform 0.3s;
}

/* ============================================
   YILDONUMU ÖZEL STİLLER - 1. YIL KUTLU OLSUN!
   ============================================ */

/* Yıldönümü Banner */
.anniversary-banner {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E9E 50%, #FFB6C1 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.3);
}

.anniversary-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50%, 50%); }
}

.anniversary-content {
    position: relative;
    z-index: 2;
}

.anniversary-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.anniversary-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-weight: 500;
}

.anniversary-date {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

/* Floating hearts animasyonu */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: floatUp 10s linear infinite;
    opacity: 0;
}

.heart:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.heart:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 10s; }
.heart:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 9s; }
.heart:nth-child(4) { left: 60%; animation-delay: 1s; animation-duration: 11s; }
.heart:nth-child(5) { left: 75%; animation-delay: 3s; animation-duration: 7s; }
.heart:nth-child(6) { left: 90%; animation-delay: 5s; animation-duration: 8.5s; }

@keyframes floatUp {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(50px) rotate(360deg);
    }
}

/* Timeline Stilleri */
.timeline-section {
    margin: 60px 0;
    padding: 40px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 0;
}

/* Timeline çizgisi */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 100%
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Sol taraf öğeler */
.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.left .timeline-content {
    margin-right: auto;
    margin-left: 0;
    max-width: calc(50% - 40px);
}

/* Sağ taraf öğeler */
.timeline-item.right {
    justify-content: flex-end;
}

.timeline-item.right .timeline-content {
    margin-left: auto;
    margin-right: 0;
    max-width: calc(50% - 40px);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Timeline ok işareti */
.timeline-item.left .timeline-content::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20px;
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-item.right .timeline-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 20px;
    width: 0;
    height: 0;
    border-right: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

/* Timeline nokta (merkez) */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), #FF8E9E);
    border-radius: 50%;
    border: 4px solid var(--background-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
    z-index: 2;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 107, 107, 0.4);
    }
}

.timeline-date {
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-date i {
    font-size: 1rem;
}

.timeline-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sparkle efekti */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

/* Özel yıldönümü sayacı vurgusu */
.anniversary-counter {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 182, 193, 0.1) 100%);
    border: 2px solid rgba(255, 107, 107, 0.2);
    position: relative;
}

.anniversary-counter::before {
    content: '🎉';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
        padding-left: 60px;
    }
    
    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin: 0;
        max-width: 100%;
    }
    
    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -15px;
        right: auto;
        border-right: 15px solid white;
        border-left: none;
    }
    
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .anniversary-title {
        font-size: 2rem;
    }
    
    .anniversary-banner {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .anniversary-title {
        font-size: 1.6rem;
    }
    
    .anniversary-subtitle {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
}

/* Glow efektleri */
.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.5),
                     0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.8),
                     0 0 30px rgba(255, 107, 107, 0.5),
                     0 0 40px rgba(255, 107, 107, 0.3);
    }
}

/* Placeholder gallery items için özel stil */
.placeholder {
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
}

.placeholder:hover {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.placeholder i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.placeholder p {
    font-size: 0.9rem;
    margin: 0;
}
