/**
 * Caststone Solutions - Premium Website Styles
 */

:root {
    --primary-dark: #1a1a2e;
    --primary: #16213e;
    --accent: #c0392b;
    --accent-light: #e74c3c;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; font-size: 18px; line-height: 1.8; color: var(--text-dark); }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

.top-bar { background: var(--primary-dark); height: 40px; display: flex; align-items: center; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.top-bar-content, .top-bar-phone { color: var(--text-light); font-size: 14px; font-weight: 500; }
.top-bar-phone:hover { color: var(--accent-light); }

.header { background: var(--bg-light); position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 60px; width: auto; object-fit: contain; }
.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-link { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; color: var(--text-dark); position: relative; padding: 8px 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--accent); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--accent); }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; z-index: 1002; }
.mobile-menu-toggle span { display: block; width: 28px; height: 3px; background: var(--primary-dark); transition: var(--transition); border-radius: 2px; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.nav-mobile { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-light); padding: 100px 24px 40px; flex-direction: column; gap: 24px; transform: translateX(100%); transition: transform 0.4s ease; z-index: 999; }
.nav-mobile.active { transform: translateX(0); }
.nav-mobile .nav-link { font-size: 20px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: var(--transition); border: none; gap: 8px; }
.btn-primary { background: var(--accent); color: var(--text-light); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--text-light); border: 2px solid var(--text-light); }
.btn-outline:hover { background: var(--text-light); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--primary-dark); border: 2px solid var(--primary-dark); }
.btn-outline-dark:hover { background: var(--primary-dark); color: var(--text-light); transform: translateY(-2px); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.55); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 24px; animation: fadeInUp 1s ease-out; }
.hero h1 { font-size: 64px; color: var(--text-light); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero h2 { font-size: 28px; color: rgba(255,255,255,0.9); font-weight: 400; margin-bottom: 24px; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.stats-bar { background: var(--primary-dark); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; padding: 20px; }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 48px; font-weight: 700; color: var(--text-light); margin-bottom: 8px; display: block; }
.stat-label { font-size: 16px; color: var(--accent-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.section { padding: 100px 0; }
.section-title { font-size: 40px; color: var(--primary-dark); text-align: center; margin-bottom: 16px; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: var(--accent); margin: 16px auto 0; border-radius: 2px; }
.section-subtitle { font-size: 18px; color: #666; text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-dark { background: var(--primary-dark); }
.section-dark .section-title { color: var(--text-light); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.8); }
.section-gray { background: var(--bg-gray); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { font-size: 40px; color: var(--primary-dark); margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; color: var(--text-dark); }
.about-image { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 500px; object-fit: cover; transition: transform 0.5s ease; }
.about-image:hover img { transform: scale(1.03); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--bg-light); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-image { height: 220px; overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-image img { transform: scale(1.1); }
.service-card-content { padding: 28px; }
.service-card h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 12px; }
.service-card p { font-size: 16px; color: #666; margin-bottom: 16px; line-height: 1.6; }
.service-card-link { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.service-card-link:hover { color: var(--accent-light); gap: 10px; }

.why-choose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-choose-card { text-align: center; padding: 40px 24px; background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden; }
.why-choose-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s ease; }
.why-choose-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.why-choose-card:hover::before { transform: scaleX(1); }
.why-choose-icon { width: 80px; height: 80px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background: rgba(192, 57, 43, 0.1); border-radius: 50%; transition: var(--transition); }
.why-choose-card:hover .why-choose-icon { background: var(--accent); transform: scale(1.1); }
.why-choose-icon svg { width: 40px; height: 40px; stroke: var(--accent); transition: var(--transition); }
.why-choose-card:hover .why-choose-icon svg { stroke: var(--text-light); }
.why-choose-card h3 { font-size: 22px; color: var(--accent); margin-bottom: 16px; }
.why-choose-card p { font-size: 15px; color: #666; line-height: 1.7; }

.gallery-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 46, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-icon { width: 60px; height: 60px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform 0.3s ease; }
.gallery-item:hover .gallery-item-icon { transform: scale(1); }
.gallery-item-icon svg { width: 24px; height: 24px; stroke: white; }

.gallery-filters { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.gallery-filter { padding: 12px 24px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; background: transparent; border: 2px solid var(--primary-dark); color: var(--primary-dark); border-radius: 30px; cursor: pointer; transition: var(--transition); }
.gallery-filter:hover, .gallery-filter.active { background: var(--accent); border-color: var(--accent); color: var(--text-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.gallery-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid-item:hover img { transform: scale(1.08); }
.gallery-grid-item.hidden { display: none; }

.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; align-items: center; justify-content: center; padding: 40px; }
.lightbox.active { display: flex; }
.lightbox-content { position: relative; max-width: 90%; max-height: 90%; }
.lightbox-img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { background: var(--accent-light); transform: rotate(90deg); }
.lightbox-close svg { width: 20px; height: 20px; stroke: white; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-nav:hover { background: var(--accent); }
.lightbox-nav svg { width: 24px; height: 24px; stroke: white; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.carousel-container { position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden; border-radius: 8px; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; aspect-ratio: 16/9; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); border: none; }
.carousel-nav:hover { background: var(--accent); }
.carousel-nav:hover svg { stroke: white; }
.carousel-nav svg { width: 24px; height: 24px; stroke: var(--primary-dark); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.carousel-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition); border: none; }
.carousel-dot.active { background: var(--accent); transform: scale(1.2); }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-light); border-radius: 8px; margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; text-align: left; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600; color: var(--primary-dark); transition: var(--transition); }
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; margin-left: 16px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--accent); transition: var(--transition); }
.faq-icon::before { width: 16px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer-content { padding: 0 28px 24px; font-size: 16px; color: #666; line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 500px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info h3 { font-size: 28px; color: var(--primary-dark); margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 50px; height: 50px; background: rgba(192, 57, 43, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.contact-text h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.contact-text p, .contact-text a { font-size: 16px; color: #666; }
.contact-text a:hover { color: var(--accent); }

.contact-form { background: var(--bg-light); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; color: var(--primary-dark); margin-bottom: 8px; }
.form-control { width: 100%; padding: 14px 18px; font-size: 16px; font-family: 'Open Sans', sans-serif; border: 2px solid #e0e0e0; border-radius: 8px; transition: var(--transition); background: var(--bg-light); }
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }

.service-areas-content { text-align: center; max-width: 900px; margin: 0 auto; }
.service-areas-content h2 { font-size: 40px; color: var(--primary-dark); margin-bottom: 24px; }
.service-areas-content p { font-size: 18px; color: #666; margin-bottom: 40px; }
.service-areas-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.area-tag { padding: 10px 20px; background: var(--bg-light); border: 2px solid var(--primary-dark); border-radius: 30px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; color: var(--primary-dark); transition: var(--transition); }
.area-tag:hover { background: var(--accent); border-color: var(--accent); color: var(--text-light); }
.map-container { margin-top: 40px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }

.page-hero { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { font-size: 56px; color: var(--text-light); text-transform: uppercase; letter-spacing: 2px; }

.footer { background: var(--primary-dark); color: var(--text-light); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.footer-col h3 { font-size: 22px; margin-bottom: 24px; color: var(--text-light); }
.footer-col p { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 16px; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent-light); padding-left: 8px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { width: 20px; height: 20px; stroke: var(--accent-light); flex-shrink: 0; margin-top: 4px; }
.footer-contact-item span { font-size: 16px; color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 40px; text-align: center; }
.footer-bottom p { font-size: 14px; color: rgba(255,255,255,0.6); }

.cta-section { background: var(--accent); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 40px; color: var(--text-light); margin-bottom: 16px; }
.cta-section p { font-size: 20px; color: rgba(255,255,255,0.9); margin-bottom: 32px; }
.cta-section .btn-outline { border-color: var(--text-light); }
.cta-section .btn-outline:hover { background: var(--text-light); color: var(--accent); }

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
    .hero h2 { font-size: 22px; }
    .section-title { font-size: 32px; }
    .page-hero h1 { font-size: 36px; }
    .services-grid { grid-template-columns: 1fr; }
    .why-choose-grid { grid-template-columns: 1fr; }
    .gallery-preview { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .nav-desktop { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-mobile { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .btn { padding: 14px 24px; font-size: 15px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .hero h2 { font-size: 18px; }
    .section { padding: 60px 0; }
    .btn-group { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-filters { flex-direction: column; align-items: center; }
    .lightbox { padding: 20px; }
}

/* =============================================
   FIXES: Page Headers, Color, Readability
   ============================================= */

/* Inner page banner headers (contact, faq, gallery, service-areas) */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #16213e 60%, #c0392b 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 50%;
    pointer-events: none;
}
.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.page-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section title accent color boost */
.section-title {
    color: var(--primary-dark) !important;
    font-size: 42px !important;
}
.section-title::after {
    background: var(--accent) !important;
    width: 80px;
    height: 5px;
    border-radius: 3px;
}

/* Area items on service areas page */
.area-item {
    padding: 12px 24px;
    background: var(--bg-light);
    border: 2px solid var(--primary-dark);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    transition: var(--transition);
    display: inline-block;
    margin: 4px;
}
.area-item:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px auto;
    max-width: 900px;
}

/* Gallery page: ensure gallery-item uses proper overlay class */
.gallery-item .gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26, 26, 46, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 32px;
    color: white;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Boost body text readability */
p { font-size: 17px; line-height: 1.9; }
.section-subtitle { font-size: 19px !important; color: #555 !important; }

/* CTA section on service areas */
.cta-title { font-size: 44px !important; }
.cta-text { font-size: 20px !important; }

/* Logo text styling */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-dark);
    margin-left: 12px;
}

/* =============================================
   SECTION COLOR VARIANTS - Anti-White Fix
   ============================================= */

/* Warm concrete tone for About section */
.section-concrete {
    background: #f0ede8;
}

/* Dark slate for Services section */
.section-slate {
    background: #2c3e50;
}
.section-slate .section-title { color: #ffffff !important; }
.section-slate .section-title::after { background: var(--accent) !important; }
.section-slate .section-subtitle { color: rgba(255,255,255,0.8) !important; }
.section-slate .service-card { background: #ffffff; }
.section-slate .service-card-link { color: var(--accent); }
.section-slate .service-card h3 { color: var(--primary-dark); }

/* Why Choose Us on dark navy */
.section-dark .why-choose-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
}
.section-dark .why-choose-card h3 { color: var(--accent-light); }
.section-dark .why-choose-card p { color: rgba(255,255,255,0.8); }
.section-dark .why-choose-icon { background: rgba(192, 57, 43, 0.2); }
.section-dark .why-choose-card:hover { background: rgba(255,255,255,0.12); }
.section-dark .section-title { color: #ffffff !important; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.8) !important; }

/* Gallery section header on dark */
.section-dark .gallery-filter {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
}
.section-dark .gallery-filter:hover,
.section-dark .gallery-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* About section on warm concrete bg */
.section-concrete .about-content h2 { color: var(--primary-dark); }
.section-concrete .about-content p { color: #555; }

/* Stronger section dividers */
.section + .section-dark,
.section-slate + .section-dark {
    border-top: 4px solid var(--accent);
}

/* =============================================
   FAQ - Dark Navy Accordion Boxes
   ============================================= */
.faq-item {
    background: #16213e !important;
    border: 1px solid rgba(192, 57, 43, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}
.faq-question {
    color: #ffffff !important;
}
.faq-question:hover {
    color: var(--accent) !important;
}
.faq-answer-content {
    color: rgba(255,255,255,0.75) !important;
}
.faq-icon::before, .faq-icon::after {
    background: var(--accent) !important;
}
.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.25) !important;
}

/* =============================================
   MOBILE POLISH - Additional responsive fixes
   ============================================= */

/* Page title too large on mobile */
@media (max-width: 768px) {
    .page-title { font-size: 34px !important; letter-spacing: 1px; }
    .page-subtitle { font-size: 15px; padding: 0 16px; }
    .section-title { font-size: 28px !important; }
    .section-subtitle { font-size: 15px; padding: 0 12px; }

    /* Logo text — don't overflow on small screens */
    .logo-text { font-size: 14px !important; }

    /* Contact form full width on mobile */
    .contact-form {
        padding: 24px !important;
    }

    /* Service card images shorter on mobile */
    .service-card-image { height: 200px !important; }

    /* Hero buttons stack on mobile */
    .btn-group { gap: 12px; }

    /* Stats bar padding */
    .stats-bar { padding: 30px 0; }
    .stat-number { font-size: 32px; }

    /* CTA section padding */
    .cta-section { padding: 60px 24px; }
    .cta-section h2 { font-size: 28px; }

    /* FAQ padding tighter */
    .faq-question { padding: 18px 20px !important; font-size: 15px !important; }
    .faq-answer-content { padding: 0 20px 18px !important; }

    /* Footer padding */
    .footer-container { padding: 40px 20px 20px; }
}

@media (max-width: 480px) {
    .page-title { font-size: 26px !important; }
    .hero h1 { font-size: 28px; }
    .hero h2 { font-size: 16px; }
    .logo-text { font-size: 12px !important; }

    /* Service cards full width with less padding */
    .service-card-content { padding: 20px; }
    .service-card-content h3 { font-size: 18px; }

    /* Contact grid */
    .contact-info-title { font-size: 24px; }
    .contact-detail { flex-direction: column; gap: 2px; }

    /* Gallery grid single column already set, ensure images fill */
    .gallery-item img { height: 220px; }

    /* Why choose cards */
    .why-choose-card { padding: 24px 20px; }
}

/* Hide logo text on mobile — logo image already shows the name */
@media (max-width: 768px) {
    .logo-text {
        display: none !important;
    }
}
