/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-y: auto;  /* Sadece dikey scroll */
    overflow-x: hidden; /* Yatay scroll kapalÄ± */
    font-family: Poppins, sans-serif;
    background: #f7e7f3;
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Ãœstte hizala */
    color: #333;
    position: relative;
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(1px);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
    transition: all 0.3s ease-in-out;
    animation: fadeInUp 1.5s ease-out forwards;
}

.heart-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.heart {
    width: 45px;
    height: 45px;
    background-size: cover;
    background-image: url('https://emojiisland.com/cdn/shop/products/Sparkling_Pink_Heart_Emoji_grande.png?v=1571606066');
    animation: heartbeat 1.5s infinite;
}

h1 {
    font-size: 1.7rem;
    color: #FF69B4;
    margin-top: 10px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

h2, ul, li {
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 245, 250, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 1.2rem;
    color: #ff69b4;
    font-weight: 600;
    text-align: center;
}

.loader-heart {
    width: 50px;
    height: 50px;
    background-image: url('https://emojiisland.com/cdn/shop/products/Sparkling_Pink_Heart_Emoji_grande.png?v=1571606066');
    background-size: cover;
    animation: heartbeat 1s infinite;
    margin-bottom: 20px;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.heart-drop {
    position: absolute;
    font-size: 24px;
    color: #ff69b4;
    animation: heartRain 3s linear infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes heartRain {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(85vh) rotate(20deg);
    opacity: 0;
  }
}



.typing {
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #ff69b4;
    animation: typing 3s steps(40, end) forwards;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.milestone-card {
    flex: 1 1 280px;
    max-width: 280px;
    background: linear-gradient(135deg, #ffd6e8, #ff9acc);
    border-radius: 15px;
    padding: 15px 20px;
    margin: 10px 0;
    box-shadow: 0 6px 10px rgba(255, 105, 180, 0.3);
    color: #4a004a;
    transition: transform 0.3s ease;
}

.milestone-card.active {
    flex: 1 1 280px;
    max-width: 280px;
    background: linear-gradient(135deg, #d9f6e2, #b2e2c5); /* pastel yeşil tonları */
    border-radius: 15px;
    padding: 15px 20px;
    margin: 10px 0;
    box-shadow: 0 6px 10px rgba(144, 238, 144, 0.3); /* lightgreen gölge */
    color: #2f4f4f; /* biraz daha dingin yeşil-mor karışımı yazı rengi */
    transition: transform 0.3s ease;
}

.milestone-card.active .milestone-date {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3e6651; /* pastel yeşil uyumu */
    background-color: rgba(200, 255, 220, 0.6);
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-block;
}

.milestone-card:hover {
    transform: scale(1.05);
}

.milestone-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.milestone-text {
    font-style: italic;
    margin-bottom: 12px;
}

.milestone-days {
    font-weight: 700;
    color: #ff1493;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.milestone-days span {
    font-size: 1.3rem;
}

#cats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 8;
}

.cat {
    position: absolute;
    width: 75px;
    height: 75px;
    background-size: cover;
    animation: fly 15s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
    z-index: 7;
}

@keyframes fly {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(15vw, 0);
    }
    50% {
        transform: translate(15vw, 20vh);
    }
    75% {
        transform: translate(0, 20vh);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f7e7f3;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #ff69b4;
    border-radius: 10px;
    border: 3px solid #f7e7f3;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff1493;
}

#passwordScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fce4ec;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.password-container {
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 320px;
}

.password-container h2 {
    color: #e91e63;
    margin-bottom: 10px;
}

.password-container input {
    padding: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px 0;
    font-size: 1rem;
}

.password-container button {
    padding: 10px 20px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.password-container button:hover {
    background: #c2185b;
}

.error-message {
    color: #d32f2f;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ðŸŒ¸ MenÃ¼ KartlarÄ± */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-items a {
    text-decoration: none;
}

.back-to-menu {
    display: inline-block;
    margin: 40px auto 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f8cdda, #fbc2eb);
    color: #6d3a5f;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(251, 194, 235, 0.4);
    transition: all 0.3s ease;
}

.back-to-menu:hover {
    background: linear-gradient(135deg, #fbc2eb, #f8cdda);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(251, 194, 235, 0.6);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.gallery-grid a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.2);
    transition: transform 0.3s ease;
}

.gallery-grid a:hover {
    transform: scale(1.05);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Map kontainer */
#map {
  height: 70vh;
  max-width: 600px;
  margin: 20px auto;
  border: 5px solid rgba(255,105,180,0.5);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Navbar */
.navbar {
  width: 100%;
  padding: 10px;
  background: #fce4ec;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.back-btn {
  font-family: Poppins, sans-serif;
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
}
.back-btn:hover {
  text-decoration: underline;
}
