/* ==========================================================================
   MASAJLAR.NET - Luxury Wellness Design System
   Responsive CSS with Mobile Hamburger Navigation Drawer
   ========================================================================== */

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

:root {
    /* Color Palette */
    --bg-main: #FAF8F5;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F3EEE7;
    --bg-dark: #1A1D1A;
    --bg-dark-card: #252925;
    
    --text-primary: #1A1D1A;
    --text-secondary: #66635F;
    --text-muted: #94908A;
    --text-light: #FAF8F5;
    
    --gold: #D4AF37;
    --gold-light: #F7F1DF;
    --gold-hover: #B8952B;
    
    --sage: #7C8C6E;
    --sage-light: #EBF0E8;
    
    --coral: #E07A5F;
    --coral-light: #FDF0EC;
    
    --border-color: #E8E3DA;
    --border-light: #F0EDE6;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    
    --shadow-sm: 0 2px 8px rgba(26, 29, 26, 0.04);
    --shadow-md: 0 8px 24px rgba(26, 29, 26, 0.06);
    --shadow-lg: 0 16px 40px rgba(26, 29, 26, 0.1);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
}

.section-header {
    margin-bottom: 32px;
}

.section-title {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ==========================================================================
   HEADER & HAMBURGER NAVIGATION
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand-logo {
    display: flex;
    flex-direction: column;
}

.brand-logo .logo-main {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-logo .logo-dot {
    color: var(--gold);
}

.brand-logo .logo-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
    margin-top: -4px;
}

/* Desktop Main Menu */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-surface);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--text-primary);
}

.btn-gold {
    background: var(--gold);
    color: var(--text-primary);
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--bg-surface);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--bg-subtle);
}

/* Hamburger Button (Mobile Only) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 210;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.is-open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.drawer-close {
    background: var(--bg-subtle);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: var(--bg-subtle);
    color: var(--gold);
}

.drawer-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   HERO & SEARCH COMPONENT
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #FAF8F5 0%, #F3EEE7 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 48px;
}

.hero-tagline {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gold-light);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
}

.hero-title {
    font-size: 52px;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Big Search Box */
.search-box-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-lg);
}

.search-form {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    border-right: 1px solid var(--border-light);
}

.form-group:last-of-type {
    border-right: none;
}

.form-group label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.form-group input,
.form-group select {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    font-family: var(--font-body);
}

.btn-search {
    height: 56px;
    padding: 0 36px;
    border-radius: var(--radius-md);
    font-size: 16px;
}

/* ==========================================================================
   MASAJLAR SCORE BADGE & COMPONENTS
   ========================================================================== */

.masajlar-score-badge {
    display: inline-flex;
    align-items: baseline;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.score-badge-sm { font-size: 12px; padding: 2px 6px; }
.score-badge-md { font-size: 15px; padding: 4px 10px; }
.score-badge-lg { font-size: 20px; padding: 8px 16px; border-radius: 8px; }

.score-gold { background: #1A1D1A; color: #D4AF37; }
.score-elite { background: #D4AF37; color: #1A1D1A; }
.score-green { background: #E8F5E9; color: #2E7D32; }
.score-neutral { background: #F3EEE7; color: #1A1D1A; }

.score-max {
    font-size: 0.75em;
    opacity: 0.7;
    margin-left: 2px;
}

/* Badges */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.badge-verified { background: #EBF0E8; color: #7C8C6E; }
.badge-select { background: var(--gold-light); color: var(--gold-hover); }
.badge-lastminute { background: var(--coral-light); color: var(--coral); }
.badge-sponsored { background: #F3EEE7; color: #666; }

/* ==========================================================================
   CARDS & GRID LAYOUTS
   ========================================================================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.spa-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.spa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.card-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

.card-favorite-btn:hover,
.card-favorite-btn.active {
    background: var(--bg-surface);
    color: var(--coral);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-location {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.card-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-price-row {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-label {
    font-size: 12px;
    color: var(--text-muted);
}

.price-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 32px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo-main {
    color: var(--bg-surface);
    font-size: 28px;
}

.footer-brand p {
    color: #999;
    font-size: 14px;
    margin-top: 12px;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #BBB;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
}

/* ==========================================================================
   MOBILE BOTTOM BAR & RESPONSIVE BREAKPOINTS
   ========================================================================== */

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    z-index: 99;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.mobile-bottom-bar ul {
    display: flex;
    height: 100%;
    list-style: none;
}

.mobile-bottom-bar li {
    flex: 1;
}

.mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-bottom-bar a.active,
.mobile-bottom-bar a:hover {
    color: var(--gold);
}

.mobile-bottom-bar svg {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .hamburger-btn { display: flex; }
    .hero-title { font-size: 38px; }
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
    .btn-search {
        grid-column: span 2;
    }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .search-form {
        grid-template-columns: 1fr;
    }
    .btn-search {
        grid-column: span 1;
    }
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 30px;
    }
    .mobile-bottom-bar {
        display: block;
    }
    body {
        padding-bottom: 64px;
    }
}
