body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
    text-align: center;
    background-color: white;
    color: black;
    transition: background 1s, color 1s;
}
body.dark-mode {
    background-color: black;
    color: white;
}

/* Mavi Mod (Hover Işıkları) */

header {
    background: #ff5e6c;
    padding: 20px 0;
}

.photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.circle {
    width: 140px; /* Fotoğraf boyutunu büyüttük */
    height: 140px;
    border-radius: 50%;
    border: 3px solid #ea1515; /* Kenarlığı biraz kalınlaştırdık */
    margin: 0 20px;
    object-fit: cover; /* Fotoğrafın çerçeveye tam oturmasını sağlar */
}

.heart {
    width: 30px;
    height: 30px;
    background: url('img/images.png') no-repeat center center;
    background-size: contain;
    margin: 0 10px;
}

.message-section {
    background: #ff5e6c;
    padding: 20px;
    color: #fff;
}

.gallery-section {
    background: #f5f5f5;
    padding: 20px;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Kartlar arası boşluk */
    padding: 20px;
}

.gallery-item {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    display: inline-block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(1.1);
}

.date-section {
    background: #ff5e6c;
    padding: 20px;
    color: #fff;
}

.neon-heart-section {
    background: #fff;
    padding: 40px 20px;
}

.neon-heart {
    font-size: 3rem;
    color: #ff5e6c;
    text-shadow: 0 0 5px #ff5e6c, 0 0 10px #ff5e6c, 0 0 15px #ff5e6c;
}

.book-design-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f5f5f5;
}

.book-page {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #fff;
    position: relative;
}

.page-left img,
.page-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    background: #333;
    color: #fff;
    padding: 10px 0;
}

.question-section {
    padding: 20px;
    background: #333;
    color: #fff;
}

.question {
    cursor: pointer;
    font-size: 1.5rem;
    color: #de508b;
    transition: color 0.3s;
}

.question:hover {
    color: #fff;
}

.answer {
    display: none;
    font-size: 1.2rem;
    color: #f7e2e4;
    margin-top: 10px;
}

.neon {
    color: #e63a3a;
    text-shadow: 0 0 5px #2d0616, 0 0 10px #c13742, 0 0 20px #ff5e6c, 0 0 40px #ff5e6c, 0 0 80px #ff5e6c;
}
/* Mevcut stil tanımları burada olacak */
.heart-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    animation: pulse 1s infinite;
    color: pink;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


.memories .memory {
    background: #ffe0f0;
    padding: 15px;
    margin: 10px auto;
    border-radius: 10px;
}
.hidden-messages {
    margin-top: 20px;
    
}

.message-box {
    width: 250px;
    height: 50px;
    background: pink;
    margin: 10px auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hidden-text {
    display: none;
    font-weight: bold;
}
/* Gece Modu */


.dark-mode .neon-heart {
    color: pink;
}

#dark-mode-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Kalp Yağmuru */
.heart-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.heart {
    position: absolute;
    color: red;
    font-size: 20px;
    animation: fall 3s linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-10vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Dijital Aşk Mektubu */

#mode-btn {
    position: fixed;
    top: 10px;
    right: 20px;
    padding: 10px 20px;
    font-size: 18px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.5s, color 0.5s;
}

#mode-btn:hover {
    background: cyan;
    color: black;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px); /* Hafif blur efekti */
}

.modal-content {
    background-color: rgb(13, 10, 10);
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 50%;
    color: rgb(248, 245, 245); /* Yazılar siyah */
    font-weight: bold;
    box-shadow: 0 0 20px cyan, 0 0 40px rgba(0, 255, 255, 0.6); /* Mavi ışık efekti */
    border: 2px solid cyan;
    animation: modalFade 1s;
}

/* Modal Kapanma Butonu */
.close {
    color: red;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    font-weight: bold;
}

/* Modal İçindeki Fotoğraflar */
.modal-gallery img {
    width: 40%;
    margin: 10px;
    border-radius: 10px;
    border: 3px solid cyan;
    box-shadow: 0 0 10px cyan;
}

/* Modal Açılma Efekti */
@keyframes modalFade {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
/* Buton Stili */
.quiz-btn {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background: linear-gradient(45deg, #ff66b2, #6666ff);
    color: white;
    border-radius: 10px;
    transition: 0.3s;
}

.quiz-btn:hover {
    transform: scale(1.1);
}

/* Modal (Işıklı Açılan Pencere) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: black;
    border-radius: 15px;
    padding: 20px;
    width: 50%;
    margin: auto;
    margin-top: 10%;
    text-align: center;
    box-shadow: 0 0 20px #6666ff;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.close:hover {
    color: red;
}

/* Seçim Butonları */
.choice-btn {
    margin: 10px;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background: linear-gradient(45deg, #ff3366, #3366ff);
    color: white;
    border-radius: 5px;
    transition: 0.3s;
}

.choice-btn:hover {
    transform: scale(1.1);
}

/* Soru Kutusu */
.hidden {
    display: none;
}

#quizFeedback {
    font-size: 20px;
    font-weight: bold;
    color: yellow;
}
.hidden-message {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    border: 2px solid #ff66b2;
}

#secretMessage {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: pink;
    display: none;
}

input {
    padding: 10px;
    font-size: 16px;
    margin: 10px;
    border-radius: 5px;
    border: 2px solid #ff66b2;
}

button {
    padding: 10px 20px;
    background-color: #ff66b2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #ff3385;
}
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    button {
        font-size: 14px;
    }

    .heart-container {
        font-size: 18px;
    }

    .gallery-item {
        width: 100%;
    }

    /* Mobile modal */
    .modal-content {
        padding: 20px;
    }

    .modal-header {
        font-size: 1.2rem;
    }
}