/* ==========================================================================
   ODOURLESS PEST CONTROL - PREMIUM DESIGN SYSTEM & STYLESHEET
   Location: Rajpura, Patiala, Punjab
   Phone: 7740017732
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #15803d;        /* Deep Emerald Green */
    --color-primary-dark: #166534;   /* Forest Dark Green */
    --color-primary-light: #22c55e;  /* Vibrant Fresh Green */
    --color-primary-tint: #f0fdf4;   /* Light Mint Background */
    --color-accent-subtle: #dcfce7; /* Soft Green Pill Highlight */
    
    --color-slate-900: #0f172a;     /* Deep Slate Text */
    --color-slate-700: #334155;     /* Medium Slate Text */
    --color-slate-600: #475569;     /* Body Text */
    --color-slate-500: #64748b;     /* Subtext */
    --color-slate-100: #f1f5f9;     /* Light Gray Background */

    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --color-border-green: rgba(21, 128, 61, 0.18);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows & Elevation */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(21, 128, 61, 0.15);
    --shadow-btn: 0 10px 24px -6px rgba(21, 128, 61, 0.38);
    --shadow-btn-hover: 0 14px 28px -4px rgba(21, 128, 61, 0.48);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-slate-700);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   3. BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    outline: none;
}

.btn-icon {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

/* Header Button */
.btn-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.25);
}

.btn-header:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(21, 128, 61, 0.35);
}

.btn-header:hover .btn-icon {
    transform: rotate(12deg) scale(1.05);
}

/* Hero Large Button */
.btn-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 1.15rem 2.25rem;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-btn);
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-btn-hover);
    background: linear-gradient(135deg, #16a34a 0%, var(--color-primary-dark) 100%);
}

.btn-hero:hover .btn-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Contact Button */
.btn-contact {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-size: 1.05rem;
    box-shadow: var(--shadow-btn);
    width: 100%;
}

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

/* Sticky Mobile Call Button */
.btn-sticky-call {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    width: 100%;
    box-shadow: 0 8px 24px rgba(21, 128, 61, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-sticky-call:active {
    transform: scale(0.98);
}

/* --------------------------------------------------------------------------
   4. HEADER SECTION
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: contain;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-fast);
}

.brand-link:hover .header-logo {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-slate-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 5rem 0 6rem;
    background: radial-gradient(circle at 50% 0%, #ecfdf5 0%, #ffffff 70%);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-green);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#22c55e 0.75px, transparent 0.75px);
    background-size: 24px 24px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-graphic-accents {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    background-color: var(--color-primary-tint);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-full);
    color: var(--color-primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.06);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    color: var(--color-slate-900);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, 1.75rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.25rem);
    color: var(--color-slate-600);
    margin-bottom: 2.25rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 5rem 0 6rem;
    background-color: #f8fafc;
}

.contact-container {
    max-width: 680px;
}

.contact-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-4px);
}

.card-header-accent {
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.contact-card-body {
    padding: 3rem 2.5rem;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-subtext {
    color: var(--color-slate-500);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--color-primary-tint);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-md);
    text-align: left;
    transition: background-color var(--transition-fast);
}

.contact-item:hover {
    background-color: var(--color-accent-subtle);
}

.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(21, 128, 61, 0.12);
    flex-shrink: 0;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-slate-500);
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-slate-900);
    line-height: 1.3;
}

.phone-link {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.phone-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.contact-action-wrapper {
    width: 100%;
}

/* --------------------------------------------------------------------------
   7. FOOTER SECTION
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-slate-900);
    color: var(--color-slate-100);
    padding: 3.5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-address, .footer-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-phone-link {
    color: var(--color-primary-light);
    font-weight: 700;
    transition: color var(--transition-fast);
}

.footer-phone-link:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   8. MOBILE STICKY CALL BAR
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.85rem 1.25rem;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   9. MEDIA QUERIES & RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */

/* Tablet & Below */
@media (max-width: 768px) {
    .site-header {
        padding: 0.25rem 0;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .brand-sub {
        font-size: 0.72rem;
    }

    .header-logo {
        width: 44px;
        height: 44px;
    }

    .hero-section {
        padding: 3.5rem 0 4.5rem;
    }

    .hero-graphic-accents {
        display: none;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card-body {
        padding: 2rem 1.25rem;
    }

    .mobile-sticky-bar {
        display: block;
    }

    /* Padding bottom on body so content isn't covered by mobile sticky bar */
    body {
        padding-bottom: 70px;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Mobile Small Screens */
@media (max-width: 480px) {
    .btn-header {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }

    .btn-hero {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }
}
