/* ===================================
   SERVICE CARDS REDESIGN - WHAT WE OFFER SECTION
   Hampton Venue Website - Modern Enhancement
   =================================== */

/* Service Section Enhancement */
#services {
    padding: 6rem 0;
    position: relative;
}

/* Target the services section container directly without needing a class */
#services > .container {
    position: relative;
    z-index: 2;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, rgba(245, 243, 239, 0.8), transparent);
    z-index: 1;
}

/* Enhanced Grid Layout */
#services .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 3;
}

@media (max-width: 1024px) {
    #services .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #services .grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card Redesign - Modern & Professional */
.service-card-enhanced {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(197, 165, 114, 0.08);
    padding: 2.75rem 2rem 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px; /* Fixed height for all service cards */
    isolation: isolate;
    border: none;
}

/* Subtle gradient background effect */
.service-card-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(245, 243, 239, 0.5) 100%);
    z-index: -1;
}

/* Top colored border accent */
.service-card-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color, #C5A572), var(--accent-color-secondary, #D4B68A));
    opacity: 0.85;
    transition: height 0.3s ease, opacity 0.3s ease;
}

/* Card hover effects */
.service-card-enhanced:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(197, 165, 114, 0.15);
}

.service-card-enhanced:hover::after {
    height: 8px;
    opacity: 1;
}

/* Icon enhancements */
.service-icon-enhanced {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    margin: 0 auto 1.75rem;
    background: var(--accent-color, #C5A572);
    box-shadow: 0 10px 25px rgba(var(--accent-color-rgb, 197, 165, 114), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

/* Icon glow effect */
.service-icon-enhanced::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: var(--accent-color, #C5A572);
    border-radius: 24px;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.service-card-enhanced:hover .service-icon-enhanced {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 35px rgba(var(--accent-color-rgb, 197, 165, 114), 0.4);
}

.service-card-enhanced:hover .service-icon-enhanced::after {
    opacity: 0.4;
}

.service-icon-enhanced i {
    font-size: 2.5rem;
    color: #FFFFFF;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Service Badge Redesign */
.service-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, var(--accent-color, #C5A572), var(--accent-color-secondary, #D4B68A));
    color: #FFFFFF;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb, 197, 165, 114), 0.3);
    text-transform: uppercase;
}

/* Card Content Styling */
.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: #4A4A4A;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Feature list styling */
.service-features {
    margin-top: auto;
    padding-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4A4A4A;
    font-size: 0.95rem;
}

.service-feature-item i,
.service-feature-item .feature-icon {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--accent-color, #C5A572), var(--accent-color-secondary, #D4B68A));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-feature-item i::before,
.service-feature-item .feature-icon::before {
    font-size: 0.7rem;
    color: #FFFFFF;
}

/* CTA Button redesign */
.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color, #C5A572), var(--accent-color-secondary, #D4B68A));
    color: #FFFFFF;
    padding: 0.9rem 0;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1.75rem;
    position: relative;
    overflow: hidden;
}

/* Button shine effect */
.service-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3.5s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-enhanced:hover .service-cta::after {
    opacity: 1;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.service-cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-cta:hover {
    background: linear-gradient(135deg, var(--accent-color-secondary, #D4B68A), var(--accent-color, #C5A572));
    box-shadow: 0 10px 25px rgba(var(--accent-color-rgb, 197, 165, 114), 0.35);
}

.service-cta:hover i {
    transform: translateX(3px);
}

/* Featured Service Enhancement */
.service-featured {
    border: none;
    position: relative;
}

.service-featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(145deg, var(--accent-color, #C5A572), var(--accent-color-secondary, #D4B68A));
    border-radius: 25px;
    z-index: -2;
    opacity: 0.15;
}

/* Card color variants */
.service-catering {
    --accent-color: #C5A572;
    --accent-color-secondary: #D4B68A;
    --accent-color-rgb: 197, 165, 114;
}

.service-weddings {
    --accent-color: #D4B68A;
    --accent-color-secondary: #E8D4A8;
    --accent-color-rgb: 212, 182, 138;
}

.service-corporate {
    --accent-color: #3E2723;
    --accent-color-secondary: #5D4037;
    --accent-color-rgb: 62, 39, 35;
}

.service-celebrations {
    --accent-color: #B76E79;
    --accent-color-secondary: #C48490;
    --accent-color-rgb: 183, 110, 121;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card-enhanced {
        height: 500px; /* Adjusted height for tablets */
        padding: 2.25rem 1.5rem 1.5rem;
    }
    
    .service-icon-enhanced {
        width: 75px;
        height: 75px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon-enhanced i {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .service-card-enhanced {
        height: auto; /* Auto height for mobile */
        padding: 2rem 1.25rem 1.5rem;
    }
    
    .service-icon-enhanced {
        width: 65px;
        height: 65px;
    }
    
    .service-icon-enhanced i {
        font-size: 1.75rem;
    }
    
    .service-badge {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}
