/* ============================================================
   PORTA POTTY RENTAL 365 — style.css
   Color Palette:
     Primary Navy:  #0d2137
     Accent Blue:   #1a4b7a
     Gold:          #f5a623
     Gold Dark:     #d4891a
     White:         #ffffff
     Off-White:     #f8fafc
     Text Dark:     #1a2533
     Text Muted:    #5a6b7d
   ============================================================ */

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

:root {
    --navy:        #0d2137;
    --navy-light:  #1a3a5c;
    --blue-mid:    #1a4b7a;
    --gold:        #f5a623;
    --gold-dark:   #d4891a;
    --white:       #ffffff;
    --off-white:   #f8fafc;
    --text:        #1a2533;
    --text-muted:  #5a6b7d;
    --border:      #e2e8f0;
    --radius:      12px;
    --shadow-sm:   0 2px 8px rgba(13, 33, 55, 0.08);
    --shadow-md:   0 6px 24px rgba(13, 33, 55, 0.14);
    --shadow-lg:   0 16px 48px rgba(13, 33, 55, 0.18);
    --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--navy);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 0;
    letter-spacing: 0.01em;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-bar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
    flex-shrink: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-svg {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(245,166,35,0.25);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all var(--transition);
}

.header-nav a:hover {
    color: var(--navy);
    background: var(--off-white);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.logo-accent { color: var(--gold); }

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.header-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-phone {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

.header-phone:hover { color: var(--gold-dark); }

/* ============================================================
   CTA BUTTONS
   ============================================================ */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cta-btn--primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}

.cta-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.55);
}

.cta-btn--white {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta-btn--large { padding: 17px 36px; font-size: 1.1rem; }

.cta-icon { font-size: 1.1em; }

.pulse-btn { animation: pulse-ring 2.4s ease-out infinite; }

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5), 0 4px 20px rgba(245, 166, 35, 0.4); }
    70%  { box-shadow: 0 0 0 14px rgba(245, 166, 35, 0), 0 4px 20px rgba(245, 166, 35, 0.4); }
    100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0), 0 4px 20px rgba(245, 166, 35, 0.4); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: url('hero.png') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13, 33, 55, 0.88) 0%,
        rgba(13, 33, 55, 0.72) 55%,
        rgba(13, 33, 55, 0.35) 100%
    );
}

.hero-content { position: relative; z-index: 1; padding: 80px 20px; }

.hero-text { max-width: 620px; }

.hero-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.45);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-location {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--gold);
    position: relative;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.65;
}

.hero-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.dot { margin: 0 6px; color: var(--gold); }

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--off-white);
    transition: all var(--transition);
}

.trust-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.trust-icon { font-size: 1.5rem; flex-shrink: 0; }

.trust-label {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.35;
}

.trust-label strong {
    display: block;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 1px;
}

/* ============================================================
   EMERGENCY BANNER
   ============================================================ */
.emergency-banner {
    background: linear-gradient(135deg, #fff8ed 0%, #fff3dc 100%);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    padding: 20px 0;
}

.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.emergency-text {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--navy);
}

.emergency-text span {
    color: #c0392b;
    font-weight: 800;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

.section-eyebrow--light { color: rgba(245, 166, 35, 0.85); }

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-title--white { color: var(--white); }

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    padding: 80px 0;
    background: var(--off-white);
}

.services-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.services-left .section-desc { margin-bottom: 28px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    transition: all var(--transition);
}

.service-item:hover {
    border-color: var(--gold);
    background: #fffbf0;
    transform: translateX(4px);
}

.service-item-icon { font-size: 1rem; }

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.sidebar-card ul li {
    font-size: 0.88rem;
    color: var(--text);
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.sidebar-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-dark);
    font-weight: 700;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
    padding: 80px 0;
    background: linear-gradient(160deg, var(--navy) 0%, var(--blue-mid) 100%);
}

.why-section .section-title { margin-bottom: 48px; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.why-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: left;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 166, 35, 0.5);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
    padding: 80px 0;
    background: var(--white);
}

.how-section .section-title { margin-bottom: 48px; text-align: center; }
.how-section .section-eyebrow { text-align: center; }

.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto 40px;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}

.step-content { max-width: 240px; }

.step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-connector {
    flex: 0 0 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    margin-top: 28px;
    opacity: 0.4;
}

.how-cta { text-align: center; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-number span { font-size: 0.7em; }

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--off-white);
}

.testimonials-section .section-eyebrow,
.testimonials-section .section-title { text-align: center; }
.testimonials-section .section-title { margin-bottom: 40px; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.reviewer {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
}

/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location-section { padding: 80px 0; background: var(--white); }

.location-section .section-eyebrow,
.location-section .section-title { text-align: center; }

.location-intro {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 640px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.location-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    text-align: center;
    transition: all var(--transition);
    cursor: default;
}

.location-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    background: var(--white);
}

.location-card-icon {
    font-size: 1.75rem;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.location-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.location-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta-section {
    padding: 80px 0;
    background: linear-gradient(160deg, var(--navy) 0%, var(--blue-mid) 100%);
    text-align: center;
}

.footer-cta-location {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-cta-title span { color: var(--gold); }

.footer-cta-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
    background: #071626;
    padding: 36px 0;
    border-top: 3px solid var(--gold);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 680px;
    line-height: 1.6;
}

.footer-disclaimer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 22, 38, 0.8);
    z-index: 9000;
    overflow-y: auto;
    padding: 40px 20px;
    backdrop-filter: blur(4px);
}

.modal:target { display: flex; align-items: flex-start; justify-content: center; }

.modal-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 680px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modal-slide-in 0.3s ease;
}

@keyframes modal-slide-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--off-white);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-weight: 700;
}

.modal-close:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.modal-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    padding-right: 40px;
}

.modal-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 20px 0 8px;
}

.modal-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

.modal-box ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 10px;
}

.modal-box ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 4px;
}

.modal-box a {
    color: var(--blue-mid);
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .services-inner {
        grid-template-columns: 1fr;
    }

    .services-right {
        width: 100%;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-connector {
        flex: 0 0 3px;
        width: 3px;
        height: 40px;
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-contact { align-items: center; }

    .hero { min-height: 480px; }

    .hero-content { padding: 60px 20px; }

    .emergency-inner { flex-direction: column; text-align: center; }

    .modal-box { padding: 28px 20px; }

    .top-bar-inner { gap: 6px 12px; }

    .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .why-grid { grid-template-columns: 1fr; }

    .cta-btn--large { padding: 14px 22px; font-size: 1rem; }
}
