/**
 * Darkzone Korku Evi - Ana CSS Dosyası
 */

/* Genel Stiller */
:root {
    --primary-color: #ff0000;
    --primary-dark: #cc0000;
    --primary-light: #ff3333;
    --dark-color: #111111;
    --darker-color: #070707;
    --light-color: #eeeeee;
    --bg-color: #111111;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--light-color);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Korku Stilini Kullanan Başlıklar */
.horror-text {
    font-family: 'Creepster', cursive;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Arkaplan Renkleri */
.bg-dark {
    background-color: var(--dark-color) !important;
}

.bg-darker {
    background-color: var(--darker-color) !important;
}

/* Başlık Çizgisi */
.title-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto;
    position: relative;
}

.title-line::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    top: 0;
    left: 15px;
    animation: blood-drip 5s infinite;
    opacity: 0.7;
}

@keyframes blood-drip {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0);
    }
}

/* Ana Sayfa Karşılama Ekranı */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.intro-content {
    text-align: center;
    max-width: 600px;
    padding: 30px;
}

.logo-large {
    max-width: 250px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Atan Buton Animasyonu */
.pulse-btn {
    position: relative;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Header / Navigasyon */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-brand .logo {
    height: 45px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.rezervasyon-btn {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-top: 5px;
}

@media (min-width: 992px) {
    .rezervasyon-btn {
        margin-top: 0;
    }
}

/* Carousel */
.carousel-item {
    height: 80vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-caption {
    bottom: 20%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

/* Bölüm Stilleri */
section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
}

.page-banner {
    padding: 60px 0;
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
}

/* CTA Bölümü */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-box {
    background-color: var(--darker-color);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 5px;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/blood-splatter.png') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

/* Kartlar */
.feature-card {
    background-color: var(--darker-color);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 5px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Rezervasyon Formu */
.reservation-form {
    background-color: var(--darker-color);
    border-radius: 5px;
    padding: 30px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    padding: 12px;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.2);
    color: var(--light-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select option {
    background-color: var(--darker-color);
    color: var(--light-color);
}

.quick-reservation-box {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 5px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.quick-reservation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bloody-hand.png') no-repeat right bottom;
    background-size: 200px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

/* Galeri */
.gallery-item {
    margin-bottom: 30px;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-image img {
    transition: all 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay i {
    color: var(--light-color);
    font-size: 30px;
}

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

.gallery-image:hover .gallery-overlay {
    opacity: 1;
}

.video-card {
    background-color: var(--darker-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Yorumlar Carousel */
.reviews-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background-color: var(--darker-color);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 5px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.review-stars {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.review-author {
    font-weight: 600;
    margin-top: 15px;
}

/* SSS Accordion */
.accordion-item {
    background-color: var(--darker-color);
    border: 1px solid rgba(255, 0, 0, 0.2);
    margin-bottom: 10px;
}

.accordion-button {
    background-color: var(--darker-color);
    color: var(--light-color);
    padding: 15px;
    font-weight: 600;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--darker-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 0, 0, 0.5);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff0000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* İletişim */
.contact-info {
    background-color: var(--darker-color);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 5px;
    padding: 30px;
    height: 100%;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.map-container {
    height: 450px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--darker-color);
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.footer-title {
    font-family: 'Creepster', cursive;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-links {
    list-style-type: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 5px;
}

.footer-contact {
    list-style-type: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.social-icons {
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
}

.footer-bottom-links {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.footer-bottom-links li {
    margin-left: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-dark);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
}

/* Kan Damlacıkları Animasyonu */
.blood-drips {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    z-index: 1000;
    pointer-events: none;
}

.blood-drip {
    position: absolute;
    top: 0;
    width: 2px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 0 0 10px 10px;
    opacity: 0.7;
    animation: drip 10s infinite;
}

@keyframes drip {
    0% {
        height: 0;
        top: -20px;
        opacity: 0.7;
    }
    70% {
        height: 20px;
        top: 0;
        opacity: 0.7;
    }
    100% {
        height: 0;
        top: 100vh;
        opacity: 0;
    }
}

/* Jumpscare */
#jumpscare-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

#jumpscare-image {
    max-width: 80%;
    max-height: 80%;
    animation: jumpscare-anim 0.5s ease-in-out;
}

@keyframes jumpscare-anim {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    10% {
        transform: scale(1.2);
        opacity: 1;
    }
    90% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Yanıp Sönen Metin Efekti */
.flicker-text {
    animation: text-flicker 4s linear infinite;
}

@keyframes text-flicker {
    0% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    93% {
        opacity: 0.4;
    }
    94% {
        opacity: 1;
    }
    95% {
        opacity: 0.4;
    }
    96% {
        opacity: 0.8;
    }
    97% {
        opacity: 0.4;
    }
    98% {
        opacity: 1;
    }
    99% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}

/* Titreşim Animasyonu */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Korku Oyunu Stilleri */
.horror-game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9990;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.horror-game-overlay {
    background-color: var(--darker-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

#horrorGameCanvas {
    border: 2px solid var(--primary-color);
    background-color: black;
    display: block;
    margin: 0 auto;
}

.horror-game-result {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9995;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.horror-game-result-content {
    background-color: var(--darker-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    max-width: 500px;
}

/* Responsive Ayarlar */
@media (max-width: 767px) {
    .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .intro-content h1 {
        font-size: 2rem;
    }
    
    .logo-large {
        max-width: 180px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .footer-title::after {
        left: calc(50% - 25px);
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-icons, .footer-links {
        text-align: center;
    }
    
    .footer-title {
        display: block;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom-links li {
        margin: 0 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
}

/* 404 Sayfa Stillelri */
.error-container {
    padding: 100px 0;
    text-align: center;
}

.error-code {
    font-size: 150px;
    font-family: 'Creepster', cursive;
    color: var(--primary-color);
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    position: relative;
}

.error-code::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: url('../images/blood-drip.png') repeat-x;
    bottom: -10px;
    left: 0;
    background-size: 30px 10px;
}

.error-message {
    font-size: 2rem;
    margin-bottom: 30px;
}

.error-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-buttons {
    margin-top: 30px;
}