/* =========================================================
   styles.css — COMMON / SHARED styles (both mobile + desktop)
   Color palette, typography, menu, food menu, footer, hero.
   Device-specific layouts: desktop-style.css / mobile-style.css
   ========================================================= */

:root {
    --ph-green-700: #1b5e20;
    --ph-green-600: #2e7d32;
    --ph-green-500: #388e3c;
    --ph-green-50:  #f1f8e9;
    --ph-beige:     #f4f1ec;
    --ph-beige-2:   #f9f7f3;
    --ph-beige-3:   #ede8da;
    --ph-text:      #333;
    --ph-muted:     #666;
    --ph-red-600:   #d32f2f;
    --ph-red-700:   #b71c1c;
    --ph-whatsapp:  #25d366;
    --ph-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --ph-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
    --ph-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.18);
    --ph-radius:    12px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--ph-text);
    background-color: var(--ph-beige);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

/* --- Header / Nav (shared) --- */
.site-header {
    background: linear-gradient(to bottom, var(--ph-green-600), var(--ph-green-700));
    color: #fff;
    padding-top: 18px;
    box-shadow: var(--ph-shadow-sm);
}
.site-title {
    font-family: 'Georgia', serif;
    font-size: clamp(1.5rem, 2.2vw + 0.5rem, 2.4rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}
.site-nav .nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
.btn-book {
    background-color: var(--ph-red-600) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn-book:hover {
    background-color: var(--ph-red-700) !important;
    color: #fff;
}
.nav-link {
    color: #fff !important;
    font-size: 1.02em;
    min-height: 40px;
    display: inline-flex !important;
    align-items: center;
}

/* --- Main / Shared section rules --- */
main {
    padding-bottom: 2.5rem;
}
section {
    margin-bottom: 2.5rem;
}
h2.section-title {
    font-family: 'Georgia', serif;
    color: var(--ph-green-700);
    font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem);
    text-align: center;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    text-align: center;
    color: var(--ph-muted);
    font-size: 1.05em;
    margin-bottom: 2rem;
}

/* --- Hero section (shared) --- */
.hero-section {
    background:
        linear-gradient(rgba(0, 60, 30, 0.55), rgba(0, 60, 30, 0.55)),
        url('/assets/img/gallery-2.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}
.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.95em;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}
.hero-title {
    font-family: 'Georgia', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.15;
    text-shadow: 0 3px 12px rgba(0,0,0,0.45);
}
.hero-tagline {
    font-size: 1.1em;
    max-width: 760px;
    margin: 0 auto 1.8rem;
    opacity: 0.97;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Shared button palette (custom) --- */
.btn-ph-primary {
    background: linear-gradient(135deg, var(--ph-green-600), var(--ph-green-700));
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.8rem 1.7rem;
    box-shadow: 0 6px 16px rgba(27, 94, 32, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-ph-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 24px rgba(27, 94, 32, 0.4); }
.btn-ph-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.75rem 1.6rem;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-ph-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.btn-ph-outline-green {
    background: #fff;
    color: var(--ph-green-700);
    border: 2px solid var(--ph-green-600);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.7rem 1.4rem;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-ph-outline-green:hover {
    background: var(--ph-green-600);
    color: #fff;
}
.btn-ph-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.8rem 1.7rem;
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.35);
    transition: transform 0.15s ease;
}
.btn-ph-whatsapp:hover { color: #fff; transform: translateY(-2px); }
.btn-ph-primary:active, .btn-ph-outline-green:active, .btn-ph-secondary:active, .btn-ph-whatsapp:active {
    transform: scale(0.98);
}

/* --- About section (shared structure) --- */
.about-section {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}
.about-content h3 {
    font-family: 'Georgia', serif;
    color: var(--ph-green-600);
    margin-bottom: 1rem;
    font-size: 1.5em;
}
.about-content p { color: #444; margin-bottom: 1rem; }
.about-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.about-feature-list li {
    padding: 7px 0 7px 30px;
    position: relative;
    color: #444;
}
.about-feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 6px;
}
.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--ph-radius);
    box-shadow: var(--ph-shadow-md);
    display: block;
}

/* --- Video (shared) --- */
.video-section {
    padding: 3rem 0;
    background: #fff;
}
.video-wrapper {
    border-radius: var(--ph-radius);
    overflow: hidden;
    box-shadow: var(--ph-shadow-md);
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-wrapper video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--ph-muted);
    font-weight: 500;
}

/* --- Feature cards (Why Choose Us / shared) --- */
.features-section { padding: 3rem 0; background: var(--ph-beige-2); }
.feature-card {
    background: #fff;
    border-radius: var(--ph-radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--ph-shadow-sm);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ph-shadow-md);
}
.feature-icon {
    font-size: 2.4rem;
    display: inline-block;
    margin-bottom: 0.6rem;
}
.feature-card h4 {
    color: var(--ph-green-700);
    font-family: 'Georgia', serif;
    margin-bottom: 0.5rem;
    font-size: 1.15em;
}
.feature-card p {
    color: var(--ph-muted);
    font-size: 0.95em;
    margin: 0;
}
.feature-card a { font-weight: 600; }

