@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Poppins:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    min-height: 100vh; /* İçerik uzarsa sayfa da uzasın */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Dikey kaydırmaya izin ver */
    overflow-x: hidden;
    position: relative;
    padding: 20px 0; /* Mobilde kenarlara yapışmaması için */
    user-select: none; /* Metin seçimini engelle */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Arkaplan Desen Efekti */
body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #1a1a2e;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

/* Parçacık Canvas Ayarları */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Arkaplanın hemen üstünde */
}

.container {
    position: relative;
    z-index: 2; /* İçerik parçacıkların üstünde olmalı */
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1.5s ease-out;
}

/* Logo Stilleri */
.logo-container {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    border: 2px solid #e94560;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
    transition: all 0.5s ease;
    cursor: pointer;
}

.logo-container:hover {
    transform: scale(1.1) rotate(360deg);
}

.logo-container i {
    font-size: 2.5rem;
    color: #fff;
}

.logo-container img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.logo-container:hover img {
    filter: brightness(1.3) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#typing-text {
    color: #e94560;
    border-right: 3px solid currentColor;
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

.description {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    background: #e94560;
    border-radius: 50%;
    animation: pulse-loader 1.5s infinite ease-in-out;
    box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7);
    margin-bottom: 20px;
    border: none;
}

@keyframes pulse-loader {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(233, 69, 96, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(233, 69, 96, 0); }
}

/* Footer ve Sosyal Medya */
footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.social-media {
    margin-bottom: 1rem;
}

.social-icon {
    color: #fff;
    font-size: 2.5rem; /* İkonlar büyütüldü */
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: #e94560;
    transform: translateY(-5px);
    text-shadow: 0 0 15px rgba(233, 69, 96, 0.8);
}

.signature {
    font-size: 1.2rem; /* İmza yazısı büyütüldü */
    color: #666;
    margin-top: 10px;
}

.author {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.author:hover {
    color: #e94560;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.8);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: currentColor; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes spin-left {
    100% { transform: rotate(-360deg); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.maintenance-img {
    width: 180px;
    filter: drop-shadow(0 0 20px rgba(233, 69, 96, 0.4));
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 600px) {
    .title { font-size: 1.8rem; }
}

/* --- Yeni Eklenenler: Buton ve Modal --- */

.cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #fff;
    background-color: #e94560;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.cta-button:hover {
    background-color: #ff2e63;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

.cta-button i {
    margin-left: 8px;
    display: inline-block;
    transform-origin: top center;
    animation: bellRing 4s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 80% { transform: rotate(0deg); }
    82% { transform: rotate(15deg); }
    84% { transform: rotate(-15deg); }
    86% { transform: rotate(15deg); }
    88% { transform: rotate(-15deg); }
    90% { transform: rotate(15deg); }
    92% { transform: rotate(-15deg); }
    94% { transform: rotate(15deg); }
    96% { transform: rotate(-15deg); }
    98% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* Hakkımızda Bölümü */
.about-section {
    margin-top: 4rem;
    text-align: center;
}

.about-section h2 {
    color: #e94560;
    margin-bottom: 1rem;
}

.about-section p {
    color: #ccc;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Modal Arkaplanı */
.modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Karartma */
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

/* Modal İçeriği */
.modal-content {
    background: #16213e;
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-btn:hover {
    color: #fff;
}

.modal-content h2 {
    color: #e94560;
    margin-bottom: 10px;
}

.modal-content input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border-radius: 5px;
    border: 1px solid #333;
    background: #1a1a2e;
    color: #fff;
    outline: none;
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.modal-content button[type="submit"]:hover {
    background: #ff2e63;
}

/* Yukarı Çık Butonu */
#scrollTopBtn {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: #e94560;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #ff2e63;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

/* Analog Saat Stilleri */
.clock-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.clock-face {
    width: 250px;
    height: 250px;
    border: 4px solid #e94560;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.2), inset 0 0 20px rgba(233, 69, 96, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.hand {
    width: 50%;
    height: 4px;
    background: #fff;
    position: absolute;
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition: all 0.05s;
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
    border-radius: 2px;
    z-index: 10;
}

.hour-hand {
    width: 30%;
    left: 20%;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.min-hand {
    width: 40%;
    left: 10%;
    background: #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.second-hand {
    background: #e94560;
    height: 2px;
}

.center-dot {
    width: 10px;
    height: 10px;
    background: #e94560;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(233, 69, 96, 0.8);
    z-index: 11;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: translate(-50%, -50%) scale(1); }
    15% { transform: translate(-50%, -50%) scale(1.4); }
    30% { transform: translate(-50%, -50%) scale(1); }
    45% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Saat Rakamları ve Çentikleri */
.number {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    transform: rotate(calc(30deg * var(--i)));
    top: 0;
    left: 0;
    pointer-events: none;
}

.number span {
    display: block;
    transform: rotate(calc(-30deg * var(--i)));
    margin-top: 25px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.tick {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.tick::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
}

.major-tick::after {
    width: 2px;
    height: 8px;
    background: #e94560;
}

/* Tarih Göstergesi */
.date-display {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
    letter-spacing: 2px;
}