/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e6b96;
    --secondary-color: #48a9a6;
    --accent-color: #e76f51;
    --text-dark: #2b2d42;
    --text-light: #edf2f4;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-top {
    background-color: var(--primary-color);
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.logo-image {
    height: 60px;
    width: auto;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.header-top .contact-item {
    font-size: 1.05rem;
}

.header-top .contact-item a {
    font-size: 1.05rem;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.icon {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-links a.social-fb:hover {
    background-color: #1877f2;
}

.social-links a.social-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Navigation */
nav {
    background-color: var(--background-white);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-menu li a {
    display: block;
    padding: 18px 35px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.nav-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 180px 20px;
    text-align: center;
    position: relative;
    transition: background-image 1s ease-in-out;
    min-height: 500px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 300;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #d55d3e;
    transform: translateY(-2px);
}

.btn-gallery {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: auto;
    width: 100%;
}

.btn-gallery:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 60px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 700;
}

/* About Section */
.about {
    background-color: var(--background-light);
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

/* Rooms Section */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.room-card {
    background-color: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.room-image {
    width: 100%;
    height: 220px;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder for missing images */
.room-image:empty::before {
    content: '🏠';
    font-size: 4rem;
}

.room-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    min-height: 3.6rem;
    line-height: 1.3;
}

.room-content p {
    margin-bottom: 15px;
    color: #6c757d;
}

.room-features {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.room-features li {
    padding: 6px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.room-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Amenities Section */
.amenities {
    background-color: var(--background-light);
}

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

.amenity-card {
    background-color: var(--background-white);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

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

.amenity-card p {
    color: #6c757d;
    line-height: 1.7;
}

/* Pricing Section */
.pricing-info {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-note {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #6c757d;
}

.pricing-table {
    background-color: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

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

.price-item {
    font-size: 1.1rem;
    color: var(--text-dark);
}

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

.pricing-contact {
    text-align: center;
    margin-top: 30px;
    font-size: 1.05rem;
    color: #6c757d;
}

/* Therapy Section */
.therapy {
    background-color: var(--background-light);
    padding: 60px 20px;
}

.therapy-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.therapy-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

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

.therapy-card {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.therapy-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.therapy-card p {
    color: #6c757d;
    line-height: 1.7;
}

.therapy-contact {
    text-align: center;
    margin-top: 40px;
}

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

/* Gallery Section */
.gallery-section {
    background-color: var(--background-white);
    text-align: center;
    padding: 80px 20px;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 40px;
}

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

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover {
    color: #ccc;
}

.modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.modal-body img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-nav {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 1001;
}

.modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.modal-nav.prev {
    left: 0;
}

.modal-nav.next {
    right: 0;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.2s;
}

.modal-thumbnails img:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.modal-thumbnails img.active {
    border-color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-details h3,
.contact-form-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-details .icon {
    font-size: 1.5rem;
    color: var(--text-dark);
    line-height: 1;
}

.contact-details p {
    margin: 0;
    color: var(--text-dark);
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-social {
    display: block;
}

.social-links-large {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.social-link-item:hover {
    color: var(--primary-color);
}

.social-link-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-form-info p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 30px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 120px 20px;
        min-height: 400px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    /* Compact mobile header */
    .header-top {
        padding: 10px 0;
    }

    .header-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

    /* Logo takes full width on top */
    .logo {
        flex: 0 0 auto;
        order: 1;
    }

    .logo-image {
        height: 28px;
    }

    /* Contact info wraps to second row */
    .contact-info {
        flex: 1 1 100%;
        order: 2;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

    /* Social links on left side */
    .social-links {
        display: flex;
        gap: 6px;
        order: 1;
    }

    .social-links a {
        width: 26px;
        height: 26px;
    }

    .social-links svg {
        width: 13px;
        height: 13px;
    }

    /* Email and phone on right, stacked vertically */
    .header-top .contact-item:nth-child(1),
    .header-top .contact-item:nth-child(2) {
        order: 2;
        font-size: 0.7rem;
        gap: 3px;
    }

    .header-top .contact-item:nth-child(1) a,
    .header-top .contact-item:nth-child(2) a {
        font-size: 0.7rem;
    }

    .header-top .contact-item:nth-child(1) .icon,
    .header-top .contact-item:nth-child(2) .icon {
        font-size: 0.85rem;
    }

    /* Social links container (3rd child) on left */
    .header-top .contact-item:nth-child(3) {
        order: 1;
    }

    /* Compact navigation */
    nav {
        padding: 5px 0;
    }

    .nav-menu {
        gap: 3px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li a {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .price-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

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

    .nav-menu li a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .header-top .contact-item {
        font-size: 0.9rem;
    }

    .header-top .contact-item a {
        font-size: 0.9rem;
    }

    .logo-image {
        height: 45px;
    }
}
