/* Hero Section */

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
    animation: slideInFromBottom 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.hero p {
    font-size: 1.2rem;
    color: var(--brand-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    animation: fadeInUp 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

.hero .luxury-subtitle {
    animation: fadeInDown 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.1s both;
    justify-content: center;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.hero-image {
    position: relative;
    z-index: 1;
    animation: fadeInRight 2s ease 1s backwards;
    overflow: hidden;
    border-radius: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    transition: transform 1.2s ease-in-out;
    transform: scale(1);
}

.hero-image:hover img {
    transform: scale(1.05);
}


@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design for index.php */

/* Tablet (iPad) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        min-height: 60vh; /* sam029     110vh;  /*110vh; 60vh; shows wide but shorter! */
        background-position: center top;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        max-width: 700px;
    }
}

/* Mobile (iPhone) */
@media (max-width: 768px) {

    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 4.5rem;
        background-position: center top;
        background-size: cover;
    }
    
    .hero-content {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .hero h1 {
        /* font-size: 1.8rem !important; */
        font-size: 3rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.5 !important;
    }
    
    .hero .luxury-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .treatments-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}