/* ==========================================
   BERTAM CABINSTAY - CORPORATE BOXED
   ========================================== */

:root {
    /* Colors */
    --primary: #1c1c1c;
    --secondary: #2d2d2d;
    --accent: #8b7355;
    --accent-light: #a89070;
    --accent-dark: #6d5a43;
    --bg: #f7f6f3;
    --bg-alt: #efeee9;
    --white: #ffffff;
    --text: #3d3d3d;
    --text-light: #6b6b6b;
    --text-muted: #999999;
    --border: #e0ded8;

    /* Typography */
    --font-serif: 'DM Serif Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --container: 1100px;
    --section-padding: 120px;
    --box-radius: 16px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    cursor: none;
}

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

button {
    cursor: none;
    font-family: inherit;
}

::selection {
    background-color: var(--accent);
    color: var(--white);
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease), width 0.2s var(--ease), height 0.2s var(--ease);
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    background-color: var(--white);
}

@media (max-width: 1024px) {
    .cursor { display: none; }
    body, a, button { cursor: auto; }
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 24px;
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    background-color: rgba(247, 246, 243, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--primary);
}

.logo-image {
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.nav-main {
    display: flex;
    gap: 36px;
}

.nav-main a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: color 0.3s var(--ease);
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s var(--ease);
}

.nav-main a:hover {
    color: var(--primary);
}

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

.btn-header {
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
}

.btn-header:hover {
    background-color: var(--accent);
}

.menu-toggle {
    display: none;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s var(--ease);
}

.menu-toggle span:first-child { top: 4px; }
.menu-toggle span:last-child { bottom: 4px; }

