/* Pet Hotel Hero Section */
.hotel-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    margin-top: 0;
    padding-top: var(--header-height, 80px);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/static/websiteapp/images/daycare.jpeg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 0;
}

@media (min-width: 1440px) {
    .hotel-hero {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1920px) {
    .hotel-hero {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.hotel-hero-content {
    max-width: 800px;
    text-align: center;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

@media (min-width: 1440px) {
    .hotel-hero-content {
        max-width: 1000px;
    }
}

@media (min-width: 1920px) {
    .hotel-hero-content {
        max-width: 1200px;
    }
}

.hotel-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.hotel-hero p {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.5);
}

/* Hotel Section */
.hotel-section {
    padding: 4rem 2rem;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.hotel-section:nth-child(even) {
    background-color: #f8f8f8;
}

.hotel-section:nth-child(odd) {
    background-color: #ffffff;
}

.hotel-section-title {
    max-width: 100%;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c2c2c;
    position: relative;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    width: 100%;
}

@media (min-width: 1440px) {
    .hotel-section-title {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1920px) {
    .hotel-section-title {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.hotel-section-title.animated {
    opacity: 1;
    transform: translateY(0);
}

.hotel-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2F7F7A, #5FA5A0);
    border-radius: 2px;
}

.hotel-section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-height: 500px;
    width: 100%;
    padding: 0 2rem;
}

@media (min-width: 1440px) {
    .hotel-section-container {
        max-width: 1400px;
        gap: 5rem;
        padding: 0 3rem;
    }
}

@media (min-width: 1920px) {
    .hotel-section-container {
        max-width: 1600px;
        gap: 6rem;
        padding: 0 4rem;
    }
}

.hotel-section-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    order: 1;
}

.hotel-section-content.animated {
    opacity: 1;
    transform: translateX(0);
}

.hotel-section-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.hotel-section-text p {
    margin-bottom: 1.5rem;
}

.hotel-section-text p:last-child {
    margin-bottom: 0;
}

.hotel-section-text strong {
    color: #2c2c2c;
    font-weight: 600;
}

/* Image Styles */
.hotel-section-image {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    order: 2;
}

.hotel-section-image.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Flip order for Daycare section */
#daycare .hotel-section-content {
    order: 2;
    transform: translateX(30px);
}

#daycare .hotel-section-content.animated {
    transform: translateX(0);
}

#daycare .hotel-section-image {
    order: 1;
    transform: translateX(-30px);
}

#daycare .hotel-section-image.animated {
    transform: translateX(0);
}

.hotel-image-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background-color: #ffffff;
    aspect-ratio: 4 / 3;
}

.hotel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hotel-hero {
        height: 50vh;
        min-height: 350px;
    }

    .hotel-hero h1 {
        font-size: 2.5rem;
    }

    .hotel-section-container {
        gap: 3rem;
    }

    .hotel-section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hotel-hero {
        height: 45vh;
        min-height: 300px;
        padding-top: var(--header-height, 70px);
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hotel-hero h1 {
        font-size: 2rem;
    }

    .hotel-hero p {
        font-size: 1rem;
    }

    .hotel-section {
        padding: 3rem 1.5rem;
    }

    .hotel-section-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }

    .hotel-section-content {
        transform: translateY(30px) !important;
    }

    .hotel-section:nth-child(even) .hotel-section-content {
        transform: translateY(30px) !important;
    }

    .hotel-section-content.animated {
        transform: translateY(0) !important;
    }

    .hotel-section-image {
        transform: translateY(30px) !important;
        order: -1;
    }

    .hotel-section:nth-child(even) .hotel-section-image {
        transform: translateY(30px) !important;
    }

    .hotel-section-image.animated {
        transform: translateY(0) !important;
    }

    .hotel-section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hotel-section-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hotel-hero {
        height: 40vh;
        min-height: 250px;
        padding-top: var(--header-height, 60px);
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hotel-hero h1 {
        font-size: 1.75rem;
    }

    .hotel-hero p {
        font-size: 0.95rem;
    }

    .hotel-section {
        padding: 2.5rem 1rem;
    }

    .hotel-section-container {
        gap: 2rem;
    }

    .hotel-section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hotel-section-text {
        font-size: 0.95rem;
    }

    .hotel-section-text p {
        margin-bottom: 1.25rem;
    }
}

