/* --- FONT IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@700&display=swap');

/* --- CSS VARIABLES (COLOR PALETTE) --- */
:root {
    --primary-color: #1B3A5C;   /* Deep Navy Blue */
    --secondary-color: #FFFFFF; /* Clean White */
    --accent-color: #4A9FD4;    /* Sky Blue */
    --text-dark: #2C2C2C;       /* Near Black */
    --text-light: #6B7280;     /* Soft Gray */
    --background-color: #F8FAFC;/* Off White */
    --cta-hover-color: #4A9FD4; /* Sky Blue for Hover */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* --- GENERAL & BODY STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

section:nth-of-type(odd) {
    background-color: var(--secondary-color);
}

section:nth-of-type(even) {
    background-color: var(--background-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

h1 { font-size: 56px; }
h2 { font-size: 42px; margin-bottom: 40px; text-align: center; }
h3 { font-size: 28px; font-weight: 600; margin-bottom: 15px; }

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* --- NAVIGATION --- */
header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav .logo h1 a {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    border-bottom-color: var(--accent-color);
}

/* --- CTA BUTTONS --- */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.cta-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.cta-primary:hover {
    background-color: var(--cta-hover-color);
}
.cta-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.cta-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
#hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
    padding: 0 20px;
    background-color: var(--primary-color);
}
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    text-align: center;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/hero-towels.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--primary-color);
    opacity: 0.55;
    z-index: 0;
}
#hero h2 {
    color: var(--secondary-color);
    font-size: 56px;
    animation: fadeInDown 1s ease-out;
}
#hero p {
    color: #ffffff;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 40px;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 1s;
    animation-fill-mode: both;
}

/* --- SERVICE CARDS --- */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-color);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}
.service-card-content {
    padding: 30px;
}
.service-card h3 {
    color: var(--primary-color);
}
.service-card p {
    color: var(--text-light);
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover {
    color: var(--accent-color);
}
.footer-copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3a5a7c;
    color: #ccc;
}

/* --- ANIMATIONS --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    nav {
        /* Add styles for hamburger menu here later */
    }
    nav ul {
        display: none; /* Hide for now, will be part of hamburger */
    }
    h1, #hero h2 { font-size: 40px; }
    h2 { font-size: 32px; }
    .hero-buttons { flex-direction: column; }
}

/* --- SECTION SUBTITLES --- */
.section-subtitle { text-align: center; color: var(--text-light); font-size: 1.1rem; margin-top: -20px; margin-bottom: 50px; }

/* --- NAV: PHONE + HAMBURGER --- */
.nav-right { display: flex; align-items: center; gap: 20px; }
.phone-nav { color: var(--primary-color); font-weight: 600; text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
.phone-nav:hover { color: var(--accent-color); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--primary-color); border-radius: 3px; transition: all 0.3s; }
#mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 999; }
#mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 15px; }
#mobile-nav ul li a { color: var(--primary-color); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
#mobile-nav.open { display: block; }
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

/* --- HOW IT WORKS --- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.process-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); position: relative; transition: transform 0.3s; }
.process-card:hover { transform: translateY(-8px); }
.process-card > img { width: 100%; height: 220px; object-fit: cover; }
.step-badge { position: absolute; top: 200px; left: 20px; width: 44px; height: 44px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; border: 3px solid white; }
.process-content { padding: 30px 25px 25px; }
.step-icon { font-size: 2rem; margin-bottom: 10px; }
.process-content h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* --- STATS BAR --- */
#stats { background-color: var(--primary-color); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--accent-color); font-family: var(--font-heading); line-height: 1; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.8); margin-top: 8px; }

/* --- WHY CHOOSE US --- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-image img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.checklist { list-style: none; margin: 25px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 1rem; color: var(--text-dark); }
.check { color: var(--accent-color); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* --- SERVICE AREAS --- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area-card { background: white; border: 2px solid #e5e7eb; border-radius: 12px; padding: 20px; text-align: center; font-weight: 600; color: var(--primary-color); transition: all 0.3s; font-size: 1rem; }
.area-card:hover { border-color: var(--accent-color); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.area-card span { display: block; font-size: 1.5rem; margin-bottom: 8px; }

/* --- TESTIMONIALS --- */
#testimonials { background-color: var(--primary-color); }
#testimonials h2 { color: white; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { background: rgba(255,255,255,0.08); border-radius: 16px; padding: 30px; border: 1px solid rgba(255,255,255,0.15); }
.quote-text { color: rgba(255,255,255,0.9); font-style: italic; line-height: 1.8; margin-bottom: 15px; }
.quote-text::before { content: '\201C'; font-size: 3rem; color: var(--accent-color); line-height: 0; vertical-align: -1rem; margin-right: 5px; font-family: Georgia, serif; }
.quote-author { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; }

