/* ===================================
   SERVICES SECTION - HOMEPAGE
   =================================== */

.services-section {
    padding: 100px 0;
    background: var(--kraft-white);
    position: relative;
    z-index: 2;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #10b981;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--kraft-black);
    margin: 0 0 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Service Card */
.service-card {
    background: var(--kraft-white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #10b981;
}

.service-card-inner {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Service Icon */
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: var(--kraft-white);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--kraft-white);
}

/* Service Content */
.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--kraft-black);
    margin: 0 0 15px;
    line-height: 1.3;
}

.service-excerpt {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0 0 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #10b981;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-link:hover {
    gap: 12px;
    color: #0d9668;
}

.service-link svg {
    transition: transform 0.2s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* View All Button */
.services-view-all {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    color: var(--kraft-white);
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5);
    gap: 15px;
}

.btn-view-all svg {
    transition: transform 0.2s ease;
}

.btn-view-all:hover svg {
    transform: translateX(4px);
}

/* ===================================
   SERVICE ARCHIVE PAGE
   =================================== */

.service-archive {
    background: #f8f9fa;
}

/* Archive Hero */
.archive-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    color: var(--kraft-white);
}

.archive-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.archive-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.archive-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--kraft-white);
    margin: 0 0 20px;
    line-height: 1.2;
}

.archive-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* Services Grid Section */
.services-grid-section {
    padding: 80px 0;
}

.services-grid-archive {
    grid-template-columns: repeat(3, 1fr);
}

.service-card-archive {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 20px;
}

.service-price .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.service-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-quick-quote {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--kraft-white);
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-quick-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-quick-quote .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Archive CTA */
.archive-cta {
    padding: 80px 0;
    background: var(--kraft-white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--kraft-black);
    margin: 0 0 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0 0 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    color: var(--kraft-white);
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5);
}

.btn-cta-secondary {
    color: #10b981;
    background: var(--kraft-white);
    border: 2px solid #2874fc;
}

.btn-cta-secondary:hover {
    color: var(--kraft-white);
    background: #10b981;
    transform: translateY(-2px);
}

/* ===================================
   SINGLE SERVICE PAGE
   =================================== */

.service-single {
    background: #f8f9fa;
}

/* Service Hero */
.service-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    color: var(--kraft-white);
}

.service-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-hero-icon .dashicons {
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: var(--kraft-white);
}

.service-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--kraft-white);
    margin: 0 0 25px;
    line-height: 1.2;
}

.service-hero-excerpt {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-hero-meta {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.service-meta-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.service-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-quote,
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-quote {
    color: #10b981;
    background: var(--kraft-white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-back {
    color: var(--kraft-white);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-quote .dashicons,
.btn-back .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Service Content Section */
.service-content-section {
    padding: 80px 0;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
}

/* Main Content */
.service-main-content {
    background: var(--kraft-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-featured-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.service-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-description {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.8;
}

.service-description h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--kraft-black);
    margin: 40px 0 20px 0;
}

.service-description h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--kraft-black);
    margin: 30px 0 15px 0;
}

.service-description ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-description li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Features Box */
.service-features-box {
    background: var(--kraft-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.features-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--kraft-black);
    margin: 0 0 20px;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #10b981;
}

.feature-item span {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* CTA Box */
.service-cta-box {
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    border-radius: 16px;
    padding: 30px;
    color: var(--kraft-white);
    text-align: center;
}

.cta-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--kraft-white);
    margin: 0 0 15px;
}

.cta-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 25px;
}

.btn-cta-quote {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #10b981;
    background: var(--kraft-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-cta-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta-quote .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Contact Box */
.service-contact-box {
    background: var(--kraft-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--kraft-black);
    margin: 0 0 20px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #10b981;
}

.contact-item a {
    font-size: 15px;
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #10b981;
}

/* Related Services */
.related-services {
    padding: 80px 0;
    background: var(--kraft-white);
}

.related-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--kraft-black);
    text-align: center;
    margin: 0 0 50px;
}

/* ===================================
   QUOTE MODAL
   =================================== */

.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.quote-modal-content {
    position: relative;
    background: var(--kraft-white);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.quote-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-modal-close:hover {
    background: var(--gray-300);
    transform: rotate(90deg);
}

.quote-modal-close .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--gray-700);
}

.quote-modal-header {
    margin-bottom: 30px;
}

.quote-modal-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--kraft-black);
    margin: 0 0 10px;
}

.quote-modal-service {
    font-size: 16px;
    font-weight: 600;
    color: #10b981;
    margin: 0;
}

/* Quote Form */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 15px;
    font-weight: 600;
    color: var(--kraft-black);
}

.required {
    color: #e74c3c;
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 14px 18px;
    font-size: 15px;
    color: var(--kraft-black);
    background: var(--kraft-white);
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(40, 116, 252, 0.1);
}

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

.quote-form-actions {
    margin-top: 10px;
}

.btn-submit-quote {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--kraft-white);
    background: linear-gradient(135deg, #0d9668 0%, #10b981 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-quote:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-submit-quote:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit-quote .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.rotating {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.quote-form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
}

.quote-form-message.success {
    color: #27ae60;
    background: #d5f4e6;
    border: 1px solid #27ae60;
}

.quote-form-message.error {
    color: #e74c3c;
    background: #fadbd8;
    border: 1px solid #e74c3c;
}

.loading {
    text-align: center;
    padding: 20px;
    color: var(--gray-600);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet (< 1024px) */
@media (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .section-title {
        font-size: 40px;
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-main-content {
        padding: 40px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .services-section {
        padding: 80px 0 60px;
        margin-top: 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-inner {
        padding: 30px 25px;
    }

    .service-title {
        font-size: 20px;
    }

    .archive-hero {
        padding: 60px 0 40px;
    }

    .archive-title {
        font-size: 36px;
    }

    .services-grid-archive {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
    }

    .service-hero {
        padding: 60px 0 50px;
    }

    .service-hero-title {
        font-size: 36px;
    }

    .service-hero-excerpt {
        font-size: 18px;
    }

    .service-hero-meta {
        flex-direction: column;
        gap: 15px;
    }

    .service-hero-actions {
        flex-direction: column;
    }

    .btn-quote,
    .btn-back {
        width: 100%;
        justify-content: center;
    }

    .service-content-section {
        padding: 60px 0;
    }

    .service-main-content {
        padding: 30px 20px;
    }

    .service-sidebar {
        grid-template-columns: 1fr;
    }

    .service-description h2 {
        font-size: 26px;
    }

    .service-description h3 {
        font-size: 20px;
    }

    .related-title {
        font-size: 28px;
    }

    .quote-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .quote-modal-title {
        font-size: 24px;
    }
}

