* {


    text-transform: capitalize;
}


/***** 1. Heart Animation (Nabız Efekti) *****/
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.1);
    }

    60% {
        transform: scale(1);
    }

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

/***** 2. Heart Container (Kalp Şekli ve Animasyonu) *****/
.heart-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 30px auto;
    background-color: #FF6F61;
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow: visible;
    animation: heartbeat 1.5s infinite;
    /* Nabız animasyonu */
}

.heart-container:before,
.heart-container:after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: #FF6F61;
    border-radius: 50%;
    z-index: 1;
}

.heart-container:before {
    top: -75px;
    /* Üst yarım daire */
    left: 0;
}

.heart-container:after {
    top: 0;
    /* Sağ yarım daire */
    left: 75px;
}

/***** 3. Heart Content Box (Kalbin İçeriği) *****/
.heart-box {
    position: relative;
    width: 100%;
    height: auto;
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1;
    transition: transform 0.6s, box-shadow 0.6s;
    overflow: hidden;
}

.heart-box p {
    margin: 5px 0;
    word-wrap: break-word;
    font-size: 0.85rem;
}

/***** 4. Hover Effects (Kalp Üzerine Gelindiğinde) *****/
.heart-container:hover .heart-box {
    transform: scale(1.5);
    transform-origin: center center;
    z-index: 10;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

.heart-container:hover {
    z-index: 20;
}

/***** 5. General Layout *****/
.container.my-5 {
    margin-top: 60px;
}

h2.text-center {
    margin-bottom: 40px;
}

.message-date {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 5px;
    display: block;
}

/***** 6. Navbar Styling *****/
/* Genel Navbar Stil */
.navbar {
    background-color: #40E0D0;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar Link */
.nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFD700 !important;
}

/* Chat Page Link */
.chat-nav-link {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
}

.chat-nav-link i {
    font-size: 1.3rem;
    color: #FFD700;
    /* Altın Sarısı */
}

.chat-nav-link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Responsive - Küçük ekranlarda uyumlu hale getirildi */
@media (max-width: 768px) {
    .chat-nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .chat-nav-link i {
        font-size: 1.1rem;
    }
}


/***** 8. Footer Styling *****/
footer {
    background-color: #40E0D0;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-radius: 8px 8px 0 0;
}

/***** 9. Hero Section Background Animation *****/
.hero-section {
    background: linear-gradient(135deg, #40E0D0, #24C5B5FF);
    color: white;
    padding: 100px 20px;
    animation: gradientPulse 3s infinite alternate;
    background-size: 400% 400%;
}

@keyframes gradientPulse {
    0% {
        background: linear-gradient(135deg, #40E0D0, #24C5B5FF);
    }

    50% {
        background: linear-gradient(135deg, #24C5B5FF, #40E0D0);
    }

    100% {
        background: linear-gradient(135deg, #40E0D0, #24C5B5FF);
    }
}

/***** 10. Floating Hearts Animation *****/
@keyframes floatUp {
    0% {
        transform: translateY(100%);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.floating-heart {
    position: absolute;
    bottom: 0;
    width: 25px;
    height: 25px;
    background-color: red;
    clip-path: polygon(50% 0%, 0% 50%, 25% 100%, 75% 100%, 100% 50%);
    animation: floatUp 4s linear infinite;
}

/***** 11. Spinning Stars Animation *****/
@keyframes spinAndRise {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.spinning-star {
    position: absolute;
    bottom: -50px;
    width: 25px;
    height: 25px;
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: spinAndRise 5s linear infinite;
}

/***** 12. Confetti Animation *****/
@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.confetti {
    position: absolute;
    top: -50px;
    width: 10px;
    height: 20px;
    background-color: #FF6F61;
    animation: confetti 3s linear infinite;
}




/***** 3. Floating Hearts (Uçan Kalpler) *****/
@keyframes floatUpAndPulse {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(-50vh) scale(1.2);
    }

    100% {
        transform: translateY(-100vh) scale(0.8);
        opacity: 0;
    }
}

.floating-heart {
    position: absolute;
    bottom: 0;
    width: 25px;
    height: 25px;
    background-color: red;
    clip-path: polygon(50% 0%, 0% 50%, 25% 100%, 75% 100%, 100% 50%);
    animation: floatUpAndPulse 7s ease-in-out infinite;
}

.floating-heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.floating-heart:nth-child(2) {
    left: 30%;
    animation-delay: 1s;
}

.floating-heart:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
}

.floating-heart:nth-child(4) {
    left: 70%;
    animation-delay: 3s;
}

.floating-heart:nth-child(5) {
    left: 90%;
    animation-delay: 4s;
}

/***** 4. Rising Circles (Yükselen Daireler) *****/
@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(0.5);
        opacity: 0;
    }
}

.rising-circle {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6F61, #FFD700);
    animation: rise 6s linear infinite;
    opacity: 0.8;
}

.rising-circle:nth-child(1) {
    left: 10%;
    animation-duration: 6s;
    animation-delay: 0s;
}

.rising-circle:nth-child(2) {
    left: 30%;
    animation-duration: 8s;
    animation-delay: 2s;
}

.rising-circle:nth-child(3) {
    left: 50%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.rising-circle:nth-child(4) {
    left: 70%;
    animation-duration: 7s;
    animation-delay: 3s;
}

.rising-circle:nth-child(5) {
    left: 90%;
    animation-duration: 6.5s;
    animation-delay: 1.5s;
}

/***** 5. Spinning Stars (Dönen Yıldızlar) *****/
@keyframes spinAndRise {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.spinning-star {
    position: absolute;
    bottom: -50px;
    width: 25px;
    height: 25px;
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: spinAndRise 5s linear infinite;
    opacity: 0.9;
}

.spinning-star:nth-child(1) {
    left: 15%;
    animation-duration: 5s;
    animation-delay: 0.5s;
}

.spinning-star:nth-child(2) {
    left: 35%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.spinning-star:nth-child(3) {
    left: 55%;
    animation-duration: 4.5s;
    animation-delay: 1.5s;
}

.spinning-star:nth-child(4) {
    left: 75%;
    animation-duration: 5.5s;
    animation-delay: 2s;
}

.spinning-star:nth-child(5) {
    left: 90%;
    animation-duration: 6s;
    animation-delay: 0.8s;
}

/***** 6. Confetti (Konfetiler) *****/
@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.confetti {
    position: absolute;
    top: -50px;
    width: 10px;
    height: 20px;
    background-color: #FF6F61;
    animation: confetti 3s linear infinite;
}

.confetti:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 40%;
    animation-delay: 0.5s;
}

.confetti:nth-child(3) {
    left: 60%;
    animation-delay: 1s;
}

.confetti:nth-child(4) {
    left: 80%;
    animation-delay: 1.5s;
}




/* Mesaj Kutuları için Temel Stiller */
.message-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.message-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    /* Hover Arka Plan */
}

/* Mesaj Kutusu Arka Plan ve Animasyon */
.message-box {
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #24c6dc, #514a9d);
    color: #ffffff;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.message-box:hover {
    background: linear-gradient(135deg, #3cc2f7, #1c6a9e);
    /* Hover Arka Plan */
    transform: translateY(-10px);
}

/* Başlık Stilleri */
.message-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    /* Altın Renk */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Hafif Gölge */
    transition: color 0.3s ease-in-out;
}

.message-container:hover .message-title {
    color: #ffffff;
    /* Hover Başlık Rengi */
}

/* Mesaj İçeriği */
.message-content {
    font-size: 1.1rem;
    color: #ffffff;
    /* Metin Rengi */
    line-height: 1.6;
    text-align: justify;
}

/* Hover Efekti için Çerçeve */
.message-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

.message-container:hover::before {
    opacity: 1;
    animation: hoverGlow 1.5s infinite alternate;
}

/* Hover Glow Efekti */
@keyframes hoverGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}











/*****************************/
/* Defter dış görünümü */
.notebook-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Defter Kapağı */
.notebook-cover {
    width: 320px;
    height: 450px;
    background: linear-gradient(135deg, #40E0D0, #24C5B5);
    border-radius: 15px;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    transition: transform 0.3s ease-in-out;
    border-left: 8px solid #ccc;
}

/* Spiral Halkalar */
.spiral-container {
    position: absolute;
    left: -15px;
    top: 10%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spiral {
    width: 20px;
    height: 10px;
    background: #444;
    border-radius: 50%;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Buton Stili */
.open-notebook {
    background-color: white;
    color: #02475e;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.open-notebook:hover {
    background: #02475e;
    color: white;
}

/* Açılma efekti */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notebook-cover {
    animation: fadeIn 1s ease-out;
}



/******************************************************/


/* 🌅 Şiir Bölümü Genel Stil */
.poetry-section {
    background: linear-gradient(135deg, #f3a683, #f7d794);
    /* Sarı - Turuncu Tonları */
    padding: 50px 0;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

/* 📜 Başlık */
.poetry-title {
    font-size: 3rem;
    font-weight: bold;
    color: #8d4004;
    /* Koyu kahverengi */
    text-shadow: 3px 3px 10px rgba(255, 255, 255, 0.3);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
}

.poetry-explain {
    font-size: 1.4rem;
    color: #5a3d2b;
    /* Kahverengi ton */
    font-family: 'Merriweather', serif;
    margin-bottom: 30px;
    font-weight: bold;
}

/* 📖 Şiirler Kart Görünümü */
.poems-container {
    text-align: center;
}

/* 📜 Şiir Kutuları */
.poem-card {
    background: rgba(255, 248, 220, 0.9);
    font-weight: bold;
    /* Eski Kağıt Sarısı */
    border-radius: 12px;
    padding: 25px;
    margin: 20px auto;
    max-width: 750px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    font-family: 'Merriweather', serif;
    /* Şiir havası veren font */
    border: 2px solid #b5651d;
    /* Kahverengi çerçeve */
}

.poem-card:hover {
    transform: scale(1.05);
    background: rgba(255, 248, 220, 1);

    /* Hover efekti */
}

/* 🖋️ Şiir Başlıkları */
.poem-main-title {
    font-weight: bold;
    font-size: 2rem;

    color: #b5651d;
    /* Kahverengi */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    /* Zarif font */
}

/* 📝 Şiir Satırları */
.poem-line {
    font-size: 1.4rem;
    color: #5a3d2b;
    font-family: 'Merriweather', serif;
    text-align: center;
    line-height: 2;
    font-weight: bold;
    font-style: italic;
}

/* 🎆 Özel Kendi Şiirin İçin */
.poem-card.special {
    background: linear-gradient(135deg, #ffd166, #fca311);
    /* Altın ve Turuncu */
    border: 3px solid #8d4004;
    box-shadow: 0px 5px 15px rgba(255, 223, 0, 0.3);
}

.poem-card.special .poem-title {
    color: #8d4004;
    font-family: 'Playfair Display', serif;
}

/* 📱 Responsive Tasarım */
@media (max-width: 768px) {
    .poetry-title {
        font-size: 2.5rem;
    }

    .poem-card {
        max-width: 90%;
    }
}

/* 🎭 Animasyon: Şiir Kutuları Yavaşça Görünsün */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.poem-card {
    animation: fadeIn 1s ease-out;
}

/**********************************************/




.notebook-container {
    /* background: url('/notebookbg.webp') no-repeat center center; */
    background-size: cover;
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notebook-page {
    background: #f9f4e8;
    border-radius: 15px;
    padding: 30px;
    max-width: 900px;
    width: 100%;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2);
    border: 4px solid #d4a373;
    font-family: 'Shadows Into Light', cursive;
    position: relative;
}

.notebook-lines {
    background: repeating-linear-gradient(#f0e6dc 0px, #f0e6dc 2px, transparent 2px, transparent 32px);
    padding: 15px;
    border-radius: 12px;
}

.note-box {
    background: rgba(255, 255, 255, 0.85);
    border-left: 5px solid #d4a373;
    padding: 15px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.notebook-form textarea {
    width: 100%;
    height: 100px;
    border: 2px solid #d4a373;
    border-radius: 7px;
    padding: 12px;
    font-size: 1rem;
}

/* Buton Stilleri */
.btn-sm {
    font-size: 0.9rem;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .notebook-page {
        padding: 20px;
    }

    .note-box {
        flex-direction: column;
        text-align: center;
        font-size: 0.9rem;
    }

    .btn-sm {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}



/*****KEK STİLİ BÖLÜMÜ********/
/* Profesyonel Pasta Tasarımı */
/* Container for the cake */
.cake-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    perspective: 1000px;
}

/* Cake 3D styling */
.cake {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
}

/* Layer styling */
.layer {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Bottom layer of the cake */
.layer-bottom {
    width: 300px;
    height: 120px;
    bottom: 0;
    background: linear-gradient(140deg, #ff6b6b 30%, #ff8c8c 70%);
    z-index: 1;
}

/* Middle layer of the cake */
.layer-middle {
    width: 250px;
    height: 100px;
    bottom: 110px;
    left: 25px;
    background: linear-gradient(140deg, #ff7676 30%, #ff9f9f 70%);
    z-index: 2;
}

/* Top layer of the cake */
.layer-top {
    width: 200px;
    height: 80px;
    bottom: 200px;
    left: 50px;
    background: linear-gradient(140deg, #ff8585 30%, #ffaaaa 70%);
    z-index: 3;
}

/* Icing layer */
.icing {
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 200px;
    background: #fff;
    border-radius: 15px 15px 0 0;
    z-index: 4;
    background: linear-gradient(140deg, #ffffff 30%, #ffe6e6 70%);
}

/* Candle container styling */
.candle-container {
    position: absolute;
    bottom: 200px;
    left: 50px;
    width: 200px;
    display: flex;
    justify-content: space-between;
}

/* Candle styling */
.candle {
    position: relative;
    width: 16px;
    height: 80px;
    background: #fff;
    border-radius: 8px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Flame animation */
.flame {
    position: absolute;
    width: 12px;
    height: 30px;
    background: #ffd700;
    border-radius: 50% 50% 35% 35%;
    top: -40px;
    left: 2px;
    animation: flicker 0.1s infinite alternate;
    filter: blur(1px);
}

/* Glow effect around the flame */
.glow {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    top: -30px;
    left: -2px;
    animation: glow 1s infinite;
}

/* Flickering flame animation */
@keyframes flicker {
    0% {
        transform: rotate(-2deg) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: rotate(2deg) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg) scale(0.98);
        opacity: 0.8;
    }
}

/* Glow animation for the flame */
@keyframes glow {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Candle flame extinguishing animation */
.flame.extinguish {
    animation: extinguish 0.5s forwards !important;
}

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

    100% {
        transform: scale(0) translateY(20px);
        opacity: 0;
    }
}