/* DRAIN FLOW INC - Master Stylesheet 
    Typography: Kanit (Google Fonts)
    Colors: Navy (#001f3f), Silver (#C0C0C0), Aqua (#00FFFF)
*/

:root {
    --navy: #001f3f;
    --silver: #C0C0C0;
    --white: #ffffff;
    --aqua: #00FFFF;
    --dark-navy: #00152b;
}

/* --- Global Reset & Base --- */
body {
    font-family: 'Kanit', sans-serif;
    font-weight: 300; /* Light weight for clean body text */
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 800; /* Industrial, heavy-duty headers */
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.accent { color: var(--aqua); }

/* --- Shared Components: Hero --- */
.hero {
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.85)), url('df-banner.png') no-repeat center center/cover;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    border-bottom: 8px solid var(--aqua);
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 400;
    color: var(--silver);
    letter-spacing: 1px;
}

/* --- Shared Components: Buttons --- */
.btn {
    font-family: 'Kanit', sans-serif;
    padding: 18px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.btn-aqua {
    background-color: var(--aqua);
    color: var(--navy);
}

.btn-aqua:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,255,255,0.4);
}

/* --- Shared Components: Navigation --- */
.bottom-nav {
    background: #f1f1f1;
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid var(--silver);
}

.bottom-nav a {
    color: var(--navy);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.bottom-nav a:hover { color: var(--aqua); }
.active-nav { color: var(--aqua) !important; border-bottom: 2px solid var(--aqua); padding-bottom: 5px; }

/* --- Shared Components: Footer --- */
footer {
    background: var(--dark-navy);
    color: var(--silver);
    padding: 60px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-content h3 { color: var(--white); margin-bottom: 15px; font-weight: 600; }
.footer-content p { font-size: 0.95rem; font-weight: 300; }

.footer-social .icons { font-size: 1.6rem; display: flex; gap: 20px; justify-content: flex-end; margin-bottom: 10px; }
.footer-social a { color: var(--silver); transition: 0.3s; }
.footer-social a:hover { color: var(--aqua); }

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 300;
}

/* --- Home Specific: Sections --- */
.why-us {
    background: linear-gradient(rgba(0, 31, 63, 0.9), rgba(0, 31, 63, 0.9)), url('fixture-macro.jpg') no-repeat center center/cover;
    padding: 100px 20px;
    color: var(--white);
    text-align: center;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.why-card i { font-size: 3.5rem; color: var(--silver); margin-bottom: 20px; }
.why-card h3 { font-size: 1.6rem; margin-bottom: 10px; }

/* --- Tips Grid (Home & Shared) --- */
.tips-container { padding: 100px 20px; max-width: 1100px; margin: auto; }
.tips-header { text-align: center; margin-bottom: 60px; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.tip-card { 
    background: #f9f9f9; border: 1px solid var(--silver); padding: 40px; 
    border-radius: 12px; border-top: 8px solid var(--navy); transition: 0.4s ease;
}
.tip-card:hover { border-top-color: var(--aqua); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.tip-icon { font-size: 2.5rem; color: var(--aqua); margin-bottom: 20px; }

/* --- Reviews Specific --- */
.leave-review { padding: 100px 20px; text-align: center; background: #f9f9f9; }
.review-buttons { display: flex; justify-content: center; gap: 20px; margin: 40px 0; flex-wrap: wrap; }
.google-btn { background: #4285F4; }
.yelp-btn { background: #FF1A1A; }

.neighborhood-tip {
    max-width: 800px; margin: 60px auto 0; padding: 40px; background: var(--white);
    border-left: 10px solid var(--aqua); box-shadow: 0 15px 40px rgba(0, 31, 63, 0.1);
    text-align: left; border-radius: 0 15px 15px 0;
}

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 35px; }
.review-card {
    background: var(--white); padding: 45px; border-radius: 15px; border: 1px solid var(--silver);
    position: relative; transition: 0.4s ease; display: flex; flex-direction: column;
}
.review-card:hover { border-color: var(--aqua); transform: translateY(-10px); }
.stars { color: #FFD700; margin-bottom: 15px; font-size: 1.3rem; }

/* --- Form Styles --- */
.form-section { background: var(--navy); color: var(--white); padding: 100px 20px; }
.form-content { max-width: 700px; margin: auto; }
label { display: block; margin-top: 25px; font-weight: 600; color: var(--aqua); text-transform: uppercase; font-size: 0.9rem; }
input, select, textarea {
    font-family: 'Kanit', sans-serif; width: 100%; padding: 16px; margin-top: 10px; 
    border-radius: 6px; border: 1px solid var(--silver); box-sizing: border-box; font-size: 1.05rem;
    font-weight: 300;
}
.hidden { display: none; }

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    .hero { padding: 80px 20px; }
    .bottom-nav a { display: block; margin: 15px 0; }
    .footer-social { text-align: left; }
    .footer-social .icons { justify-content: flex-start; }

/* --- Index Specific: Reviews Ribbon --- */
.reviews-ribbon {
    background: var(--silver);
    padding: 40px 20px;
    display: flex;             /* This is the missing "magic" line */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;           /* Allows stacking on mobile */
    gap: 50px;                 /* Space between Google, Yelp, Angi */
}

.reviews-ribbon .review-card {
    text-align: center;
    flex: 0 1 250px;           /* Ensures they share space but don't get huge */
    border: none;              /* Removes borders if any inherited */
    background: transparent;   /* Ribbon should stay silver background */
    padding: 0;
}

.reviews-ribbon .review-card strong {
    display: block;
    font-size: 1.3rem;
    color: var(--navy);
    margin-top: 10px;
    font-weight: 800;
}

.reviews-ribbon .review-card i {
    font-size: 1.5rem;
}

.reviews-ribbon .review-card p {
    margin: 5px 0 0;
    font-weight: 600;
    color: #444;
}
/* --- Top Header & Navigation --- */
.main-header {
    background: var(--dark-navy);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--aqua);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
}

.top-nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.top-nav a:hover {
    color: var(--aqua);
}

.nav-cta {
    background: var(--aqua);
    color: var(--navy) !important;
    padding: 8px 15px;
    border-radius: 4px;
}

/* Mobile Adjustments for Header */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 10px; }
    .top-nav a { margin: 0 10px; font-size: 0.8rem; }
}

}