/*
 * CSS for house-removals-north-west.php page
 * Complete styling for content layout and mobile optimization
 */

/* Base Styles */
.house-moving-content {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.house-moving-content .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0;
    width: 100%;
}

/* Main Content */
.main-content {
    flex: 1 1 65%;
    min-width: 300px;
    padding: 0 15px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    margin-bottom: 20px;
}

.main-content h1 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid #ff6600;
    position: relative;
}

.main-content h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1e3c72;
}

/* H2 Styling - Major Sections */
.main-content h2 {
    font-size: 1.8rem;
    color: #ff6600;
    margin: 50px 0 25px 0;
    line-height: 1.3;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.main-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(135deg, #ff6600, #e55a00);
    border-radius: 2px;
}

/* H3 Styling - Subsections */
.main-content h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 35px 0 20px 0;
    line-height: 1.3;
    font-weight: 600;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #1e3c72;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-text {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
}

.content-text p {
    margin-bottom: 25px;
    text-align: justify;
}

.content-text p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-text strong {
    color: #ff6600;
    font-weight: 600;
}

.content-text ul {
    margin-bottom: 30px;
    padding-left: 0;
    list-style: none;
}

.content-text li {
    margin-bottom: 15px;
    line-height: 1.6;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #1e3c72;
    position: relative;
    transition: all 0.3s ease;
}

.content-text li:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.features-grid h4 {
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.features-grid p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

/* Sidebar */
.sidebar {
    flex: 1 1 300px;
    min-width: 300px;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-box {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-box::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.contact-box h3 {
    color: #ffffff;
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contact-box p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.contact-box a {
    display: block;
    background: #ff6600;
    color: white;
    padding: 16px 24px;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.contact-box a:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.contact-box a.btn-primary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-box a.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.service-areas {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.service-areas h3 {
    color: #1a1a1a;
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6600;
}

.service-areas ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-areas li {
    margin-bottom: 0;
    color: #444;
    font-size: 0.95rem;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 6px;
    border-left: 3px solid #1e3c72;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-areas li:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .house-moving-content {
        padding: 30px 0;
    }
    
    .content-grid {
        flex-direction: column;
        gap: 25px;
    }
    
    .main-content, .sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 30px 25px;
        margin: 0;
    }
    
    .main-content h1 {
        font-size: 2rem;
    }
    
    .main-content h2 {
        font-size: 1.6rem;
    }
    
    .main-content h3 {
        font-size: 1.3rem;
        padding: 12px 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-areas ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .house-moving-content {
        padding: 20px 0;
    }
    
    .house-moving-content .container {
        padding: 0 10px;
    }
    
    .content-grid {
        gap: 20px;
    }
    
    .main-content, .sidebar {
        padding: 25px 20px;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
        margin: 40px 0 20px 0;
    }
    
    .main-content h3 {
        font-size: 1.2rem;
        padding: 10px 15px;
    }
    
    .content-text p:first-of-type {
        padding: 15px;
        font-size: 1rem;
    }
    
    .contact-box, .service-areas {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .contact-box a {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .service-areas ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .house-moving-content {
        padding: 15px 0;
    }
    
    .house-moving-content .container {
        padding: 0 5px;
    }
    
    .main-content, .sidebar {
        padding: 20px 15px;
    }
    
    .main-content h1 {
        font-size: 1.6rem;
        padding: 0;
        margin-bottom: 25px;
    }
    
    .main-content h2 {
        font-size: 1.3rem;
        margin: 35px 0 15px 0;
        padding-left: 15px;
    }
    
    .main-content h3 {
        font-size: 1.1rem;
        padding: 8px 12px;
        margin: 25px 0 15px 0;
    }
    
    .content-text {
        font-size: 0.95rem;
    }
    
    .content-text p:first-of-type {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .service-areas ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .service-areas li {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .contact-box, .service-areas {
        margin: 15px 0;
        border-radius: 8px;
        padding: 20px 15px;
    }
    
    .contact-box a {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .features-grid {
        gap: 12px;
    }
}

/* Floating Mobile CTA Button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.floating-cta-button {
    background: linear-gradient(135deg, #ff6600, #e55a00);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.floating-cta-button:hover {
    background: linear-gradient(135deg, #e55a00, #cc4f00);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5);
    color: white;
    text-decoration: none;
}

.floating-cta-button i {
    font-size: 18px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 102, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    }
}

/* Show floating CTA on mobile devices */
@media (max-width: 768px) {
    .floating-cta {
        display: block;
    }
    
    .floating-cta-button {
        padding: 12px 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-cta-button {
        padding: 10px 16px;
        font-size: 14px;
    }
}
