﻿/* ================================================================
   ARBORETUM GREEN HOTEL â€” MAIN STYLESHEET
   ----------------------------------------------------------------
   This is the ONLY CSS file used by the public website.
   It is organized into clearly labelled sections:
     1. CSS Variables (brand colors, fonts)
     2. Reset & base styles
     3. Layout helpers (container, grid)
     4. Header & navigation
     5. Buttons
     6. Hero sections
     7. Cards (rooms, services, attractions)
     8. Service page (alternating photo/text sections)
     9. Testimonials
    10. Forms (contact, feedback)
    11. Footer
    12. CTA band
    13. Utility classes
    14. Responsive breakpoints
   To change a color across the WHOLE site, edit the variables in
   section 1 only â€” do not hunt for hex codes elsewhere.
   ================================================================ */

/* ============================================
   1. CSS VARIABLES â€” BRAND COLORS & FONTS
   Change these values to re-theme the entire site.
   ============================================ */
:root {
    --brand-green: #0a5c3a;
    --brand-green-dark: #063f28;
    --brand-green-light: #2e7d32;
    --brand-gold: #c9a84c;
    --brand-navy: #1a237e;
    --text-dark: #17221c;
    --text-light: #52635a;
    --bg-light: #f5f7f5;
    --bg-white: #ffffff;
    --border: #d9e5de;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --radius: 10px;
    --shadow-sm: 0 2px 8px rgba(10, 92, 58, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 92, 58, 0.12);
    --shadow-lg: 0 16px 40px rgba(10, 92, 58, 0.18);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
    line-height: 1.25;
    margin: 0 0 0.6em 0;
    font-weight: 700;
    color: var(--text-dark);
}

p {
    margin: 0 0 1em 0;
    color: var(--text-light);
}

ul {
    padding-left: 1.2em;
}

/* Visible focus states for keyboard navigation (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 2px;
}

/* Skip-to-content link â€” hidden until focused, helps screen-reader / keyboard users */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--brand-green);
    color: #fff;
    padding: 10px 16px;
    z-index: 2000;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    left: 0;
}

/* ============================================
   3. LAYOUT HELPERS
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
}

.section-tight {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.section-title .eyebrow {
    display: inline-block;
    color: var(--brand-gold);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.bg-light {
    background: var(--bg-light);
}

.grid {
    display: grid;
    gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   4. HEADER & NAVIGATION
   Applies to: <header class="site-header"> (identical on every page)
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--brand-green);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.25s ease;
}

/* Added by JS when the user scrolls down, for a subtle "lifted" look */
.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

/* Logo sizing rule â€” MUST stay height:48px in header, never stretched */
.brand-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
    box-sizing: border-box;
}

.brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase; /* Enforces ALL CAPITALS in header per brand rule */
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #ffffff;
    cursor: pointer;
    padding: 4px 8px;
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-book-now {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: var(--brand-green);
    color: #fff;
}
.btn-primary:hover {
    background: var(--brand-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-green);
    border-color: var(--brand-green);
}
.btn-secondary:hover {
    background: var(--brand-green);
    color: #fff;
    transform: translateY(-2px);
}

/* The prominent green "BOOK NOW" button used in the header and CTA bands */
.btn-book-now {
    background: var(--brand-gold);
    color: var(--brand-green-dark);
    box-shadow: var(--shadow-sm);
}
.btn-book-now:hover {
    background: #b8963f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-on-dark.btn-secondary {
    color: #fff;
    border-color: #fff;
}
.btn-on-dark.btn-secondary:hover {
    background: #fff;
    color: var(--brand-green);
}

/* ============================================
   6. HERO SECTIONS
   .hero    = large hero for the home page
   .hero-sm = smaller page-title hero used on inner pages
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
}

.hero-sm {
    min-height: 300px;
}

/* Dark gradient overlay so white text stays readable over any photo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 41, 26, 0.55) 0%, rgba(6, 41, 26, 0.78) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 720px;
    padding: 40px 0;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 16px;
}

.hero p.tagline {
    color: #f1f5f2;
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 560px;
    margin-bottom: 28px;
}

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

/* ============================================
   7. CARDS â€” rooms, services, attractions, values
   ============================================ */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

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

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

.card-body h3 {
    font-size: 1.15rem;
    color: var(--brand-green);
}

/* Room cards */
.room-card .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin: 6px 0 14px 0;
}
.room-card .price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}
.room-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}
.room-card ul li {
    padding: 5px 0 5px 26px;
    position: relative;
}
.room-card ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--brand-green-light);
    font-weight: 800;
}
.room-card .btn-primary {
    margin-top: auto;
}

/* Service icon cards (home page services preview) */
.service-card {
    text-align: center;
    padding: 30px 20px;
}
.service-card .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
}
.service-card .icon-circle svg {
    width: 30px;
    height: 30px;
}
.service-card h3 {
    font-size: 1.05rem;
}

/* Values cards (about page) */
.value-card {
    text-align: center;
    padding: 32px 22px;
}
.value-card .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Attraction / day-trip cards (discover page) */
.attraction-card .card-body p {
    font-size: 0.92rem;
}
.attraction-card .distance-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--brand-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    width: fit-content;
}

/* ============================================
   8. SERVICES PAGE â€” alternating photo/text layout
   Applies to: services.html
   Structure: .service-section > .service-photo + .service-content
   photo-left  â†’ image on the left on desktop
   photo-right â†’ image on the right on desktop
   ============================================ */
.service-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
}
.service-section:last-of-type {
    border-bottom: none;
}

.service-section.photo-right .service-photo {
    order: 2;
}
.service-section.photo-right .service-content {
    order: 1;
}

