/* Main Grid Layout */
.esp-services-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.esp-columns-1 { grid-template-columns: repeat(1, 1fr); }
.esp-columns-2 { grid-template-columns: repeat(2, 1fr); }
.esp-columns-3 { grid-template-columns: repeat(3, 1fr); }
.esp-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Service Card Styles */
.esp-service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
}

.esp-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.esp-service-icon-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.esp-service-icon-container i {
    font-size: 50px;
    color: #f27a21;
}

.esp-service-icon-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.esp-service-title {
    margin: 0 0 15px;
    font-size: 1.4em;
    color: #333;
}

.esp-service-excerpt {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.6;
}

/* Button Styles */
.esp-service-buttons {
    display: flex;
    gap: 10px;
}

.esp-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.esp-get-offer {
    background: #f27a21;
    color: white;
    border: 2px solid #000;
}

.esp-get-offer:hover {
    background: #e06c17;
    border-color: #000;
}

.esp-view-more {
    background: transparent;
    color: #f27a21;
    border: 2px solid #000;
    cursor: pointer;
}

.esp-view-more:hover {
    background: #f27a21;
    color: white;
    border-color: #000;
}

/* Modal Styles */
.esp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    overflow-y: auto;
}

.esp-modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.esp-close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.esp-close-modal:hover {
    color: #333;
}

.esp-service-details {
    line-height: 1.6;
}

.esp-service-details h2 {
    margin-top: 0;
    color: #333;
}

.esp-service-content {
    margin-bottom: 30px;
}

/* Pricing Plans */
.esp-pricing-plans {
    margin: 30px 0;
}

.esp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.esp-pricing-plan {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}

.esp-plan-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #f27a21;
    margin: 10px 0;
}

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

.esp-plan-features li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.esp-plan-features li:before {
    content: "•";
    color: #f27a21;
    position: absolute;
    left: 0;
}

/* FAQ Styles */
.esp-service-faqs {
    margin: 30px 0;
}

.esp-faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.esp-faq-question {
    color: #333;
    margin-bottom: 10px;
}

.esp-faq-answer {
    color: #555;
}

/* Gallery Styles */
.esp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.esp-gallery-item {
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.esp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.esp-gallery-item img:hover {
    transform: scale(1.05);
}

.esp-modal-footer {
    margin-top: 30px;
    text-align: center;
}

/* Lightbox Styles */
.esp-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esp-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.esp-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.esp-close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .esp-columns-3, .esp-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .esp-pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .esp-columns-2, .esp-columns-3, .esp-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .esp-service-buttons {
        flex-direction: column;
    }
}