/*
Theme Name: Malyam Hotel
Theme URI: https://malyamhotel.com
Author: Malyam Hotel
Author URI: https://malyamhotel.com
Description: A modern, elegant WordPress theme for Malyam Hotel in Wabag Town, Enga Province. Features a responsive design with booking system integration, image gallery, and comprehensive service showcase.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: malyam-hotel
Tags: hotel, hospitality, booking, responsive, modern, one-page

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Enga Provincial Flag Colors */
    --color-black: #1a1a1a;
    --color-green: #2d5016;
    --color-green-light: #3d6b1f;
    --color-green-dark: #1d3a0e;
    --color-yellow: #f4c430;
    --color-yellow-light: #f9d563;
    --color-yellow-dark: #d4a520;
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-dark) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(29, 58, 14, 0.9) 0%, rgba(45, 80, 22, 0.85) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 26, 26, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-yellow);
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--color-white);
    opacity: 0.8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-yellow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-yellow);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(244, 196, 48, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 196, 48, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 58, 14, 0.85) 0%, rgba(45, 80, 22, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-off-white);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-icon {
    margin-right: 0.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-black);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-yellow);
}

.btn-secondary:hover {
    background: var(--color-yellow);
    color: var(--color-black);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   ABOUT / HIGHLIGHTS SECTION
   ============================================ */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: var(--color-off-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-yellow);
}

.highlight-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.highlight-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 1rem;
}

.highlight-description {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--color-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image.placeholder-service {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(244, 196, 48, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image.placeholder-service .placeholder-content {
    text-align: center;
    color: rgba(0, 0, 0, 0.4);
}

.service-image.placeholder-service .placeholder-content span {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.service-image.placeholder-service .placeholder-content p {
    font-size: 0.9rem;
    font-weight: 600;
}

.service-content {
    padding: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.8;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1rem;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    color: var(--color-yellow);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--color-white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--color-yellow);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(244, 196, 48, 0.9);
    color: var(--color-black);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-yellow);
    transform: scale(1.05);
}

/* ============================================
   BOOKING SECTION
   ============================================ */
.booking {
    background: var(--color-white);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: start;
}

.booking-info {
    position: sticky;
    top: 120px;
}

.booking-description {
    color: #666;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.booking-note {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(244, 196, 48, 0.08) 100%);
    border-left: 4px solid var(--color-green);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.booking-note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.booking-note p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--color-black);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--color-black);
    font-weight: 700;
    flex-shrink: 0;
}

.booking-form-container {
    background: var(--color-off-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-yellow);
}

.form-title-secondary {
    margin-top: 2rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-green-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--color-off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: #666;
    line-height: 1.8;
}

.contact-form-container {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(244, 196, 48, 0.05) 100%);
    border: 2px dashed rgba(45, 80, 22, 0.3);
    border-radius: var(--radius-md);
    padding: 4rem 2rem;
    text-align: center;
}

.map-placeholder-content {
    max-width: 500px;
    margin: 0 auto;
}

.map-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.map-placeholder h4 {
    font-size: 1.5rem;
    color: var(--color-green-dark);
    margin-bottom: 0.75rem;
}

.map-placeholder p {
    color: #666;
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-yellow);
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    color: var(--color-yellow);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(244, 196, 48, 0.15);
    border-radius: 50%;
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition-base);
}

.social-icon:hover {
    background: var(--color-yellow);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-base);
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .booking-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-info {
        position: static;
    }

    .booking-form-container,
    .contact-form-container {
        padding: 2rem;
    }

    .section-container {
        padding: var(--spacing-lg) 1.5rem;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-nav {
        padding: 0 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 0.75rem 1rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}