/* Magpies Nest Panel & Paint - Page Styles */

/* Trust Badges */
.trust-badges {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

/* Services Preview Grid */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-preview-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(216, 67, 21, 0.15);
}

.service-preview-card i {
    font-size: 3rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 20px;
}

.service-preview-card h3 {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 15px;
}

.service-preview-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.badge {
    padding: 20px;
}

.badge-icon {
    font-size: 3rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 15px;
}

.badge h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2d2d2d;
}

.badge p {
    color: #666;
    font-size: 0.95rem;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background: #f9f9f9;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Introduction Section */
.intro-section {
    background: white;
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intro-section h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 25px;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* Services Grid */
.services-grid {
    margin-bottom: 60px;
}

.services-grid > h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 40px;
    text-align: center;
}

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

.services-grid > h2 {
    grid-column: 1 / -1;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(216, 67, 21, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #444;
    font-size: 1rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Why Choose Section */
.why-choose-section {
    background: white;
    padding: 60px 50px;
    border-radius: 10px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.why-choose-section h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 40px;
    text-align: center;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-item {
    padding: 20px;
}

.why-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.why-item p {
    color: #555;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    background: white;
    padding: 60px 50px;
    border-radius: 10px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.process-section h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 40px;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.4rem;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.step p {
    color: #555;
    line-height: 1.6;
}

/* Service Area Section */
.service-area-section {
    background: white;
    padding: 60px 50px;
    border-radius: 10px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-area-section h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 20px;
    text-align: center;
}

.service-area-section > p {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

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

.locations-grid ul {
    list-style: none;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.locations-grid ul li {
    padding: 8px 0;
    color: #444;
    font-size: 1.05rem;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 60px 50px;
    border-radius: 10px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-section h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 40px;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.4rem;
    color: #2d2d2d;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 5%;
    background: var(--primary-gradient);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

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

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Gallery Styles */
.gallery-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(216, 67, 21, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: white;
    font-size: 2rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item-content h3 {
    font-size: 1.2rem;
    color: #2d2d2d;
    margin-bottom: 5px;
}

.contact-item-content p,
.contact-item-content a {
    color: #555;
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form-container h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1.05rem;
    color: #2d2d2d;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-status {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-section,
    .service-card,
    .why-choose-section,
    .process-section,
    .service-area-section,
    .faq-section,
    .cta-section,
    .contact-info,
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-section .btn {
        width: 100%;
        text-align: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Promotional Modal */
.promo-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.promo-modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.promo-modal {
    background: var(--primary-gradient);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.5s ease-out;
    color: white;
}

.promo-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.promo-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.promo-modal-content {
    padding: 50px 40px 40px;
    text-align: center;
}

.arrow-down {
    display: none;
    font-size: 32px;
    margin-top: 10px;
    animation: bounce 2s ease-in-out infinite;
}

.promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    text-align: left;
}

@media (max-width: 768px) {
    .promo-modal {
        width: 95%;
        max-width: none;
    }

    .promo-modal-content {
        padding: 50px 25px 30px;
    }

    .promo-modal h2 {
        font-size: 32px !important;
    }

    .promo-modal p {
        font-size: 18px !important;
    }

    .arrow-right {
        display: none !important;
    }

    .arrow-down {
        display: block;
    }

    .promo-cards-grid {
        grid-template-columns: 1fr !important;
    }
}