/* --- QUOTE FORM --- */
#quote { background-color: var(--background-color); }
.quote-form { max-width: 800px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-weight: 600; color: var(--primary-color); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 1.5px solid #d1d5db; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); transition: border-color 0.3s; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(74,159,212,0.15); }
.form-group textarea { resize: vertical; }
.quote-form button[type="submit"] { margin-top: 10px; padding: 15px 40px; font-size: 1.05rem; }

/* --- INNER HERO (subpages) --- */
.inner-hero { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 0 20px; }
.inner-hero::before { content: ''; position: absolute; inset: 0; background-image: url('../assets/images/hero-main.jpg'); background-size: cover; background-position: center; z-index: -2; }
.inner-hero::after { content: ''; position: absolute; inset: 0; background-color: var(--primary-color); opacity: 0.60; z-index: -1; }
.inner-hero h1 { color: white; font-size: 3rem; margin-bottom: 15px; }
.inner-hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 600px; }

/* --- FEATURE SECTIONS (services page) --- */
.feature-section { padding: 80px 0; }
.feature-section:nth-child(even) { background: var(--background-color); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-image img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.feature-content h2 { text-align: left; font-size: 2rem; margin-bottom: 15px; }
.feature-list { list-style: none; margin: 20px 0 30px; }
.feature-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.feature-list li::before { content: '\2714'; color: var(--accent-color); font-weight: 700; }

/* --- PRICING --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.pricing-card { background: white; border-radius: 16px; padding: 40px 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); border-top: 5px solid var(--accent-color); text-align: center; }
.pricing-card.featured { background: var(--primary-color); border-top-color: var(--accent-color); transform: scale(1.05); }
.pricing-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-bottom: 10px; font-weight: 600; }
.pricing-card.featured .pricing-label { color: rgba(255,255,255,0.7); }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 5px; }
.pricing-card.featured h3 { color: white; }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--accent-color); margin: 15px 0; font-family: var(--font-heading); }
.pricing-card.featured .pricing-price { color: white; }
.pricing-features { list-style: none; margin: 20px 0 30px; text-align: left; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); color: var(--text-dark); display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.pricing-card.featured .pricing-features li { border-bottom-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }
.pricing-features li::before { content: '\2714'; color: var(--accent-color); font-weight: 700; }
.pricing-card.featured .pricing-features li::before { color: rgba(255,255,255,0.8); }

/* --- VOLUME TIERS --- */
.volume-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.volume-tier { background: white; border-radius: 12px; padding: 25px; text-align: center; border: 2px solid var(--accent-color); }
.volume-tier h4 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 8px; }
.volume-tier p { color: var(--accent-color); font-weight: 700; font-size: 1rem; margin: 0; }

/* --- CTA BANNER --- */
.cta-banner { background: var(--primary-color); padding: 80px 0; text-align: center; }
.cta-banner h2 { color: white; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 30px; }

/* --- CONTACT PAGE --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 25px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-detail p { margin: 0; color: var(--text-dark); }
.contact-detail p strong { display: block; color: var(--primary-color); font-weight: 600; }
.contact-info img { width: 100%; border-radius: 16px; margin-top: 30px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.contact-form-wrapper h3 { font-size: 1.5rem; margin-bottom: 25px; }

/* --- MOBILE --- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav .nav-right > ul { display: none; }
  .phone-nav { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .why-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .inner-hero { height: 280px; }
  .inner-hero h1 { font-size: 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid.reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .volume-tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-content h2 { font-size: 1.6rem; }
}

/* Stars */
.stars { color: #FFB800; font-size: 1.2rem; margin-bottom: 12px; }
/* Trust line */
.trust-line { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 20px; text-align: center; }
/* Contact alt */
.contact-alt { text-align: center; color: var(--text-light); margin-bottom: 20px; }
.contact-alt a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.contact-alt a:hover { color: var(--accent-color); }
/* Service card CTA link */
.service-card-content .card-link { display: inline-block; margin-top: 12px; color: var(--accent-color); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.service-card-content .card-link:hover { text-decoration: underline; }
/* Footer tagline */
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 5px; margin-bottom: 0; }
/* Footer hours */
.footer-hours { color: #ccc; font-size: 0.875rem; line-height: 1.6; margin-top: 8px; }
/* Footer social */
.footer-social { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.social-link { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; text-decoration: none; padding: 4px 10px; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; transition: all 0.2s; }
.social-link:hover { color: #fff; border-color: var(--accent-color); background: rgba(74,159,212,0.15); }
/* Pricing preview section on homepage */
#pricing-preview { background-color: var(--background-color); }
