:root {
    --forest-green: #1b3022;
    --sage-green: #4f6d58;
    --earth-tan: #d4a373;
    --cream: #fefae0;
    --soft-white: #fafaf9;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--soft-white);
    color: var(--forest-green);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(27, 48, 34, 0.5), rgba(27, 48, 34, 0.2));
}

.booking-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.nav-blur {
    backdrop-filter: blur(12px);
    background: rgba(27, 48, 34, 0.85);
    padding: 0.75rem 0;
}

/* Bölüm Animasyon Hazırlığı */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
}

.gallery-img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.room-feature-bg {
    background-color: #1b3022; /* görsel yüklenemezse fallback */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* ============================
   Mobil Menü Overlay
   ============================ */
.mobile-menu-overlay {
    background: var(--forest-green);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Nav link hover — earth-tan altçizgi efekti */
.mobile-nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.2em;
}

.mobile-nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--earth-tan);
    transition: width 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--earth-tan);
}

.mobile-nav-link:hover::after {
    width: 100%;
}

/* Hamburger → X animasyonu */
#mobileMenuBtn.open .mobile-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#mobileMenuBtn.open .mobile-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#mobileMenuBtn.open .mobile-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav link giriş animasyonu */
.mobile-menu-overlay.open .mobile-nav-link {
    animation: navLinkFadeIn 0.4s ease forwards;
}

.mobile-menu-overlay.open .mobile-nav-link:nth-child(1) {
    animation-delay: 0.05s;
}
.mobile-menu-overlay.open .mobile-nav-link:nth-child(2) {
    animation-delay: 0.1s;
}
.mobile-menu-overlay.open .mobile-nav-link:nth-child(3) {
    animation-delay: 0.15s;
}
.mobile-menu-overlay.open .mobile-nav-link:nth-child(4) {
    animation-delay: 0.2s;
}
.mobile-menu-overlay.open .mobile-nav-link:nth-child(5) {
    animation-delay: 0.25s;
}

@keyframes navLinkFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5rem 0;
}
.blog-content p {
    margin-bottom: 1.25em;
    line-height: 1.85;
    color: #374151;
}
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: #1b3022;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}
.blog-content h1 {
    font-size: 2rem;
}
.blog-content h2 {
    font-size: 1.6rem;
}
.blog-content h3 {
    font-size: 1.3rem;
}
.blog-content h4 {
    font-size: 1.1rem;
}
.blog-content a {
    color: #1b3022;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-content a:hover {
    color: #d4a373;
}
.blog-content blockquote {
    border-left: 4px solid #d4a373;
    background: #fdf8f0;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
}
.blog-content ul,
.blog-content ol {
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.9;
    color: #374151;
}
.blog-content ul {
    list-style-type: disc;
}
.blog-content ol {
    list-style-type: decimal;
}
.blog-content pre {
    background: #1b3022;
    color: #d4f0dc;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.875rem;
    margin: 1.5rem 0;
}
.blog-content code {
    background: #f3f4f6;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}
.blog-content pre code {
    background: transparent;
    padding: 0;
}
/* line-clamp yardımcı */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.google-map-wrapper iframe {
    width: 100% !important;
    height: 400px !important;
    border: 0;
}
