/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #5B9BD5; /* Pastel mavi */
    --text-dark: #222222;
    --text-gray: #777777;
    --bg-light: #f8f8f8;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--text-dark); 
    background: #ffffff; 
    overflow-x: hidden; 
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 40px; 
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }



/* ===== BEYAZ NAVBAR ===== */
.navbar { 
    background: #ffffff; 
    padding: 15px 0;
    position: relative;
    z-index: 10;
}
.nav-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
.logo-icon {
    display: flex;
    align-items: center;
}
.logo-text { 
    display: flex; 
    flex-direction: column; 
}
.logo-title { 
    font-size: 17px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    line-height: 1.1; 
    color: var(--text-dark);
}
.logo-subtitle { 
    font-size: 9px; 
    color: var(--text-gray);
    letter-spacing: 1px; 
}

.nav-links { 
    display: flex; 
    gap: 40px; 
}
.nav-links a { 
    font-size: 12px; 
    font-weight: 600; 
    color: var(--text-dark); 
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { 
    color: var(--primary); 
}

/* Navbar Rezervasyon Butonu */
.btn-nav {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: all 0.3s;
}
.btn-nav:hover {
    background: #3d7bb8;
    transform: translateY(-2px);
}

/* ===== ANA HERO BÖLÜMÜ ===== */
.hero { 
    position: relative; 
    height: 82vh; 
    background: #ffffff;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Sağ Taraftaki Fotoğraf (Tam Ekran) */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Fotoğraf tüm ekranı kaplar, beyaz alan üstüne biner */
    height: 100%;
    background: url('kayaykoy.jpg') center/cover no-repeat;
    z-index: 1;
}

/* Sol Taraftaki Amorf Sticker Blob (En Önemli Kısım) */
.hero-blob-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%; /* Beyaz alan küçültüldü, fotoğraf çok daha büyük gözükecek */
    height: 100%;
    z-index: 2;
    filter: drop-shadow(15px 0 25px rgba(0,0,0,0.12));
}

.sticker-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* SVG'nin arkaplanında hiç boşluk olmaması için */
    display: block; 
}

/* Blob İçerisindeki Metin Alanı */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 0px; /* Son kalan 5px de kaldırıldı, tamamen tavan hizasına yaslandı */
}

.hero-label { 
    display: block; 
    font-size: 11px; 
    font-weight: 700; 
    letter-spacing: 5px; 
    color: var(--text-gray); 
    margin-bottom: 25px; 
    position: relative;
    top: 15px; /* Sadece bu yazıyı, diğerlerini kıpırdatmadan ana başlığa yaklaştırır */
}

.hero-title { 
    font-size: 52px; 
    font-weight: 800; 
    line-height: 1.15; 
    color: var(--text-dark);
    margin-bottom: 25px; 
}

.hero-desc { 
    font-size: 14px; 
    line-height: 1.8; 
    color: var(--text-gray); 
    margin-bottom: 15px; /* Butonlarla aradaki boşluk hafif eklendi */
    max-width: 420px;
}

.hero-buttons { 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}

/* Buton Stilleri */
.btn-primary { 
    display: inline-block; 
    padding: 15px 45px; 
    background: var(--primary); 
    color: #fff; 
    font-size: 13px; 
    font-weight: 600; 
    letter-spacing: 1px;
    border-radius: 30px; /* Görseldeki gibi yuvarlak */
    box-shadow: 0 10px 20px rgba(91, 155, 213, 0.3);
    transition: transform 0.3s, box-shadow 0.3s; 
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(91, 155, 213, 0.4);
}

.btn-link { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--primary); 
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: color 0.3s;
}
.btn-link:hover { color: #3d7bb8; }





/* ===== VİLLALAR BÖLÜMÜ ===== */
.villas {
    padding: 100px 0;
    background: #ffffff;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-gray);
    font-size: 15px;
}

.villas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.villa-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.villa-card:hover {
    transform: translateY(-8px);
}
.villa-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.villa-info {
    padding: 25px;
}
.villa-info h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.villa-details {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.villa-details i {
    color: var(--primary);
}
.villa-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.villa-price span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
}
.btn-outline {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== HAKKIMIZDA ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}
.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
}
.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ===== HİZMETLER (SUNULAN İMKANLAR) ===== */
.services {
    padding: 100px 0;
    background: #ffffff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}
.service-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}
.service-card:hover h4, .service-card:hover i {
    color: #ffffff;
}
.service-card i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: color 0.3s;
}
.service-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s;
}

