/* ============================================
   BESTE MOR GUEST INN — Styles
   Palette: Plum + Amber / Confident Corporate
   ============================================ */

/* --- Custom Properties --- */
:root {
    --plum-50: #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8d0d9;
    --plum-300: #d4aeb8;
    --plum-400: #be8496;
    --plum-500: #a36078;
    --plum-600: #8c4d64;
    --plum-700: #743e53;
    --plum-800: #5d3345;
    --plum-900: #4a2a38;
    --plum-950: #2a1620;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--neutral-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-800);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--neutral-900); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 12px;
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--amber-500);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--neutral-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header { margin-bottom: 56px; }
.section-header .section-desc { margin-top: 12px; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-align: center;
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-amber {
    background: var(--amber-500);
    color: var(--neutral-900);
    border-color: var(--amber-500);
}
.btn-amber:hover { background: var(--amber-600); border-color: var(--amber-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-plum {
    background: var(--plum-700);
    color: #fff;
    border-color: var(--plum-700);
}
.btn-plum:hover { background: var(--plum-800); border-color: var(--plum-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition-base);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--plum-900);
    line-height: 1.2;
}
.logo:hover { color: var(--plum-700); }
.logo-icon { color: var(--plum-700); flex-shrink: 0; }
.logo-sub { font-weight: 400; font-size: 0.85rem; color: var(--neutral-500); font-family: var(--font-body); letter-spacing: 0.02em; }

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-list a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color var(--transition-fast);
    position: relative;
}
.nav-list a:not(.btn):hover { color: var(--plum-700); }
.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: width var(--transition-base);
}
.nav-list a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-950);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 22, 32, 0.88) 0%,
        rgba(93, 51, 69, 0.75) 50%,
        rgba(42, 22, 32, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--amber-300);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.hero-title br { display: none; }

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- Info Bar --- */
.info-bar {
    background: var(--plum-900);
    padding: 0;
}
.info-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition-fast);
}
.info-item:last-child { border-right: none; }
.info-item:hover { background: rgba(255,255,255,0.04); }

.info-icon { color: var(--amber-400); flex-shrink: 0; }

.info-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.info-item span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}
.info-item a { color: var(--amber-300); transition: color var(--transition-fast); }
.info-item a:hover { color: var(--amber-400); }

/* --- Section Base --- */
.section { padding: 96px 0; }

/* --- Rooms --- */
.rooms { background: var(--neutral-50); }
.rooms .section-header { text-align: center; }
.rooms .section-header .section-desc { margin: 12px auto 0; }

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

.room-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.room-card-img {
    overflow: hidden;
    aspect-ratio: 3/2;
}
.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.room-card:hover .room-card-img img { transform: scale(1.04); }

.room-card-body { padding: 28px; }

.room-card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--plum-900);
}

.room-card-desc {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.room-card-features {
    margin-bottom: 24px;
}
.room-card-features li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--neutral-700);
    padding: 4px 0;
}
.room-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--amber-400);
    border-radius: 50%;
}

.room-card-body .btn { width: 100%; justify-content: center; }

/* --- Amenities --- */
.amenities {
    background: #fff;
}

.amenities-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.amenities-text .section-title { margin-bottom: 16px; }
.amenities-text .section-desc { margin-bottom: 36px; }

.amenities-list { display: flex;
    flex-direction: column;
    gap: 20px;
}

.amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.amenity-icon {
    width: 44px;
    height: 44px;
    background: var(--plum-50);
    border: 1px solid var(--plum-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    flex-shrink: 0;
}
.amenity-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--neutral-900);
    margin-bottom: 2px;
}
.amenity-item span {
    font-size: 0.85rem;
    color: var(--neutral-500);
}

.amenities-images {
    position: relative;
    min-height: 560px;
}
.amenity-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.amenity-img-main img { width: 100%; height: 100%; object-fit: cover; }
.amenity-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #fff;
}
.amenity-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* --- About --- */
.about {
    background: var(--plum-950);
    color: #fff;
}
.about .section-tag { color: var(--amber-400); }
.about .section-tag::before { background: var(--amber-500); }
.about .section-title { color: #fff; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images { position: relative; min-height: 520px; }
.about-img-primary {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-primary img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent {
    position: absolute;
    bottom: -28px;
    right: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--plum-950);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.about-stat {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--amber-500);
    color: var(--neutral-900);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}
.about-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.about-content .section-desc { color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.about-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.value-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber-500);
    line-height: 1;
    flex-shrink: 0;
    min-width: 32px;
}
.value-item strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 2px;
}
.value-item span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

/* --- Location --- */
.location { background: var(--neutral-50); }
.location .section-header { margin-bottom: 48px; }

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.location-map { min-height: 420px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }

.location-info .section-desc { margin-bottom: 32px; }

.location-details { display: flex; flex-direction: column; gap: 24px; }
.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.location-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--plum-50);
    border: 1px solid var(--plum-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    flex-shrink: 0;
}
.location-detail strong {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral-900);
    margin-bottom: 2px;
}
.location-detail span,
.location-detail a {
    font-size: 0.88rem;
    color: var(--neutral-600);
    line-height: 1.5;
}
.location-detail a:hover { color: var(--plum-700); }

/* --- CTA --- */
.cta-section {
    background: #fff;
    padding: 96px 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--plum-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-content .section-tag { color: var(--amber-400); }
.cta-content .section-tag::before { background: var(--amber-500); }
.cta-content .section-title { color: #fff; margin-bottom: 16px; }
.cta-content .section-desc { color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.cta-image {
    overflow: hidden;
    min-height: 400px;
}
.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Footer --- */
.footer {
    background: var(--neutral-950);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { margin-bottom: 16px; color: rgba(255,255,255,0.9); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.4); }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-nav strong,
.footer-contact strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-nav ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a,
.footer-contact li {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}
.footer-nav a:hover { color: var(--amber-400); }
.footer-contact li { color: rgba(255,255,255,0.55); }
.footer-contact a { color: var(--amber-400); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition-fast); }
.footer-bottom a:hover { color: var(--amber-400); }

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities-layout { gap: 48px; }
    .about-grid { gap: 48px; }
    .location-grid { gap: 32px; }
    .cta-content { padding: 48px 40px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-list li { border-bottom: 1px solid var(--neutral-100); }
    .nav-list li:last-child { border-bottom: none; }
    .nav-list a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }
    .nav-list a:not(.btn)::after { display: none; }
    .nav-list .btn { text-align: center; justify-content: center; margin-top: 8px; }

    .hero-title br { display: none; }
    
    .info-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .info-item { padding: 20px 24px; }
    
    .section { padding: 72px 0; }
    
    .rooms-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    
    .amenities-layout { grid-template-columns: 1fr; }
    .amenities-images { min-height: 400px; order: -1; }
    .amenity-img-secondary { right: 16px; bottom: -20px; }
    
    .about-grid { grid-template-columns: 1fr; }
    .about-images { min-height: 360px; order: -1; }
    
    .location-grid { grid-template-columns: 1fr; }
    .location-map { min-height: 300px; }
    
    .cta-card { grid-template-columns: 1fr; }
    .cta-image { min-height: 260px; }
    .cta-content { padding: 40px 28px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .info-bar-grid { grid-template-columns: 1fr; }
    .info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 18px 20px; }
    .info-item:last-child { border-bottom: none; }
    
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .room-card-body { padding: 20px; }
    
    .about-stat { top: -12px; left: -8px; padding: 12px 16px; }
    .about-img-accent { right: 8px; bottom: -16px; }
}
