:root {
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --accent: #0f766e;
    --accent-soft: #ccfbf1;
    --accent-dark: #115e59;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --radius-lg: 1.25rem;
    --radius-md: 0.75rem;
    --shadow-soft: 0 15px 30px rgba(15, 23, 42, 0.07);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 3.5rem 0;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 0.75rem;
}

/* Header & Nav */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

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

.brand span:first-child {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
}

.brand span:last-child {
    font-size: 0.9rem;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.nav-links a {
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
}

.nav-links a:hover {
    background: rgba(15, 118, 110, 0.08);
}

.nav-cta {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.35);
}

.nav-cta:hover {
    background: var(--accent-dark);
}

/* Mobile nav – simple stack */
@media (max-width: 640px) {
    .nav {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* Hero */

.hero {
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.hero-tag span:first-child {
    font-size: 1rem;
}

.hero h1 {
    font-size: 2.1rem;
    margin-bottom: 0.75rem;
}

.hero h1 span {
    color: var(--accent-dark);
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.btn-primary {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 12px 20px rgba(15, 118, 110, 0.3);
}

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

.btn-outline {
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 0.92rem;
    cursor: pointer;
}

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

.hero-note {
    font-size: 0.8rem;
    color: var(--muted);
}

.hero-media {
    position: relative;
}

.hero-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card img {
    height: 230px;
    width: 100%;
    object-fit: cover;
}

.hero-stats {
    padding: 1rem 1.15rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.hero-stats div {
    font-size: 0.78rem;
}

.hero-stats strong {
    display: block;
    font-size: 1.15rem;
}

.badge-floating {
    position: absolute;
    bottom: -10px;
    right: 12px;
    transform: translateY(50%);
    background: #0b1120;
    color: #e5e7eb;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    box-shadow: 0 14px 25px rgba(15, 23, 42, 0.6);
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-media {
        order: -1;
    }
}

/* Sections: About, Rooms, Amenities, Location, Contact */

.section-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--muted);
    font-size: 0.9rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.about-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.about-list {
    list-style: none;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.about-list li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.about-list span {
    font-size: 1.1rem;
}

.about-photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Rooms */

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.room-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.room-card img {
    height: 160px;
    object-fit: cover;
}

.room-body {
    padding: 1.1rem 1.1rem 1rem;
    font-size: 0.9rem;
}

.room-body h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.room-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.room-price {
    font-weight: 700;
    color: var(--accent-dark);
}

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

@media (max-width: 640px) {
    .rooms-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Amenities */

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    font-size: 0.9rem;
}

.amenity {
    background: var(--card-bg);
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--border);
}

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

@media (max-width: 640px) {
    .amenities-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Location */

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.8rem;
}

.map-placeholder {
    background: #0f172a;
    border-radius: var(--radius-md);
    min-height: 220px;
    color: #e5e7eb;
    padding: 1rem;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.map-placeholder small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), transparent 55%);
    pointer-events: none;
}

.location-details {
    font-size: 0.9rem;
    color: var(--muted);
}

.location-details strong {
    color: var(--text);
}

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Contact / Booking form */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.8rem;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

form {
    display: grid;
    gap: 0.8rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

input,
textarea,
select {
    width: 100%;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    padding: 0.6rem 0.7rem;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-soft);
    border-color: var(--accent-dark);
}

.contact-side {
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-side strong {
    color: var(--text);
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Footer */

footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0 2rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* --------------------------------------
   Color palette variants
   -------------------------------------- */

/* Default variables already match "ocean" fairly closely.
   These classes override CSS custom properties per palette.
*/

/* Ocean Calm – teal + light blue (default) */
body.palette-ocean {
    --bg: #f0f9ff;
    --card-bg: #ffffff;
    --accent: #0f766e;
    --accent-soft: #ccfbf1;
    --accent-dark: #115e59;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
}

/* Forest Retreat – deeper greens, slightly warmer background */
body.palette-forest {
    --bg: #f4f6f0;
    --card-bg: #ffffff;
    --accent: #166534;
    --accent-soft: #dcfce7;
    --accent-dark: #14532d;
    --text: #022c22;
    --muted: #6b7280;
    --border: #e5e7eb;
}

/* Sunset Glow – warm oranges/rose */
body.palette-sunset {
    --bg: #fff7ed;
    --card-bg: #ffffff;
    --accent: #ea580c;
    --accent-soft: #ffedd5;
    --accent-dark: #c2410c;
    --text: #1f2933;
    --muted: #6b7280;
    --border: #fed7aa;
}

/* Minimal Stone – greys & charcoal */
body.palette-minimal {
    --bg: #f3f4f6;
    --card-bg: #ffffff;
    --accent: #4b5563;
    --accent-soft: #e5e7eb;
    --accent-dark: #111827;
    --text: #111827;
    --muted: #6b7280;
    --border: #d1d5db;
}

.currency-form select {
  background: #fff;
}
@media (max-width: 640px) {
  .currency-form label { display:none; }
}

.currency-rates-footer {
  text-align: center;
  line-height: 1.4;
}
.booking-platforms{
    margin-top:18px;
}

.platform-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.booking-btn{
    display:inline-block;
    padding:10px 18px;
    border-radius:6px;
    font-weight:600;
    text-decoration:none;
    border:1px solid #ccc;
    background:#f7f7f7;
    color:#333;
    transition:all 0.2s ease;
}

.booking-btn:hover{
    background:#e9e9e9;
    border-color:#bbb;
}

.booking-direct{
    background:#2e7d32;
    color:#fff;
    border-color:#2e7d32;
}

.booking-direct:hover{
    background:#256528;
}

.booking-platform{
    background:#ffffff;
}