/* ===== FOOTER / İLETİŞİM ===== */
.footer {
    background: #111111;
    color: #ffffff;
    padding-top: 80px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-info {
    flex: 1;
    max-width: 400px;
}
.footer-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.footer-info p {
    color: #aaaaaa;
    line-height: 1.8;
    font-size: 14px;
}
.footer-contact {
    flex: 1;
}
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}
.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #cccccc;
    font-size: 14px;
}
.footer-contact ul li i {
    color: var(--primary);
    font-size: 18px;
}
.footer-contact ul li a {
    color: #cccccc;
    transition: color 0.3s;
}
.footer-contact ul li a:hover {
    color: #ffffff;
}
.footer-bottom {
    background: #0a0a0a;
    padding: 20px 0;
    text-align: center;
    color: #777777;
    font-size: 13px;
}

/* ===== MÜŞTERİ REZERVASYON MODALI ===== */
.client-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}
.client-modal {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}
.close-modal:hover {
    color: #333;
}
.client-modal h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* ===== VILLA DETAY POPUP ===== */
.villa-detail-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}
.villa-detail-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}
.villa-detail-modal .vd-gallery {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.villa-detail-modal .vd-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.villa-detail-modal .vd-gallery img.active { display: block; }
.vd-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: 0.2s;
}
.vd-gallery-btn:hover { background: #fff; }
.vd-gallery-btn.prev { left: 12px; }
.vd-gallery-btn.next { right: 12px; }
.vd-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.villa-detail-modal .vd-body {
    padding: 25px 30px 30px;
}
.villa-detail-modal .vd-body h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.villa-detail-modal .vd-body .vd-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.villa-detail-modal .vd-body .vd-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.villa-detail-modal .vd-body .vd-features .vd-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}
.villa-detail-modal .vd-body .vd-features .vd-feat i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.villa-detail-modal .vd-body .vd-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}
.villa-detail-modal .vd-body .vd-cta {
    display: flex;
    gap: 15px;
}
.villa-detail-modal .vd-body .vd-cta .btn-primary { flex: 1; text-align: center; }
.villa-detail-modal .vd-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    transition: 0.2s;
}
.villa-detail-modal .vd-close:hover { background: rgba(0,0,0,0.8); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
    transition: 0.2s;
}
.mobile-menu a:hover { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-title { font-size: 42px; }
    .villas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    /* Navbar */
    .nav-links { display: none; }
    .nav-buttons { display: none; }
    .hamburger { display: flex; }
    
    /* Hero */
    .hero { 
        height: auto; 
        min-height: 100vh; 
        display: flex; 
        align-items: flex-end; 
        padding-bottom: 0; 
        padding-top: 80px;
    }
    .hero-image-bg { 
        /* Keeps absolute positioning from desktop */
    }
    .hero-blob-wrapper { 
        position: relative;
        z-index: 2;
        width: 100%; 
        margin: 0; 
        filter: none; 
        background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 30px 30px 0 0;
        padding: 40px 25px 30px 25px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
        border: none;
        border-top: 1px solid rgba(255,255,255,0.7);
    }
    .sticker-blob { display: none; }
    .hero-content { padding: 0 !important; }
    .hero-content > div { align-items: center !important; text-align: center; }
    .hero-label { margin-bottom: 10px; top: 0; text-align: center; }
    .hero-title { font-size: 32px; line-height: 1.25; margin-bottom: 15px; text-align: center; }
    .hero-desc { font-size: 14px; max-width: 100%; margin-bottom: 25px; text-align: center; color: #555; }
    .hero-buttons { 
        flex-direction: row; 
        justify-content: center;
        gap: 12px; 
        width: 100%; 
    }
    .hero-buttons .btn-primary { 
        flex: 1; 
        text-align: center; 
        padding: 14px 0; 
        font-size: 13px;
    }
    .hero-buttons .btn-link { 
        flex: 1;
        padding: 14px 0; 
        border: 1px solid var(--primary); 
        border-radius: 30px; 
        text-decoration: none; 
        text-align: center;
        font-size: 13px;
    }
    .play-button { display: none; }
    
    /* Villalar */
    .villas-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* Hakkımızda */
    .about-inner { flex-direction: column; }
    .about-text, .about-image { width: 100%; }
    
    /* Hizmetler */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Footer */
    .footer-inner { flex-direction: column; gap: 25px; }
    
    /* Modaller */
    .client-modal { width: 95%; padding: 25px; }
    .villa-detail-modal .vd-gallery { height: 220px; }
    .villa-detail-modal .vd-body { padding: 20px; }
    .villa-detail-modal .vd-body .vd-features { grid-template-columns: 1fr; }
    .villa-detail-modal .vd-body .vd-cta { flex-direction: column; }
}
@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero-title { font-size: 28px; }
    .hero-label { font-size: 9px; letter-spacing: 3px; }
    .services-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 24px; }
}
