/* ===================================
   SERVICES SECTION - EXACT MATCH FIX
   Hampton Venue - Precise Design Match
   =================================== */

/* Section Background & Layout */
#services {
    padding: 6rem 0;
    background: #faf7f2;
    position: relative;
}

/* Services Container */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Header */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C5A572;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1.75rem;
}

.services-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1.5rem;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: #C5A572;
}

.services-subtitle {
    font-size: 1.15rem;
    color: #4A4A4A;
    max-width: 700px;
    margin: 0.75rem auto 0;
    line-height: 1.6;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Service Card */
.service-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E8E0D3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Header Area */
.service-card-header {
    padding: 2.5rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Service card background colors */
.service-catering .service-card-header {
    background: #C5A572;
}

.service-weddings .service-card-header {
    background: #D4B68A;
}

.service-corporate .service-card-header {
    background: #3E2723;
}

.service-celebrations .service-card-header {
    background: #B76E79;
}

/* Service Badge */
.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FFFFFF;
    color: #1F1F1F;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Service Icon */
.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-catering .service-icon i {
    color: #C5A572;
}

.service-weddings .service-icon i {
    color: #D4B68A;
}

.service-corporate .service-icon i {
    color: #3E2723;
}

.service-celebrations .service-icon i {
    color: #B76E79;
}

.service-icon i {
    font-size: 2.5rem;
}

/* Card Content Area */
.service-card-body {
    padding: 1.75rem 1.5rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Service Title */
.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-align: center;
}

.service-catering .service-title {
    color: #C5A572;
}

.service-weddings .service-title {
    color: #D4B68A;
}

.service-corporate .service-title {
    color: #3E2723;
}

.service-celebrations .service-title {
    color: #B76E79;
}

/* Service Description */
.service-description {
    color: #4A4A4A;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
    flex-grow: 0;
}

/* Content wrapper to group title and description with consistent spacing */
.service-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
}

/* Set fixed height for card bodies */
.service-card-body {
    display: flex;
    flex-direction: column;
    min-height: 290px;
}

/* Divider Line */
.service-divider {
    height: 1px;
    background-color: #E8E0D3;
    margin: 1rem 0 1rem;
    width: 100%;
}

/* Feature List */
.service-features {
    margin-top: auto;
    padding-top: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #4A4A4A;
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F3EFE8;
    flex-shrink: 0;
    margin-top: 0.1rem;
    position: relative;
}

.feature-check i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    font-size: 9px;
    line-height: 1;
}

.service-catering .feature-check i {
    color: #C5A572;
}

.service-weddings .feature-check i {
    color: #D4B68A;
}

.service-corporate .feature-check i {
    color: #3E2723;
}

.service-celebrations .feature-check i {
    color: #B76E79;
}

/* Call to Action Button */
.service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0;
    white-space: nowrap;
    flex-shrink: 0;
    height: 45px;
}

.service-catering .service-cta {
    background: #C5A572;
}

.service-weddings .service-cta {
    background: #D4B68A;
}

.service-corporate .service-cta {
    background: #3E2723;
}

.service-celebrations .service-cta {
    background: #B76E79;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .services-title {
        font-size: 2.25rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-label {
        font-size: 0.75rem;
        padding: 0.5rem 1.25rem;
    }
    
    .services-title {
        font-size: 1.75rem;
    }
    
    .service-card-header {
        padding: 2rem 1rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
}