/* --- Rooms (shared) --- */
.rooms-section { padding: 3rem 0; background: #fff; }
.room-card {
    background: var(--ph-beige-2);
    border-radius: var(--ph-radius);
    overflow: hidden;
    box-shadow: var(--ph-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--ph-shadow-md); }
.room-image img { width: 100%; height: 240px; object-fit: cover; display: block; }
.room-info { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.room-info h4 {
    font-family: 'Georgia', serif;
    color: var(--ph-green-700);
    font-size: 1.25em;
    margin-bottom: 0.4rem;
}
.room-price {
    font-size: 1.35em;
    font-weight: 700;
    color: var(--ph-green-700);
    margin-bottom: 0.8rem;
}
.room-price span { font-weight: 500; font-size: 0.7em; color: var(--ph-muted); }
.room-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
}
.room-features li {
    padding: 5px 0;
    font-size: 0.93em;
    color: #444;
}
.btn-room {
    display: inline-block;
    background: linear-gradient(135deg, var(--ph-green-600), var(--ph-green-700));
    color: #fff !important;
    text-align: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.25);
}
.btn-room:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27, 94, 32, 0.35); }
.m-price-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--ph-green-600), var(--ph-green-700));
    color: #fff;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* --- Amenities (shared) --- */
.amenities-section { padding: 3rem 0; background: var(--ph-beige-2); }
.amenities-grid {
    display: grid;
    gap: 12px;
}
.amenity-item {
    background: #fff;
    padding: 16px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: var(--ph-shadow-sm);
    color: #444;
}
.amenity-icon {
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ph-green-50);
    border-radius: 10px;
    flex-shrink: 0;
}

/* --- Gallery (shared) --- */
.gallery-section { padding: 3rem 0; background: #fff; }
.gallery-grid { display: grid; gap: 14px; }
.gallery-item {
    border-radius: var(--ph-radius);
    overflow: hidden;
    background: #fff;
    aspect-ratio: 4 / 3;
    display: block;
    box-shadow: var(--ph-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--ph-shadow-md); }
.gallery-item:hover img { transform: scale(1.07); }

/* --- Nearby attractions (shared) --- */
.attractions-section { padding: 3rem 0; background: var(--ph-beige-2); }
.attractions-grid { display: grid; gap: 16px; }
.attraction-card {
    position: relative;
    border-radius: var(--ph-radius);
    overflow: hidden;
    box-shadow: var(--ph-shadow-sm);
    aspect-ratio: 4 / 5;
    display: block;
}
.attraction-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.attraction-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.25) 80%, transparent);
    color: #fff;
}
.attraction-overlay h4 {
    font-family: 'Georgia', serif;
    font-size: 1.08em;
    margin-bottom: 4px;
}
.attraction-overlay p {
    font-size: 0.82em;
    margin: 0;
    opacity: 0.95;
}

