/* =========================================
   ShieldGuard Pest Control | Style Guide
   ========================================= */

:root {
    /* Color Palette - Protective & Professional */
    --primary: #1d4ed8; /* Shield Blue */
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #0f172a; /* Slate Black */
    --accent: #eab308; /* Warning/Action Yellow */
    
    /* Neutral Colors */
    --text-main: #334155; /* Slate Gray */
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 800;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

/* Buttons */
.btn-primary {
    display: inline-block; background-color: var(--accent); color: var(--secondary);
    padding: 1rem 2.5rem; border-radius: var(--radius-sm); font-weight: 800;
    font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px;
    box-shadow: var(--shadow-sm); border: 2px solid var(--accent);
}
.btn-primary:hover { background-color: transparent; color: var(--accent); }

.btn-outline {
    display: inline-block; background-color: transparent; color: var(--bg-white);
    padding: 1rem 2.5rem; border-radius: var(--radius-sm); font-weight: 800;
    font-family: var(--font-heading); border: 2px solid var(--bg-white);
    text-transform: uppercase; letter-spacing: 1px;
}
.btn-outline:hover { background-color: var(--bg-white); color: var(--primary); }

/* Typography */
.section-subtitle { color: var(--primary); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.section-title { font-size: 2.8rem; margin-bottom: 1.5rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 1.2rem 0; z-index: 1000; background: var(--secondary); box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 900; font-family: var(--font-heading); color: var(--bg-white); display: flex; align-items: center; gap: 0.5rem;}
.logo i { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none;}
.nav-links a { color: var(--bg-white); font-weight: 600; font-size: 1rem; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; background-color: var(--primary); position: relative; overflow: hidden;}
.hero::before { content: ''; position: absolute; right: 0; top: 0; width: 50%; height: 100%; background: var(--primary-dark); transform: skewX(-15deg); transform-origin: top; z-index: 0;}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; color: var(--bg-white); line-height: 1.1;}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.2rem; color: #e2e8f0; margin-bottom: 2.5rem; font-weight: 500;}
.hero-image img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 4px solid var(--bg-white);}

/* Services */
.services-section { padding: 8rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }
.service-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border-top: 5px solid var(--primary);}
.service-image { height: 220px; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-content { padding: 2rem; }
.service-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Contact */
.contact-section { padding: 8rem 0; background: var(--bg-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-form { background: var(--bg-light); padding: 3rem; border-radius: var(--radius-md); border: 2px solid #e2e8f0; border-top: 5px solid var(--accent);}
.input-group { margin-bottom: 1.5rem; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 1rem; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); font-family: var(--font-body); }
.btn-submit { width: 100%; background: var(--secondary); color: var(--bg-white); padding: 1.2rem; font-weight: 800; text-transform: uppercase; border: none; cursor: pointer; border-radius: var(--radius-sm);}

/* Footer */
footer { background: var(--secondary); color: var(--bg-white); padding: 4rem 0 2rem; text-align: center;}
