/* * SA Coating - HOME PAGE SPECIFIC STYLES
 * Focus: Animations, Gradients, Interactivity
 * Note: Depends on base styles in style.css
 */

/* --- 1. HERO SECTION & ANIMATION --- */
.hero-section {
    background-color: #0f1115;
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Mesh Background Animation */
.hero-mesh-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#2a2d35 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
    animation: panBackground 60s linear infinite;
}
@keyframes panBackground { from { background-position: 0 0; } to { background-position: 100% 100%; } }

.hero-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,174,239,0.05) 0%, transparent 50%);
    pointer-events: none; z-index: 0;
}

/* Hero Typography */
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 50px;
    background: rgba(0, 174, 239, 0.1); border: 1px solid rgba(0, 174, 239, 0.3);
    color: var(--primary); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
}
.pulse-dot {
    width: 8px; height: 8px; background: var(--primary); border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 174, 239, 0.4);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem; font-weight: 900; color: white; line-height: 1.1; letter-spacing: -1px;
}
@media (min-width: 992px) { .hero-title { font-size: 4.5rem; } }

.text-stroke {
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}
.text-gradient {
    background: linear-gradient(90deg, #00aeef, #ed1c24);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc {
    font-size: 1.1rem; color: #a0aec0; max-width: 550px; line-height: 1.7;
}

/* Stats in Hero */
.hero-metrics { margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.metric-item { text-align: left; }
.metric-val { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.metric-label { font-size: 0.75rem; text-transform: uppercase; color: #6c757d; font-weight: 700; letter-spacing: 1px; }

/* NOTE: Form styles removed (Moved to assets/css/estimate-form.css) */

/* --- 3. SERVICES INTERACTIVE GRID --- */
.services-grid-interactive {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.svc-card {
    background: white; border: 1px solid #eee; padding: 40px 30px;
    position: relative; overflow: hidden; transition: 0.4s ease;
    border-radius: 8px;
    display: flex; flex-direction: column;
}
.svc-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.svc-bg-hover {
    position: absolute; top: 0; right: 0; width: 0%; height: 100%;
    background: var(--dark); z-index: 1; transition: 0.4s ease;
}
.svc-card:hover .svc-bg-hover { width: 100%; left: 0; }
.svc-card:hover .svc-title, .svc-card:hover .svc-desc { color: white; }
.svc-card:hover .svc-icon-box i { color: white; transform: scale(1.1); }
.svc-card:hover .svc-link { color: white; }

.svc-icon-box i { font-size: 3rem; transition: 0.4s; }
.svc-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; color: var(--dark); transition: 0.4s; }
.svc-desc { color: #666; margin-bottom: 25px; transition: 0.4s; flex-grow: 1; }
.svc-link { 
    font-weight: 700; text-transform: uppercase; font-size: 0.85rem; 
    color: var(--dark); transition: 0.4s; display: inline-flex; align-items: center; gap: 5px; 
}

/* Color Variances for Services */
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-accent { background: var(--accent); }
.bg-highlight { background: var(--highlight); }

/* --- 4. WHY US GRID --- */
.features-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.feature-box {
    background: #fff; padding: 30px; border: 1px solid #eee;
    border-radius: 8px; transition: 0.3s;
}
.feature-box:hover {
    transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.border-primary-hover:hover { border-color: var(--primary); }
.border-secondary-hover:hover { border-color: var(--secondary); }
.border-accent-hover:hover { border-color: var(--accent); }
.border-highlight-hover:hover { border-color: var(--highlight); }

.fb-icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-box h4 { font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }

/* --- 5. PARTNERS & STATS --- */
.partner-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 50px; opacity: 0.7;
}
.partner-logo img { height: 45px; filter: grayscale(100%); transition: 0.4s; }
.partner-logo:hover img { filter: grayscale(0%); transform: scale(1.1); }

.stats-section {
    padding: 80px 0;
    background-color: var(--dark); position: relative;
    color: white;
}
.stats-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.8); z-index: 0; }
.stat-circle {
    width: 120px; height: 120px; border: 3px solid;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 2.5rem; font-weight: 800;
    transition: 0.3s;
}
/* Stat Colors */
.border-primary { border-color: var(--primary); }
.border-secondary { border-color: var(--secondary); }
.border-accent { border-color: var(--accent); }
.border-highlight { border-color: var(--highlight); }

/* --- 6. ACCORDION (FAQ) --- */
.goat-accordion .ac-item {
    background: white; border: 1px solid #eee; margin-bottom: 10px; border-radius: 6px; overflow: hidden;
}
.ac-header {
    width: 100%; padding: 20px; text-align: left; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    font-weight: 700; color: var(--dark); transition: 0.3s; font-size: 1rem;
}
.ac-header:hover { background: #f9f9f9; color: var(--primary); }
.ac-item.active .ac-header { background: var(--primary); color: white; }
.ac-body { max-height: 0; overflow: hidden; transition: 0.4s ease; }
.ac-item.active .ac-body { max-height: 500px; } /* Sufficient max-height */
.ac-content { padding: 25px; border-top: 1px solid #eee; color: #555; line-height: 1.6; }

/* --- 7. CTA STRIP --- */
.cta-strip { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 60px 0; margin-top: 50px; }
.btn-goat-white { 
    background: white; color: var(--primary); padding: 15px 35px; 
    font-weight: 800; border-radius: 4px; text-transform: uppercase;
}
.btn-goat-white:hover { background: var(--dark); color: white; }

/* --- 8. TESTIMONIALS SLIDER --- */
.review-card-modern {
    background: white; padding: 40px; border: 1px solid #eee; border-radius: 8px;
    height: 100%; min-height: 300px; display: flex; flex-direction: column;
}
.quote-icon { font-size: 2rem; color: var(--highlight); margin-bottom: 20px; opacity: 0.3; }
.rc-text { font-style: italic; color: #555; margin-bottom: 30px; flex-grow: 1; }
.rc-meta { display: flex; align-items: center; gap: 15px; border-top: 1px solid #eee; padding-top: 20px; }
.rc-avatar img, .rc-avatar span { 
    width: 50px; height: 50px; border-radius: 50%; object-fit: cover; display: block;
    background: #eee; display: flex; align-items: center; justify-content: center; font-weight: bold;
}
.rc-rating { margin-left: auto; color: var(--highlight); font-size: 0.8rem; }

/* Mobile Adjustments for Home */
@media (max-width: 991px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-section { padding-top: 80px; padding-bottom: 60px; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-metrics { justify-content: center; flex-wrap: wrap; gap: 20px; }
}