/*
Theme Name: Deniz Pansiyon Bungalov Resort
Theme URI: https://denizpension.com
Author: Deniz Pansiyon
Author URI: https://denizpension.com
Description: Antalya Çıralı'da butik bungalov resort teması. Çoklu dil desteği (TR/EN/FR), responsive tasarım, SEO uyumlu.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deniz-pansiyon
Domain Path: /languages
Tags: resort, bungalow, hotel, tourism, antalya, multilingual, responsive
*/

/* ===== GENEL AYARLAR ===== */
:root {
    --primary-color: #2E8B57;
    --secondary-color: #F4A460;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --dark: #222222;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    line-height: 1.6;
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--secondary-color); }

img { max-width: 100%; height: auto; display: block; }

/* ===== NAVBAR ===== */
nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img { width: 50px; height: auto; }
.logo .logo-region {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

/* Mobil Menü Butonu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('<?php echo get_template_directory_uri(); ?>/assets/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    max-width: 700px;
    opacity: 0.95;
}

.btn {
    padding: 12px 35px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid transparent;
}

.btn:hover {
    background: transparent;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244, 164, 96, 0.4);
}

/* ===== SECTIONS ===== */
.section {
    padding: clamp(3rem, 8vw, 5rem) 10%;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* ===== ABOUT ===== */
.about {
    background: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-img, .about-text {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.4s;
}

.about-img img:hover { transform: scale(1.02); }

.about-text h2 {
    text-align: left !important;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
}

/* ===== BUNGALOWS GRID ===== */
.bungalows { background: var(--bg-light); }

.bungalow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}

.card:hover img { transform: scale(1.05); }

.card-content { padding: 1.8rem; }

.card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.card-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    display: block;
}

.features {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

.features li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.card .btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-section a {
    color: var(--secondary-color);
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

.lang-switcher a {
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.4s ease;
    }
    
    .nav-links.active { left: 0; }
    
    .menu-toggle { display: flex; }
    
    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .section { padding: 3rem 5%; }
    .about { flex-direction: column; }
    .footer-content { text-align: center; }
    .footer-section h3::after { left: 50%; transform: translateX(-50%); }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ===== PRINT ===== */
@media print {
    nav, .btn, footer { display: none; }
    .hero { height: auto; padding: 2rem; }
    body { color: #000; background: #fff; }
}