/* Service Page Styles */

/* Ensure social links are visible and clickable */
.social-links a {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 999 !important;
    position: relative !important;
}

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #4A7C59 0%, #B2C7A8 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.service-hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.service-hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-hero-img:hover {
    transform: scale(1.05);
}

.service-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-short-desc {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Service Details Section */
.service-details {
    padding: 6rem 0;
    background: white;
}

.service-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-description {
    text-align: center;
    margin-bottom: 4rem;
}

.service-description h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.service-description p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Packages */
.service-packages {
    margin-bottom: 4rem;
}

.service-packages h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.package-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4A7C59;
}

.package-card.featured {
    /* Remove permanent styling - only selected packages should have special styling */
}

.package-card.selected {
    border-color: #4A7C59;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(74, 124, 89, 0.2);
}

/* Hide buttons by default, only show on selected package */
.package-card .btn {
    display: none;
    background: linear-gradient(45deg, #fbbf24, #f59e0b) !important;
    color: white !important;
    border: none !important;
}

.package-card .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3) !important;
}

.package-card.selected .btn {
    display: block;
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #4A7C59, #B2C7A8);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A7C59;
    margin-bottom: 2rem;
}

.package-price span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4A7C59;
    font-weight: bold;
}

/* Service CTA */
.service-cta {
    background: linear-gradient(135deg, #4A7C59, #B2C7A8);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.service-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Other Services Section */
.other-services {
    padding: 6rem 0;
    background: #f9fafb;
}

.other-services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-link {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #4b5563;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #4A7C59;
    color: #4A7C59;
}

.service-link i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: #4A7C59;
}

.service-link span {
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
    }

    .service-hero-img {
        max-width: 300px;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-short-desc {
        font-size: 1.1rem;
    }

    .service-icon-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: none;
    }

    .service-description h2,
    .service-packages h2,
    .other-services h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    .package-price {
        font-size: 2rem;
    }

    .service-cta {
        padding: 2rem;
    }
}

/* Package Selection Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.modal-header h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.package-summary {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4A7C59;
}

.package-summary h4 {
    color: #4A7C59;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.package-summary p {
    color: #6b7280;
    margin: 0.25rem 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form .form-group {
    margin-bottom: 0;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #4A7C59;
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-buttons .btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: #4A7C59;
    color: white;
}

.btn-confirm:hover {
    background: #3a6b4a;
    transform: translateY(-2px);
}

.btn-cancel {
    background: #6b7280;
    color: white;
}

.btn-cancel:hover {
    background: #4b5563;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message .success-icon {
    font-size: 3rem;
    color: #4A7C59;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}
