/* ===================================================
   GENEL STILLER
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================================================
   HEADER VE NAVIGASYON STILLER
   =================================================== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed; /* Menüyü sayfanın üstüne sabitler */
    top: 0; /* Üst kenardan sıfır piksel */
    left: 0; /* Sol kenardan sıfır piksel */
    width: 100%;
    z-index: 1000; /* Diğer içeriklerin üzerinde görünmesi için */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e67e22;
}

/* Ana Menü Stilleri */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e67e22;
}

/* Sosyal Medya İkonları - Header */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #e67e22;
}

/* ===================================================
   HERO SECTION STILLER
   =================================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?q=80&w=1470&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Buton Stilleri - Tüm sayfalar için */
.btn {
    display: inline-block;
    background-color: #e67e22;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400;
}
/* ===================================================
   DAİRELER BÖLÜMÜ STILLER - 4'LÜ KART
   =================================================== */
.apartments {
    background-color: #f9f9f9;
}

/* Oda Kartları Grid */
.room-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Oda Kartı */
.room-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    text-decoration: none;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Oda Kartı Resmi */
.room-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.room-card:hover .room-card-image {
    transform: scale(1.1);
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .room-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .room-cards {
        grid-template-columns: 1fr;
    }
    
    .room-card {
        height: 250px;
    }
}
/* ===================================================
   SAYFA BAŞLIKLARI (İç sayfalar için)
   =================================================== */
.page-header {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1551632436-cbf8dd35adfa?q=80&w=1471&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px; /* Header yüksekliği kadar boşluk */
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* ===================================================
   BÖLÜM GENEL STILLER
   =================================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e67e22;
}

/* ===================================================
   DAİRELER BÖLÜMÜ STILLER
   =================================================== */
.apartments {
    background-color: #f9f9f9;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.apartment-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.apartment-card:hover {
    transform: translateY(-10px);
}

.apartment-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.apartment-info {
    padding: 20px;
}

.apartment-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.apartment-info p {
    color: #666;
    margin-bottom: 15px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #e67e22;
}

/* ===================================================
   ÖZELLİKLER BÖLÜMÜ STILLER
   =================================================== */
.amenities {
    background-color: #fff;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.amenity-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.amenity-item:hover {
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 40px;
    color: #e67e22;
    margin-bottom: 15px;
}

.amenity-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.amenity-item p {
    color: #666;
}

/* Özellikler Listesi */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #e67e22;
    font-size: 18px;
}

.feature-text {
    color: #666;
}

/* ===================================================
   MÜŞTERİ YORUMLARI BÖLÜMÜ STILLER
   =================================================== */
.testimonials {
    background-color: #f9f9f9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(230, 126, 34, 0.1);
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-bottom: 20px;
    color: #666;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
}

.author-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 14px;
}

/* ===================================================
   HAKKIMIZDA SAYFASI STILLER
   =================================================== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.about-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

/* Ekip Bölümü */
.team {
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-photo {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.team-info p {
    color: #666;
    margin-bottom: 15px;
}

/* ===================================================
   GALERİ SAYFASI STILLER
   =================================================== */
/* GALERİ STİLLERİ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1.2);
}
/* ===================================================
   DAİRELER BÖLÜMÜ STILLER - SLIDER
   =================================================== */
.apartments {
    background-color: #f9f9f9;
}

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Slider */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

/* Slide */
.slide {
    flex: 0 0 auto;
    position: relative;
}

/* Slide Image */
.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Slide Content */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
    text-align: left;
}

.slide-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.slide-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.slider-dot.active,
.slider-dot:hover {
    background-color: #e67e22;
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h3 {
        font-size: 20px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 15px;
    }
    
    .slide-content h3 {
        font-size: 18px;
    }
    
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* ===================================================
   LIGHTBOX (IŞIK KUTUSU) STILLER
   =================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999999 !important; /* Çok yüksek z-index değeri */
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s ease;
    /* Tüm diğer elementlerin üstünde kalması için */
    isolation: isolate;
}

.lightbox.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.4s ease;
    z-index: 1000000 !important; /* İçerik için ayrı z-index */
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1000001 !important;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
    z-index: 1000002 !important;
}

.lightbox-close {
    position: fixed; /* absolute yerine fixed */
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000003 !important; /* En yüksek z-index */
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
    background: rgba(0,0,0,0.7);
}

.lightbox-nav {
    position: fixed; /* absolute yerine fixed */
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 1000002 !important;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    z-index: 1000002 !important;
    position: relative;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

/* Body scroll engelleme */
body.lightbox-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}
/* ===================================================
   İLETİŞİM SAYFASI STILLER
   =================================================== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info, .contact-form {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #e67e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 20px;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    color: #666;
}

/* Form Stilleri */
.contact-form form {
    display: grid;
    gap: 15px;
}

.form-group {
    display: grid;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input, .form-group textarea, .form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Harita Bölümü */
.map {
    height: 400px;
    background-color: #f1f1f1;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
}

/* ===================================================
   FOOTER STILLER
   =================================================== */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 20px;
}

.footer-col p, .footer-col a {
    color: #bbb;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #e67e22;
}

/* Footer Sosyal Medya İkonları */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin-bottom: 0;
}

.footer-social a:hover {
    background-color: #e67e22;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

/* ===================================================
   RESPONSIVE STILLER
   =================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    /* Lightbox Responsive Stiller */
    @media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 10px 15px;
        font-size: 1.2rem;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        bottom: -40px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .gallery-image {
        height: 180px;
    }
}
}