.service-photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Used by the Free Wi-Fi section, which has an icon instead of a photo */
.service-photo.icon-box {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.service-photo.icon-box svg {
    width: 140px;
    height: 140px;
    color: #fff;
}

.service-content .eyebrow {
    color: var(--brand-gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.service-content h2 {
    color: var(--brand-green);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.service-details {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
}
.service-details li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px dashed var(--border);
    font-size: 0.95rem;
}
.service-details li:last-child {
    border-bottom: none;
}
.service-details li::before {
    content: "\2022";
    position: absolute;
    left: 6px;
    color: var(--brand-green-light);
    font-size: 1.4rem;
    line-height: 1;
    top: 6px;
}

/* ============================================
   9. TESTIMONIALS (home page)
   Fed by /api/public/feedback/approved â€” see main.js
   ============================================ */
.testimonials-section {
    /* JS hides this whole section with display:none when there are no reviews */
}

.rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 10px 22px;
    border-radius: 999px;
    margin: 0 auto 40px auto;
    font-weight: 700;
    color: var(--brand-navy);
}

.rating-stars {
    color: var(--brand-gold);
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.testimonial-card {
    padding: 28px 26px;
}
.testimonial-card .rating-stars {
    margin-bottom: 10px;
    display: block;
}
.testimonial-card p.quote {
    color: var(--text-dark);
    font-style: italic;
    min-height: 72px;
}
.testimonial-card .reviewer {
    font-weight: 700;
    color: var(--brand-green);
    margin-top: 14px;
}
.testimonial-card .visit-type {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
  10. FORMS â€” contact form & feedback form
   ============================================ */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: var(--text-dark);
}
.form-group .hint {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: var(--bg-white);
    color: var(--text-dark);
}
.form-control:focus {
    border-color: var(--brand-green-light);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Clickable 1-5 star rating widget used in the feedback form */
.star-rating {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    color: var(--border);
}
.star-rating .star {
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
}
.star-rating .star:hover {
    transform: scale(1.15);
}
.star-rating .star.is-filled {
    color: var(--brand-gold);
}

.form-note {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 10px;
}

.form-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    display: none;
}
.form-message.is-success {
    display: block;
    background: #e6f4ea;
    color: var(--brand-green-dark);
    border: 1px solid var(--brand-green-light);
}
.form-message.is-error {
    display: block;
    background: #fdecea;
    color: #a3231a;
    border: 1px solid #e6a29b;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}
.contact-info-list li:last-child {
    border-bottom: none;
}
.contact-info-list .icon {
    color: var(--brand-green);
    flex-shrink: 0;
}

.map-embed {
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    min-height: 380px;
}

/* ============================================
  11. FOOTER
   Applies to: <footer class="site-footer"> (identical on every page)
   ============================================ */
.site-footer {
    background: var(--brand-green-dark);
    color: #d7e4dd;
}

.footer-main {
    padding: 64px 0 40px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

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

/* Footer logo sizing rule â€” MUST stay height:60px */
.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-brand-name {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase; /* Brand rule: ALL CAPITALS */
    letter-spacing: 0.5px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.footer-slogan {
    color: var(--brand-gold);
    font-weight: 600;
    font-style: italic;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col a {
    color: #d7e4dd;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--brand-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-bottom p {
    margin: 0;
    color: #a9c2b6;
    font-size: 0.85rem;
}

/* Discreet staff login link â€” footer ONLY, never in main header nav */
.staff-login {
    font-size: 0.78rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #a9c2b6;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.staff-login:hover {
    color: #fff;
    border-color: var(--brand-gold);
}

/* ============================================
  12. CTA BAND â€” call-to-action strip before footer
   ============================================ */
.cta-band {
    background: linear-gradient(120deg, var(--brand-green-dark) 0%, var(--brand-green) 100%);
    color: #fff;
    text-align: center;
    padding: 64px 0;
}
.cta-band h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 14px;
}
.cta-band p {
    color: #e6ece9;
    max-width: 560px;
    margin: 0 auto 28px auto;
}
.cta-band .hero-actions {
    justify-content: center;
}

/* ============================================
  13. UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gold-text { color: var(--brand-gold); }
.hidden { display: none !important; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Highlighted callout box â€” used for "Big Three" attractions on Discover page */
.callout-box {
    background: var(--bg-light);
    border-left: 5px solid var(--brand-gold);
    border-radius: var(--radius);
    padding: 32px 34px;
    margin: 40px 0;
}
.callout-box h3 {
    color: var(--brand-green);
}
.callout-box ol {
    margin: 0;
    padding-left: 20px;
}
.callout-box li {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tips-grid .card-body h3 {
    font-size: 1rem;
}

/* Two-column layout used by the Contact page */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ============================================
  14. RESPONSIVE BREAKPOINTS
   Mobile   : < 768px
   Tablet   : 768px â€“ 1024px
   Desktop  : > 1024px
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        display: none;
    }
    .main-nav.is-open {
        display: flex;
    }
    .main-nav a {
        width: 100%;
        padding: 10px 0;
    }
    .hamburger {
        display: inline-block;
    }
    .btn-book-now {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .service-section,
    .service-section.photo-right {
        grid-template-columns: 1fr;
    }
    .service-section .service-photo,
    .service-section.photo-right .service-photo {
        order: 1;
    }
    .service-section .service-content,
    .service-section.photo-right .service-content {
        order: 2;
    }
    .service-photo img,
    .service-photo.icon-box {
        height: 240px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 48px 0 30px 0;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tips-grid {
        grid-template-columns: 1fr;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 480px;
    }
}
