:root {
    --primary-color: #3a7ca5;
    --secondary-color: #5cb8b2;
    --light-color: #f0f7f4;
    --dark-color: #2f3e46;
    --text-color: #4a5759;
    --accent-color: #5cb8b2;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    transition: var(--transition);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--secondary-color);
}

.logo-icon {
    font-size: 28px;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), #4a9a96);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(92, 184, 178, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 184, 178, 0.6);
}

.cta-button:active {
    transform: translateY(1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(58, 124, 165, 0.08) 0%, rgba(92, 184, 178, 0.08) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(92,184,178,0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 24px;
    margin-top: 40px;
    padding: 0 10px;
}

.feature-item {
    background: white;
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(92, 184, 178, 0.15);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(92, 184, 178, 0.3);
}

.feature-icon {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-color);
    font-size: 15px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 36px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 280px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

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

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

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #4a9a96);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Description */
.description {
    background-color: var(--light-color);
    padding: 48px;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
}

.description h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 32px;
}

.description p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.7;
}

.highlight-box {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 64px;
    color: rgba(92, 184, 178, 0.2);
    line-height: 1;
}

.highlight-box p {
    font-style: italic;
    padding-left: 24px;
    position: relative;
    z-index: 2;
    font-size: 18px;
    line-height: 1.6;
}

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

.amenity-category {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.amenity-category h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.amenity-category ul {
    list-style: none;
}

.amenity-category li {
    padding: 8px 0 8px 32px;
    position: relative;
    font-size: 16px;
}

.amenity-category li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Conditions */
.conditions {
    background: white;
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}

.conditions h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 32px;
    font-size: 32px;
}

.conditions ul {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.conditions li {
    padding: 16px 0 16px 40px;
    position: relative;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
    font-size: 17px;
    transition: var(--transition);
}

.conditions li:last-child {
    border-bottom: none;
}

.conditions li:hover {
    padding-left: 44px;
    background: rgba(92, 184, 178, 0.03);
}

.conditions li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
    top: 16px;
}

/* Contact Block */
.contact-block {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5d83 100%);
    color: white;
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.contact-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 0;
}

.contact-block-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.contact-block h3 {
    margin-bottom: 24px;
    font-size: 32px;
}

.contact-block p {
    font-size: 19px;
    margin-bottom: 36px;
    opacity: 0.95;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 14px 32px;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    min-width: 240px;
}

.contact-link.phone {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.contact-link.mah {
    background: #5d4080;
    background: linear-gradient(135deg, #5d4080, #4a3366);
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-link:active {
    transform: translateY(1px);
}

/* Map */
.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 50px;
    box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: rgba(255,255,255,0.85);
    padding: 40px 0 30px;
    text-align: center;
    font-size: 16px;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 85vh;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 42px;
    font-weight: 300;
    transition: var(--transition);
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

.close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

#caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 18px;
    padding: 12px 30px;
    background: rgba(0,0,0,0.6);
    border-radius: 30px;
    max-width: 80%;
    z-index: 2001;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup.is-active {
    opacity: 1;
    pointer-events: all;
}

.popup__content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 650px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup.is-active .popup__content {
    transform: translateY(0);
}

.popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup__close:hover {
    color: var(--primary-color);
    background: rgba(58, 124, 165, 0.08);
    transform: rotate(90deg);
}

.popup-trigger {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition);
}

.popup-trigger:hover {
    color: white;
}

.popup h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 26px;
}

.popup p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.popup ul {
    padding-left: 24px;
    margin: 16px 0;
}

.popup li {
    margin-bottom: 8px;
}

.popup a {
    color: var(--primary-color);
    text-decoration: none;
}

.popup a:hover {
    text-decoration: underline;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .description, .conditions, .contact-block {
        padding: 40px 30px;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 14px 0;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 34px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .feature-item {
        padding: 24px 16px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .description, .conditions {
        padding: 32px 24px;
    }
    
    .contact-block {
        padding: 40px 24px;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 380px;
        justify-content: center;
    }
    
    .map-container {
        height: 300px;
    }
    
    footer {
        padding: 30px 0 25px;
    }
    
    .popup__content {
        padding: 30px 25px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 17px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .features {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .amenities {
        grid-template-columns: 1fr;
    }
    
    .contact-block h3 {
        font-size: 26px;
    }
    
    .contact-block p {
        font-size: 17px;
    }
    
    .close {
        top: 15px;
        right: 20px;
        font-size: 36px;
    }
    
    #caption {
        font-size: 16px;
        bottom: 20px;
        padding: 10px 24px;
    }
    
    .popup__content {
        padding: 28px 20px;
        border-radius: 16px;
    }
    
    .popup__close {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
}