/* =========================================
   PREMIUM AMENITIES SECTION - SOFT & ELEGANT
   ========================================= */

/* Ensure the row is properly centered */
.gt-service-section .row {
    justify-content: center;
    align-items: stretch;
    margin-bottom: 40px;
}

/* Enhanced Service Box Styling - Soft & Minimal */
.service-box-items {
    position: relative;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Subtle Hover Overlay */
.service-box-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0ea 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border: none;
}

.service-box-items:hover::before {
    opacity: 1;
    border: none;
    visibility: visible;
}

/* Remove hover border lines from main.css */
.service-box-items::after {
    display: none !important;
}

/* Content stays above overlay */
.service-box-items .icon,
.service-box-items h4 {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Icon Styling - Soft Gradients */
.service-box-items .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5efe7 0%, #ede4d8 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(170, 132, 83, 0.12);
}

.service-box-items .icon i {
    font-size: 36px;
    color: #AA8453;
    transition: all 0.3s ease;
}

/* Gentle Hover Effects */
.service-box-items:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: none;
}

.service-box-items:hover .icon {
    background: linear-gradient(135deg, #e8dcc8 0%, #d4c4ad 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(170, 132, 83, 0.18);
}

.service-box-items:hover .icon i {
    color: #8B6F47;
    transform: scale(1.05);
}

.service-box-items:hover h4 {
    color: #8B6F47;
}

/* Title Styling */
.service-box-items h4 {
    font-size: 18px;
    font-weight: 500;
    color: #2a2a2a;
    margin: 0;
    font-family: 'Gilda Display', serif;
    letter-spacing: 0.3px;
}

/* Floating Animation */
@keyframes float-up-down {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Add stagger animation to each card */
.service-box-items {
    animation: fadeInUp 0.6s ease-out both;
}

/* Individual delay handled by wow.js */
.service-box-items:nth-child(1) {
    animation-delay: 0s;
}

.service-box-items:nth-child(2) {
    animation-delay: 0.1s;
}

.service-box-items:nth-child(3) {
    animation-delay: 0.2s;
}

.service-box-items:nth-child(4) {
    animation-delay: 0.3s;
}

.service-box-items:nth-child(5) {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 1399px) {
    .service-box-items {
        padding: 35px 15px;
    }

    .service-box-items .icon {
        width: 70px;
        height: 70px;
    }

    .service-box-items .icon i {
        font-size: 32px;
    }

    .service-box-items h4 {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .service-box-items {
        padding: 30px 15px;
        border: none;
        box-shadow: none;
    }

    .service-box-items:hover {
        border-color: transparent;
    }

    .service-box-items .icon {
        width: 65px;
        height: 65px;
    }

    .service-box-items .icon i {
        font-size: 28px;
    }

    /* Force all 5 cards in one row on tablet */
    .gt-service-section .row {
        flex-wrap: nowrap;
    }

    .gt-service-section .row>[class*="col-"] {
        flex: 1 1 0;
        max-width: 20%;
        width: 20%;
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (max-width: 767px) {
    .service-box-items {
        padding: 25px 10px;
    }

    .service-box-items .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .service-box-items .icon i {
        font-size: 24px;
    }

    .service-box-items h4 {
        font-size: 14px;
    }

    /* 2 columns on mobile */
    .gt-service-section .row {
        flex-wrap: wrap;
    }

    .gt-service-section .row>[class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .service-box-items,
    .service-box-items .icon,
    .service-box-items .icon i {
        animation: none;
        transition: none;
    }

    .service-box-items:hover {
        transform: none;
    }
}