:root {
    --primary-color: #1e40af; /* Blue from Alia logo */
    --primary-dark: #1e3a8a;
    --secondary-color: #dc2626; /* Red from Alia logo */
    --accent-color: #3b82f6;
    --success-color: #06c755;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Quicksand', 'Sarabun', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-family: 'Allura', cursive;
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-link:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

/* Contact Us button in navbar */
.nav-link.btn-primary {
    padding: 10px 24px;
    border-radius: 8px;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

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

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

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

.btn-success:hover {
    background: #05a847;
    border-color: #05a847;
}

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

.btn-white:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:
        linear-gradient(rgba(30, 64, 175, 0.75), rgba(30, 58, 138, 0.75)),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* Sections */
section {
    padding: 80px 0;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* About Section */
.about {
    background: var(--bg-white);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Services/Rooms Section */
.rooms {
    background: var(--bg-light);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Last card spans full width */
.room-card:nth-child(7) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
}

.room-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.room-content {
    padding: 30px;
}

.room-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    word-wrap: break-word;
    hyphens: auto;
}

.room-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.room-amenities {
    list-style: none;
    margin-bottom: 25px;
}

.room-amenities li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.room-footer {
    border-top: 1px solid var(--bg-light);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.rooms-note {
    text-align: center;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.rooms-note p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

/* Pricing Section */
.pricing {
    background: var(--bg-white);
}

.pricing-table {
    max-width: 1000px;
    margin: 0 auto 40px;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0;
    background: var(--primary-dark);
    color: #ffffff;
    padding: 10px 0;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--bg-light);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:nth-child(even) {
    background: var(--bg-light);
}

.pricing-cell {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cell {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.service-name {
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    justify-content: flex-start;
}

.pricing-cell:not(.service-name) {
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
}

.pricing-note p {
    margin: 10px 0;
    color: var(--text-dark);
}

.pricing-note strong {
    color: var(--primary-color);
}

/* Opening Hours Section */
.hours {
    background: var(--bg-light);
}

.hours-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.hours-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.day-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hours-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.time {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status.open {
    background: #dcfce7;
    color: #15803d;
}

.status.appointment {
    background: #dbeafe;
    color: var(--primary-color);
}

.booking-reminder {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

.booking-reminder h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.booking-reminder p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.booking-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-content {
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    line-height: 1.7;
    opacity: 0.9;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
    transition: var(--transition);
}

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

.contact-note {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 5px;
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
}

.location-map iframe {
    display: block;
}

.contact-cta {
    text-align: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        position: fixed !important;
        z-index: 1001 !important;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    html {
        font-size: 14px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-menu li {
        padding: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .logo-img {
        height: 40px;
    }

    .logo {
        font-size: 1.2rem;
    }

    /* Fix Contact Us button in mobile menu */
    .nav-menu .nav-link.btn-primary {
        background: transparent;
        color: var(--text-dark);
        border: none;
        padding: 8px 0;
        font-weight: 600;
    }

    .nav-menu .nav-link.btn-primary:hover {
        color: var(--primary-color);
        transform: none;
        box-shadow: none;
    }

    /* Fix hero background on mobile */
    .hero {
        background-attachment: scroll;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .pricing-header,
    .pricing-row {
        grid-template-columns: 1.5fr 0.75fr 0.75fr;
    }

    .pricing-cell {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .service-name {
        font-size: 0.85rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .cta-buttons,
    .booking-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .feature-card,
    .room-card,
    .contact-card,
    .hours-card {
        padding: 20px;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .pricing-header,
    .pricing-row {
        grid-template-columns: 1.5fr 0.75fr 0.75fr;
    }

    .pricing-cell {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .header-cell {
        font-size: 0.9rem;
    }

    .service-name {
        font-size: 0.85rem;
        padding: 12px 8px;
    }

    .pricing-table {
        overflow-x: auto;
    }
}
