/* Homepage Enhancement Styles for 368花園 */

/* ========== Hero Section Improvements ========== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

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

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

.hero-text {
    padding: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
    font-style: italic;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    font-weight: 300;
}

/* ========== Enhanced Booking Form ========== */
.booking-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInRight 1s ease-out 0.3s both;
}

.booking-form h3 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.booking-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.booking-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.booking-form button:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

/* ========== Section Title Enhancements ========== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title span {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title h2 {
    color: #2c3e50;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* ========== About Section Improvements ========== */
.aboutus-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.about-text p.f-para {
    font-size: 16px;
    line-height: 1.8;
    color: #5a6c7d;
    text-align: justify;
    margin-bottom: 25px;
}

.about-pic img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.about-pic img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.bd-pic img {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* ========== Services Section Improvements ========== */
.services-section {
    background: #ffffff;
    padding: 80px 0;
}

.service-item {
    text-align: center;
    padding: 40px 25px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-item i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.1);
    color: #764ba2;
}

.service-item h4 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-item p {
    color: #5a6c7d;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Scroll Animations ========== */
.section-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Hero Slider Enhancements ========== */
.hero-slider .hs-item {
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.hero-slider .hs-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    z-index: 1;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .hero-text {
        padding: 40px 0;
        text-align: center;
    }

    .hero-text p {
        font-size: 16px;
    }

    .booking-form {
        margin-top: 30px;
        padding: 30px 20px;
    }

    .booking-form h3 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .service-item {
        margin-bottom: 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .booking-form button {
        padding: 15px 30px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

/* ========== Additional Visual Enhancements ========== */
.container {
    position: relative;
}

/* Floating elements */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced shadows and depth */
.depth-shadow {
    box-shadow:
        0 1px 3px rgba(0,0,0,0.12),
        0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.depth-shadow:hover {
    box-shadow:
        0 14px 28px rgba(0,0,0,0.25),
        0 10px 10px rgba(0,0,0,0.22);
}