/* --- Quick Links / Explore (shared desktop-style cards) --- */
.quick-links-section { padding: 3rem 0; background: #fff; }
.quick-links-grid { display: grid; gap: 20px; }
.quick-link-card {
    background: var(--ph-beige-2);
    border-radius: var(--ph-radius);
    overflow: hidden;
    box-shadow: var(--ph-shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.quick-link-card:hover { transform: translateY(-5px); box-shadow: var(--ph-shadow-md); color: inherit; }
.quick-link-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.quick-link-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.quick-link-body h4 { color: var(--ph-green-700); font-family: 'Georgia', serif; font-size: 1.3em; margin-bottom: 10px; }
.quick-link-body p { color: var(--ph-muted); font-size: 0.95em; line-height: 1.6; flex: 1; }
.quick-link-arrow {
    display: inline-block;
    margin-top: 14px;
    color: var(--ph-green-600);
    font-weight: 700;
    align-self: flex-start;
}

/* --- CTA / Contact (shared) --- */
.cta-section {
    background: linear-gradient(135deg, var(--ph-green-600), var(--ph-green-700));
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-subtitle {
    font-size: 1.1em;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto 1.8rem;
}
.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 2.2rem;
    text-align: left;
}
.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.3rem 1.2rem;
    border-radius: var(--ph-radius);
}
.contact-item h5 {
    font-size: 1em;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 700;
}
.contact-item p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 0.98em; line-height: 1.65; }
.contact-item p a { color: #fff; font-weight: 600; text-decoration: underline; }
.contact-icon {
    display: inline-block;
    font-size: 1.4rem;
    margin-bottom: 6px;
}

/* --- Footer (shared) --- */
footer {
    background: #0e3b11;
    color: #fff;
    padding: 1.4rem 0;
    text-align: center;
}
footer p { margin: 0; font-size: 0.93em; opacity: 0.9; }
footer a { color: #fff; text-decoration: underline; }

/* =========================================================
   FOOD MENU PAGE (shared menu.php)
   ========================================================= */
.food-menu { padding-top: 2rem; }
.menu-section { margin-bottom: 2.5rem; }
.notice {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 18px 22px;
    border-radius: 8px;
    margin: 0 auto 2rem;
    color: #664d03;
    font-weight: 500;
    max-width: 980px;
    text-align: center;
    line-height: 1.7;
    box-shadow: var(--ph-shadow-sm);
}
.menu-grid {
    display: grid;
    gap: 20px;
}
.menu-item {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 16px;
    border-radius: var(--ph-radius);
    box-shadow: var(--ph-shadow-sm);
    align-items: stretch;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.menu-item:hover { transform: translateY(-2px); box-shadow: var(--ph-shadow-md); }
.food-image {
    flex-shrink: 0;
    width: 120px;
    min-width: 120px;
    height: 100px;
    min-height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ph-beige-3);
}
.food-image .food-img,
.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.placeholder-img { width: 100%; height: 100%; display: block; }
.food-details { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.food-details h4 {
    font-size: 1.1em;
    color: var(--ph-green-700);
    font-family: 'Georgia', serif;
    margin: 0 0 6px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.food-details .price {
    color: var(--ph-green-700);
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 1em;
    white-space: nowrap;
}
.food-details .ingredients {
    color: var(--ph-muted);
    font-size: 0.88em;
    line-height: 1.55;
    margin: 0;
}
.custom-note {
    margin-top: 6px;
    padding: 8px 10px;
    background: var(--ph-green-50);
    border-left: 3px solid var(--ph-green-600);
    font-size: 0.8em;
    color: var(--ph-green-700);
    border-radius: 4px;
}
.clearfix { clear: both; }

/* Info sections (menu.php: Internet, Travel, Shop, Scooty, Important Notes) */
.info-section {
    padding: 2.5rem 0;
    background: var(--ph-beige-2);
}
.info-section:nth-of-type(even) { background: #fff; }
.info-section h2 {
    font-family: 'Georgia', serif;
    color: var(--ph-green-700);
    font-size: 1.7em;
    margin-bottom: 1rem;
    border-bottom: 2px solid #c8d8c4;
    padding-bottom: 8px;
}
.info-section ul { padding-left: 1.3rem; }
.info-section li { padding: 6px 0; color: #444; }
.important-notes-section {
    background: #fff8e1 !important;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
}
.important-notes-section li { color: #5d4037; font-weight: 500; }
