/* Services Page Styles - Premium Site Design */

/* Banner (Adapted from About Page Premium Banner) */
.services-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-image: url('images/hero-bg.png'); /* Change to appropriate background */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    margin-top: 80px;
    display: flex;
    align-items: center;
}

.services-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(123, 17, 19, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.banner-content-modern {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.banner-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.banner-title-modern {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* What We Offer */
.offer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.offer-image-wrapper {
    position: relative;
}

.offer-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 12px;
    z-index: 0;
}

.offer-main-img {
    width: 100%;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.offer-category {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.offer-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent);
}

.offer-category h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-category h3 i {
    color: var(--accent);
    font-size: 1.2rem;
}

.offer-category ul {
    list-style: none;
    padding: 0;
}

.offer-category ul li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.offer-category ul li::before {
    content: "\f00c"; /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 3px;
}

/* Service Highlights */
.highlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-row.reverse {
    direction: rtl;
}

.highlight-row.reverse > * {
    direction: ltr;
}

.highlight-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.highlight-feature {
    display: flex;
    gap: 15px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin-bottom: 20px;
}

.highlight-feature i {
    font-size: 2rem;
    color: var(--primary);
}

.highlight-feature strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.highlight-feature p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-frame img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.image-frame:hover img {
    transform: scale(1.03);
}

/* Utilities */
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 4rem; }

/* Inline CTA Form */
.cta-form-container {
    width: 100%;
    max-width: 500px;
}

.cta-inline-form {
    display: flex;
    gap: 10px;
}

.cta-inline-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.cta-inline-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .offer-container, .highlight-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .offer-image-wrapper::after {
        display: none;
    }
    
    .highlight-row.reverse {
        direction: ltr;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .cta-inline-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
    .banner-title-modern {
        font-size: 2.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    text-decoration: none;
}

.modal-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.modal-feature {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-top: 3px solid var(--accent);
}

.modal-feature h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-feature h4 i {
    color: var(--accent);
    font-size: 1.2rem;
}

.modal-feature p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 30px 20px;
    }
}

.modal-content-wide {
    max-width: 1400px;
}

.modal-body-4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .modal-body-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}