.menu-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 900px) {
    .header { padding: 16px; }
    .nav-main, .btn-header { display: none; }
    .menu-toggle { display: block; }
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease);
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a.highlight {
    color: var(--accent-light);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main {
    padding-top: 100px;
}

.section-box {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Typography */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

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

.btn-outline:hover {
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    padding: 40px 24px var(--section-padding);
}

.hero-box {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--box-radius);
    padding: 60px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.04);
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.hero-carousel-dots .dot:hover,
.hero-carousel-dots .dot.active {
    background: white;
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.badge-rating {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent);
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-stats {
    max-width: var(--container);
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero-box {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-badge {
        bottom: -16px;
        left: 16px;
    }
    .hero-stats {
        gap: 32px;
    }
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
    padding: var(--section-padding) 0;
}

.about-header {
    margin-bottom: 48px;
}

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

.about-lead {
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: var(--bg-alt);
    border-radius: 12px;
    transition: all 0.3s var(--ease);
}

.feature:hover {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature strong {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.feature span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.image-stack {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}

.stack-item {
    border-radius: 12px;
    overflow: hidden;
}

.stack-item.main {
    aspect-ratio: 4/5;
}

.stack-item.accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .image-stack {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================
   AMENITIES
   ========================================== */
.amenities {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.amenities-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.amenity-card {
    padding: 32px;
    background-color: var(--bg);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s var(--ease);
}

.amenity-card:hover {
    background-color: var(--primary);
    transform: translateY(-4px);
}

.amenity-card:hover .amenity-icon,
.amenity-card:hover h3,
.amenity-card:hover p {
    color: var(--white);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--accent);
    transition: color 0.4s var(--ease);
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 8px;
    transition: color 0.4s var(--ease);
}

.amenity-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.4s var(--ease);
}

@media (max-width: 900px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ROOMS
   ========================================== */
.rooms {
    padding: var(--section-padding) 0;
}

.rooms-header {
    margin-bottom: 48px;
}

.rooms-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    background-color: var(--white);
    border-radius: var(--box-radius);
    padding: 40px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.04);
}

.gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.thumb {
    flex: 1;
    padding: 12px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}

.thumb:hover,
.thumb.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.room-details h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 16px;
}

.room-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.room-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.spec {
    text-align: center;
}

.spec-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.room-includes {
    list-style: none;
    margin-bottom: 24px;
}

.room-includes li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-includes li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

@media (max-width: 900px) {
    .rooms-showcase {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .room-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   RATES
   ========================================== */
.rates {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.rates-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.rate-card {
    position: relative;
    padding: 32px;
    background-color: var(--bg);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease);
}

.rate-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}

.rate-card.featured {
    background-color: var(--primary);
}

.rate-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

.rate-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.rate-card.featured .rate-header {
    border-color: rgba(255,255,255,0.15);
}

.rate-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.rate-card.featured .rate-name {
    color: var(--white);
}

.rate-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rate-card.featured .rate-period {
    color: rgba(255,255,255,0.6);
}

.rate-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.rate-price .currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.rate-card.featured .rate-price .currency {
    color: var(--accent-light);
}

.rate-price .amount {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
}

.rate-card.featured .rate-price .amount {
    color: var(--white);
}

.rate-price .unit {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.rate-card.featured .rate-price .unit {
    color: rgba(255,255,255,0.6);
}

.rate-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.rate-features {
    list-style: none;
    margin-bottom: 24px;
}

.rate-features li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rate-card.featured .rate-features li {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.1);
}

.rate-features li:last-child {
    border-bottom: none;
}

.rate-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 600;
}

.rate-card.featured .btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.rate-card.featured .btn-primary:hover {
    background-color: var(--accent-light);
    border-color: var(--accent-light);
}

.rates-addons {
    background-color: var(--bg);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.rates-addons h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 24px;
}

.addons-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.addon-name {
    font-size: 0.9rem;
    color: var(--text-light);
}

.addon-price {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
}

@media (max-width: 900px) {
    .rates-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
    padding: var(--section-padding) 0;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-slider {
    overflow: hidden;
}

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

.testimonial-card {
    padding: 32px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.testimonial-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1rem;
    border-radius: 8px;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--primary);
}

.author-from {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonial-track {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background-color: var(--bg);
    border-radius: var(--box-radius);
    padding: 48px;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--primary);
}

a.contact-value:hover {
    color: var(--accent);
}

.contact-social {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 10px 20px;
    background-color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 8px;
    transition: all 0.3s var(--ease);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

.contact-form {
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text);
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 48px 24px;
    background-color: var(--primary);
    color: var(--white);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand .logo-mark {
    background-color: var(--accent);
}

.footer-brand .logo-image {
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-brand .brand-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.footer-brand .brand-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s var(--ease);
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================
   MOBILE FIXES
   ========================================== */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Text wrapping */
h1, h2, h3, h4, h5, h6, p, span, a, li, blockquote {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 600px) {
    /* Reduce section padding */
    :root {
        --section-padding: 60px;
    }

    /* Main content */
    .main {
        padding-top: 70px;
    }

    /* Hero section */
    .hero {
        padding: 20px 16px 60px;
    }

    .hero-box {
        padding: 24px 16px;
        gap: 32px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-label {
        font-size: 0.7rem;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }

    .section-box {
        padding: 0 16px;
    }

    /* About section */
    .about-lead {
        font-size: 1rem;
    }

    .feature {
        padding: 16px;
    }

    .image-stack {
        padding-bottom: 30px;
        padding-right: 30px;
    }

    /* Amenities */
    .amenity-card {
        padding: 24px 16px;
    }

    .amenity-card h3 {
        font-size: 1rem;
    }

    .amenity-card p {
        font-size: 0.85rem;
    }

    /* Rooms */
    .rooms-showcase {
        padding: 16px;
    }

    .room-details h3 {
        font-size: 1.4rem;
    }

    .room-desc {
        font-size: 0.9rem;
    }

    .room-specs {
        gap: 12px;
    }

    .spec-value {
        font-size: 1.2rem;
    }

    .spec-label {
        font-size: 0.7rem;
    }

    /* Rates */
    .rate-card {
        padding: 24px 16px;
    }

    .rate-name {
        font-size: 1.25rem;
    }

    .rate-price .amount {
        font-size: 2.25rem;
    }

    .rates-addons {
        padding: 24px 16px;
    }

    .addons-list {
        flex-direction: column;
        gap: 16px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px 16px;
    }

    .testimonial-card blockquote {
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-wrapper {
        padding: 16px;
        gap: 32px;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .contact-social {
        flex-wrap: wrap;
    }

    .social-link {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        padding: 32px 16px;
    }

    .footer-nav {
        gap: 16px;
    }

    .footer-nav a {
        font-size: 0.8rem;
    }

    .footer-brand .brand-name {
        font-size: 1rem;
    }
}

/* ==========================================
   SINGLE PAGE & POST TEMPLATES
   ========================================== */

/* Content Sections */
.page-content,
.single-content {
    padding: var(--section-padding) 0;
    min-height: calc(100vh - 200px);
}

/* Content Article */
.content-article {
    max-width: 800px;
    margin: 0 auto;
}

/* Content Header */
.content-header {
    text-align: center;
    margin-bottom: 48px;
}

.content-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0;
}

.content-title em {
    font-style: italic;
    color: var(--accent);
}

/* Categories */
.content-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    transition: all 0.3s var(--ease);
}

.category-tag:hover {
    background-color: var(--primary);
}

/* Post Meta */
.content-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.content-meta a {
    color: var(--text);
    transition: color 0.3s var(--ease);
}

.content-meta a:hover {
    color: var(--accent);
}

.meta-separator {
    width: 4px;
    height: 4px;
    background-color: var(--border);
    border-radius: 50%;
}

/* Featured Image */
.content-featured-image {
    margin-bottom: 48px;
    border-radius: var(--box-radius);
    overflow: hidden;
}

.content-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-image-caption {
    padding: 12px 16px;
    background-color: var(--bg-alt);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Content Body */
.content-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.content-body h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--primary);
    margin: 48px 0 20px;
    line-height: 1.3;
}

.content-body h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary);
    margin: 40px 0 16px;
    line-height: 1.3;
}

.content-body h4 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin: 32px 0 12px;
}

.content-body p {
    margin-bottom: 24px;
}

.content-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s var(--ease);
}

.content-body a:hover {
    color: var(--primary);
}

.content-body ul,
.content-body ol {
    margin: 0 0 24px 24px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background-color: var(--bg-alt);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--box-radius) var(--box-radius) 0;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
}

