/* ========================================
   Modern Services Section - 2026 Design Standards
   Premium aesthetic with glassmorphism, gradients & animations
   v3.0 - Image Based Cards + Large Mobile Fonts
   ======================================== */

/* Section Container */
.services-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(31, 109, 102, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.services-section .container {
    position: relative;
    z-index: 1;
}

/* Section Title */
.services-section h2 {
    font-weight: 800;
    text-align: center;
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 48px);
    background: linear-gradient(135deg, #1a3a1a 0%, #1b5e20 50%, #2e7d32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.badge-services {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #198754;
    background-color: #d1e7dd;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Subtitle */
.services-section .sub {
    color: #546e7a;
    text-align: center;
    margin: 0 auto 60px;
    font-size: clamp(16px, 2vw, 18px);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Service Card - Glassmorphism Design */
.service-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Removing padding for edge-to-edge image */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1a1a1a;
    text-decoration: none;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(27, 94, 32, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(27, 94, 32, 0.3);
}

/* Image Wrapper */
.service-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    transform: scale(1.08);
    /* slight zoom to hide watermark */
}

.service-card:hover .service-img {
    transform: scale(1.15);
    /* increased hover zoom */
}

/* Content Container */
.service-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Card Title */
.service-card h3 {
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 700;
    color: #1a3a1a;
    line-height: 1.3;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-card:hover h3 {
    color: #1b5e20;
}

/* Card Description */
.service-card p {
    color: #455a64;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    flex-grow: 1;
}

/* Card Meta Info */
.service-card small {
    color: #78909c;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Add checkmark icon before small text */
.service-card small::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .services-section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 640px) {
    .services-section {
        padding: 60px 0;
    }

    /* Increased readability for mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        /* Increased gap */
        padding: 0 20px;
    }

    .service-card {
        border-radius: 20px;
    }

    .service-img-wrapper {
        height: 240px;
        /* Larger image on mobile */
    }

    .service-content {
        padding: 24px;
    }

    .service-card h3 {
        font-size: 24px;
        /* Scaled up font */
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 18px;
        /* Scaled up font */
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .service-card small {
        font-size: 15px;
        /* Scaled up font */
    }

    .services-section h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .services-section .sub {
        font-size: 18px;
        margin-bottom: 40px;
    }
}

/* Extra Small Devices */
@media (max-width: 380px) {
    .service-img-wrapper {
        height: 200px;
    }

    .service-card h3 {
        font-size: 18px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .service-card p {
        font-size: 16px;
    }
}

/* ========================================
   Safari Experiences Section - Alternating Layout
   ======================================== */

.safari-experiences-section {
    background-color: #f9fdf9;
    overflow: hidden;
}

.safari-row {
    display: flex;
    margin-bottom: 80px;
    gap: 60px;
}

.safari-row:last-child {
    margin-bottom: 0;
}

/* Reverse layout for alternating design */
.safari-row.reverse-layout {
    flex-direction: row-reverse;
}

.safari-content-col,
.safari-image-col {
    flex: 1;
}

/* Image Wrapper Styling */
.safari-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.safari-image-wrapper:hover {
    transform: translateY(-10px);
}

.safari-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.8s ease;
    transform: scale(1.08);
    /* slight zoom to hide watermark */
}

.safari-image-wrapper:hover .safari-img {
    transform: scale(1.15);
    /* increased hover zoom */
}

.safari-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    color: #1b5e20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* Content Styling */
.safari-content {
    padding: 20px;
}

.safari-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.safari-tag.type-night {
    background: #e3f2fd;
    color: #1565c0;
}

.safari-tag.type-forest {
    background: #efebe9;
    color: #5d4037;
}

.safari-content h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.2;
}

.safari-desc {
    color: #555;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.safari-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.safari-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.safari-features li i {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 991px) {

    .safari-row,
    .safari-row.reverse-layout {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }

    /* We want Image First, then Content. */
    .safari-image-col {
        order: 1;
    }

    .safari-content-col {
        order: 2;
    }

    .safari-content h3 {
        font-size: 28px;
    }

    .safari-desc {
        font-size: 16px;
    }
}

/* ========================================
   Trekking & Hiking Section
   ======================================== */
.trek-image-wrapper {
    overflow: hidden;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trek-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    transform: scale(1.12);
    /* Increased zoom as requested */
}

.trek-article:hover .trek-image-wrapper img {
    transform: scale(1.18);
}