/*
Theme Name: Arami Han Konağı
Theme URI: https://aramihankonagi.com
Author: Arami Han
Author URI: https://aramihankonagi.com
Description: Mardin'in kalbinde, Mezopotamya'nın ışığında butik konaklama deneyimi sunan Arami Han Konağı için özel olarak tasarlanmış WordPress teması.
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: arami-han
Tags: hotel, boutique, mardin, custom-menu, featured-images, translation-ready
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --amber: #d4a24e;
    --amber-glow: #e8b955;
    --amber-dark: #b8872e;
    --indigo: #1b2a4a;
    --indigo-deep: #111d36;
    --indigo-light: #2c3e66;
    --stone: #c9b896;
    --stone-light: #f0e8d8;
    --stone-dark: #8a7a5f;
    --wine: #7a3b4e;
    --bg: #0e1420;
    --surface: #161e2e;
    --surface-light: #1e2940;
    --text-main: #f2ece0;
    --text-soft: #b8b0a0;
    --text-muted: #7a7568;
    --whatsapp: #25D366;
    --whatsapp-hover: #1da851;

    --font-heading: 'Lora', serif;
    --font-body: 'Outfit', sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ================================
   HEADER
   ================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(14, 20, 32, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.9rem 5%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(212, 162, 78, 0.15);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--amber);
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background: var(--amber);
    opacity: 0.4;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-soft);
}

.custom-logo-link img {
    max-height: 100px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .custom-logo-link img {
    max-height: 80px;
}

/* WordPress Nav Menu */
.nav-links,
.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-soft);
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--amber), var(--amber-glow));
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links .current-menu-item a,
.nav-links .current_page_item a {
    color: var(--amber);
}

.nav-links a:hover::after,
.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--amber);
    cursor: pointer;
    z-index: 1001;
}

/* ================================
   HERO
   ================================ */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 80%, rgba(14, 20, 32, 0.3) 0%, rgba(14, 20, 32, 0.8) 70%),
        linear-gradient(to bottom, rgba(14, 20, 32, 0.2) 0%, rgba(14, 20, 32, 0.85) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 750px;
    padding: 0 2rem;
    animation: heroFade 1.2s ease-out forwards;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--amber);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--amber);
    opacity: 0.5;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero h1 span {
    display: block;
    font-style: italic;
    color: var(--amber-glow);
    font-weight: 500;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--amber), var(--amber-glow));
    color: var(--bg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 162, 78, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--amber);
    color: var(--amber);
    transform: translateY(-3px);
}

/* ================================
   SECTIONS
   ================================ */
section {
    padding: 7rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--amber);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-main);
}

.section-title em {
    font-style: italic;
    color: var(--amber);
}

/* ================================
   ROOMS
   ================================ */
#rooms {
    background: var(--surface);
}

.rooms-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.room-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 162, 78, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,162,78,0.1);
}

.room-visual {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.room-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-visual img {
    transform: scale(1.07);
}

.room-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 0.35rem 1rem;
    background: rgba(14, 20, 32, 0.8);
    backdrop-filter: blur(8px);
    color: var(--amber);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 6px;
    border: 1px solid rgba(212,162,78,0.2);
}

.room-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-name {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.room-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.7;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.amenity {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.75rem;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 400;
    border-radius: 6px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.9rem 1.5rem;
    background: var(--whatsapp);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ================================
   STORY SECTION
   ================================ */
.story-section {
    position: relative;
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.story-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

.story-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.story-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212,162,78,0.15);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.story-text .section-eyebrow { text-align: left; }

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.story-text h2 em {
    color: var(--amber);
    font-style: italic;
}

.story-text p {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 2rem;
    border: 1px solid var(--amber);
    color: var(--amber);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--amber);
    color: var(--bg);
    transform: translateY(-2px);
}

/* ================================
   FOOTER
   ================================ */
footer {
    background: var(--indigo-deep);
    padding: 5rem 5% 2rem;
    border-top: 1px solid rgba(212,162,78,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber);
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--amber);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ================================
   PAGE HEADER
   ================================ */
.page-hero {
    padding: 13rem 5% 6rem;
    text-align: center;
    background-color: var(--surface);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 20, 32, 0.8);
    z-index: -1;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--amber), var(--amber-glow));
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-main);
}

/* ================================
   CONTENT (About)
   ================================ */
.content-block {
    max-width: 750px;
    margin: 0 auto;
}

.content-block p {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.content-block p:first-child::first-letter {
    font-family: var(--font-heading);
    font-size: 4rem;
    float: left;
    line-height: 0.85;
    margin-right: 12px;
    margin-top: 4px;
    color: var(--amber);
    font-weight: 600;
}

/* ================================
   CONTACT
   ================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
}

.info-card:hover { border-color: rgba(212,162,78,0.15); }

.info-card .icon { font-size: 1.5rem; margin-bottom: 0.8rem; }

.info-card h3 {
    font-size: 1.2rem;
    color: var(--amber);
    margin-bottom: 0.4rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-cta-panel {
    background: linear-gradient(135deg, var(--indigo), var(--indigo-light));
    padding: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(212,162,78,0.1);
}

.contact-cta-panel h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.contact-cta-panel p {
    color: var(--text-soft);
    margin-bottom: 2rem;
    max-width: 350px;
    line-height: 1.7;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes heroFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   SINGLE ROOM
   ================================ */
.single-room-section {
    padding: 5rem 5%;
}

.single-room-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

.room-gallery-slider {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(212,162,78,0.15);
}

.room-gallery-slider .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background: var(--amber) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-main) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: rgba(14, 20, 32, 0.4);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--amber);
    color: var(--bg) !important;
}

.room-details h2 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.room-description {
    font-size: 1.05rem;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.amenities-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber);
    margin-bottom: 1rem;
}

.btn-large {
    display: inline-flex;
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* ================================
   GLOBAL FLOATING WHATSAPP
   ================================ */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.floating-wa-btn svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.floating-wa-btn:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .rooms-container { grid-template-columns: repeat(2, 1fr); }
    .story-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s ease;
    }

    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.1rem; }

    .hero h1 { font-size: 2.8rem; }

    .rooms-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-text .section-eyebrow { text-align: center; }
    .story-image img { height: 300px; }

    .single-room-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .room-gallery-slider .swiper-slide img { height: 300px; }
    .room-details h2 { font-size: 2.2rem; }
    
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .section-title { font-size: 2rem; }
    .page-hero h1 { font-size: 2.5rem; }

    .logo-sub, .logo-divider { display: none; }
}