.content-body blockquote p:last-child {
    margin-bottom: 0;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.content-body figure {
    margin: 32px 0;
}

.content-body figcaption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

.content-body pre {
    margin: 24px 0;
    padding: 24px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.content-body code {
    padding: 2px 6px;
    background-color: var(--bg-alt);
    border-radius: 4px;
    font-size: 0.9em;
}

.content-body pre code {
    padding: 0;
    background-color: transparent;
}

.content-body table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.content-body th,
.content-body td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.content-body th {
    font-weight: 600;
    color: var(--primary);
    background-color: var(--bg-alt);
}

.content-body hr {
    margin: 48px 0;
    border: none;
    border-top: 1px solid var(--border);
}

/* Page Links (pagination within post) */
.page-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.page-links-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s var(--ease);
}

.page-link:hover,
.page-links > .page-link {
    background-color: var(--primary);
    color: var(--white);
}

/* Content Footer */
.content-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Tags */
.content-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tags-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-right: 4px;
}

.content-tags a {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--bg);
    color: var(--text-light);
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.3s var(--ease);
}

.content-tags a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Share Section */
.content-share {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.share-links {
    display: flex;
    gap: 8px;
}

.share-link {
    padding: 8px 16px;
    background-color: var(--bg);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s var(--ease);
}

.share-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    padding: 32px;
    background-color: var(--white);
    border-radius: var(--box-radius);
    box-shadow: 0 4px 40px rgba(0,0,0,0.04);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary);
    margin: 4px 0 12px;
}

.author-name a {
    color: inherit;
    transition: color 0.3s var(--ease);
}

.author-name a:hover {
    color: var(--accent);
}

.author-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nav-previous,
.nav-next {
    padding: 24px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s var(--ease);
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.nav-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.4;
    transition: color 0.3s var(--ease);
}

.nav-title:hover {
    color: var(--accent);
}

/* Comments Section */
.comments-area {
    max-width: 800px;
    margin: 48px auto 0;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.comments-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 32px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 32px;
    padding: 24px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.comment .children {
    list-style: none;
    margin: 24px 0 0 32px;
    padding: 0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 600;
    color: var(--primary);
}

.comment-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comment-content {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply a {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    transition: color 0.3s var(--ease);
}

.reply a:hover {
    color: var(--primary);
}

/* Comment Form */
.comment-respond {
    margin-top: 48px;
    padding: 32px;
    background-color: var(--white);
    border-radius: var(--box-radius);
    box-shadow: 0 4px 40px rgba(0,0,0,0.04);
}

.comment-reply-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 24px;
}

.comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text);
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s var(--ease);
    margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--accent);
}

.comment-form .submit {
    padding: 14px 28px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.comment-form .submit:hover {
    background-color: var(--accent);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .page-content,
    .single-content {
        padding: 60px 0;
    }

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

    .content-title {
        font-size: 1.75rem;
    }

    .content-meta {
        flex-direction: column;
        gap: 8px;
    }

    .meta-separator {
        display: none;
    }

    .content-featured-image {
        margin-bottom: 32px;
        border-radius: 12px;
    }

    .content-body {
        font-size: 1rem;
    }

    .content-body h2 {
        font-size: 1.5rem;
        margin-top: 40px;
    }

    .content-body h3 {
        font-size: 1.25rem;
        margin-top: 32px;
    }

    .content-body blockquote {
        padding: 20px;
        margin: 24px 0;
    }

    .content-footer {
        margin-top: 32px;
        padding-top: 24px;
    }

    .content-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .author-box {
        padding: 24px;
        margin-top: 32px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .post-navigation {
        margin-top: 32px;
        padding-top: 32px;
    }

    .nav-previous,
    .nav-next {
        padding: 20px;
    }

    .nav-title {
        font-size: 1rem;
    }

    .comments-area {
        margin-top: 32px;
        padding-top: 32px;
    }

    .comment {
        padding: 20px;
    }

    .comment .children {
        margin-left: 16px;
    }

    .comment-respond {
        padding: 24px;
    }
}
