/* ==========================================================================
   Centennial Glass - Comprehensive Stylesheet
   ========================================================================== */

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    --cg-primary: #a93426;
    --cg-primary-dark: #8a2a1f;
    --cg-primary-light: #c44536;
    --cg-dark: #1a1a1a;
    --cg-light: #f5f5f5;
    --cg-warm-gray: #e8e4df;
    --cg-text: #333333;
    --cg-text-light: #666666;
    --cg-white: #ffffff;
    --cg-emergency: #b91c1c;
    --cg-success: #166534;
    
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
    
    --section-padding: 60px;
    --container-max: 1400px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
    stroke: currentColor;
}

.icon-sm { width: 0.875em; height: 0.875em; }
.icon-lg { width: 1.25em; height: 1.25em; }
.icon-xl { width: 1.5em; height: 1.5em; }
.icon-2x { width: 2em; height: 2em; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cg-text);
    background-color: var(--cg-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}
.logo img {max-width:100% !important; height: 50px;
}
/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--cg-primary);
    color: var(--cg-white);
}

.btn-primary:hover {
    background-color: var(--cg-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--cg-white);
    color: var(--cg-primary);
    border: 2px solid var(--cg-primary);
}

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

.btn-white {
    background-color: var(--cg-white);
    color: var(--cg-primary);
}

.btn-white:hover {
    background-color: var(--cg-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--cg-white);
    border: 2px solid var(--cg-white);
}

.btn-outline-white:hover {
    background-color: var(--cg-white);
    color: var(--cg-primary);
}

.btn-emergency {
    background-color: var(--cg-emergency);
    color: var(--cg-white);
}

.btn-emergency:hover {
    background-color: #991b1b;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--cg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: var(--cg-primary);
    color: var(--cg-white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar a {
    color: var(--cg-white);
    transition: opacity 0.3s;
}

.top-bar a:hover { opacity: 0.85; }

.top-bar__phone {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar__info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar__info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav {
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--cg-dark);
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cg-primary);
}

.nav-cta .btn {
    padding: 12px 24px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   PAGE HERO
   ======================================== */
.page-hero {
    background-color: var(--cg-primary);
    background-size: cover;
    background-position: center;
    color: var(--cg-white);
    padding: 80px 0;
    text-align: center;
}

.page-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    color: var(--cg-white);
    margin-bottom: 20px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-hero__ctas {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb-bar {
    background: var(--cg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--cg-warm-gray);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--cg-text-light);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--cg-primary);
}

.breadcrumb__separator {
    color: var(--cg-text-light);
}

.breadcrumb__current {
    color: var(--cg-text);
    font-weight: 500;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.content-section {
    padding: var(--section-padding) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.content-main h2 {
    color: var(--cg-dark);
    margin-bottom: 15px;
    margin-top: 40px;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    color: var(--cg-dark);
    margin-top: 35px;
    margin-bottom: 15px;
}

.content-main h4 {
    color: var(--cg-dark);
    margin-top: 25px;
    margin-bottom: 10px;
}

.content-main p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-main ul,
.content-main ol {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

.content-main li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.content-main li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cg-success);
    font-weight: bold;
}

/* Service boxes grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.service-box {
    background: var(--cg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--cg-primary);
}

.service-box h4 {
    color: var(--cg-dark);
    margin-top: 0;
    margin-bottom: 10px;
}

.service-box p {
    margin-bottom: 0;
    color: var(--cg-text-light);
    font-size: 0.95rem;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--cg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sidebar-card--cta {
    background: var(--cg-primary);
    color: var(--cg-white);
    text-align: center;
}

.sidebar-card--cta h3 {
    color: var(--cg-white);
    margin-bottom: 10px;
}

.sidebar-card--cta p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.sidebar-card--cta .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

.sidebar-card--cta .phone-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cg-white);
}

.sidebar-card h4 {
    color: var(--cg-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cg-primary);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    margin-bottom: 10px;
}

.sidebar-card li a {
    color: var(--cg-text);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    transition: color 0.3s;
}

.sidebar-card li a:hover {
    color: var(--cg-primary);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--cg-primary);
    color: var(--cg-white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--cg-white);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

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

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

.cta-section .btn-secondary {
    border-color: var(--cg-white);
    color: var(--cg-white);
    background: transparent;
}

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

.cta-section__info {
    font-size: 0.95rem;
    opacity: 0.9;
}

.cta-section__info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--cg-dark);
    color: var(--cg-white);
}

.testimonials__header {
    text-align: center;
    margin-bottom: 45px;
}

.testimonials__header h2 {
    color: var(--cg-white);
    margin-bottom: 10px;
}

.testimonials__header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--cg-primary-light);
}

.testimonial-card__stars {
    color: #fbbf24;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card__quote {
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-card__author {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--cg-primary-light);
}

.testimonial-card__location {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* ========================================
   AREAS BANNER
   ======================================== */
.areas-banner {
    background: var(--cg-warm-gray);
    padding: 35px 0;
    text-align: center;
}

.areas-banner h3 {
    color: var(--cg-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.areas-banner__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 25px;
}

.areas-banner__list span {
    font-size: 1rem;
    color: var(--cg-text);
}

/* faq extend */

/* Smooth FAQ */
.faq-item__answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 32px; 
}

.faq-item.active .faq-item__answer{
  max-height: 500px; 
}

.faq-item__question{
  cursor: pointer;
}


/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--cg-dark);
    color: var(--cg-white);
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__about img {
    max-width: 280px; 
    margin-bottom: 15px;
}

.footer__about p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer h4 {
    color: var(--cg-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__col {}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--cg-primary-light);
}

.footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer__contact .icon {
    color: var(--cg-primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__contact a {
    color: var(--cg-white);
    font-weight: 600;
}

.footer__contact a:hover {
    color: var(--cg-primary-light);
}

.footer__emergency {
    background: var(--cg-primary);
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 15px;
}

.footer__emergency p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    opacity: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer__copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer__copyright a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer__copyright a:hover {
    color: var(--cg-primary-light);
}

.footer__social {
    display: flex;
    gap: 15px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cg-white);
    transition: all 0.3s;
}

.footer__social a:hover {
    background: var(--cg-primary);
    transform: translateY(-3px);
}

/* ========================================
   MOBILE CTA BAR
   ======================================== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cg-dark);
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}

.mobile-cta-bar .container {
    display: flex;
    gap: 10px;
}

.mobile-cta-bar .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 15px;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar__info {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-cta-bar {
        display: block;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__about img {
        margin: 0 auto 15px;
    }
    
    .footer__contact p {
        justify-content: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .areas-banner__list {
        gap: 8px 15px;
    }
}
