/* ============================================
   ERADICPRO - STYLESHEET
   Premium Pest Control B2B Website
   ============================================ */

/* CSS VARIABLES */
:root {
    --color-dark: #050505;
    --color-darker: #0a0a0a;
    --color-red: #D50000;
    --color-white: #FFFFFF;
    --color-gray-dark: #111111;
    --color-gray-light: #f5f5f5;
    --color-text: #e0e0e0;

    --font-size-title: 3.5rem;
    --font-size-subtitle: 1.5rem;
    --font-size-text: 1rem;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: var(--transition);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.text-red { color: var(--color-red); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    border-bottom: 1px solid rgba(213, 0, 0, 0.2);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    color: var(--color-white);
}

.logo-text .pro {
    color: var(--color-red);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.btn-devis {
    background: var(--color-red);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(213, 0, 0, 0.3);
    transition: var(--transition);
}

.btn-devis:hover {
    background: #b30000;
    box-shadow: 0 0 30px rgba(213, 0, 0, 0.6);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    padding: 0;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--color-dark);
    overflow: hidden;
    padding-top: 80px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/hero-technician.jpg') center/cover;
    opacity: 0.35;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.8), rgba(213, 0, 0, 0.1));
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    padding: 3rem 2rem;
    position: relative;
    z-index: 3;
    margin-left: 2rem;
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--color-red);
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease-out;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--color-text);
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(213, 0, 0, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    background: #b30000;
    box-shadow: 0 0 40px rgba(213, 0, 0, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 1rem 2rem;
    border: 2px solid var(--color-white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--color-red);
    border-radius: 2px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.8rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* SECTIONS */
section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 5;
}

.section-dark {
    background: var(--color-dark);
}

.section-light {
    background: var(--color-darker);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 6vw, 3.5rem);
}

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

/* CARDS GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(213, 0, 0, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(213, 0, 0, 0.1), transparent);
    transition: var(--transition);
    z-index: -1;
}

.card:hover {
    border-color: var(--color-red);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(213, 0, 0, 0.2);
}

.card:hover::before {
    left: 100%;
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: block;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
}

.card-list {
    list-style: none;
    margin-top: 1rem;
}

.card-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-weight: bold;
}

/* PRICING CARDS */
.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(213, 0, 0, 0.2);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--color-red);
    background: rgba(213, 0, 0, 0.05);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--color-red);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    text-transform: uppercase;
    font-weight: 900;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-red);
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.pricing-list {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-list li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--color-text);
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-weight: bold;
}

/* FORM */
form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

input, textarea, select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(213, 0, 0, 0.2);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(213, 0, 0, 0.2);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-red);
}

.form-group.full {
    grid-column: 1 / -1;
}

/* FOOTER */
footer {
    background: var(--color-darker);
    border-top: 1px solid rgba(213, 0, 0, 0.2);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-red);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--color-red);
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text);
}

.footer-bottom {
    border-top: 1px solid rgba(213, 0, 0, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    :root {
        --font-size-title: 2rem;
        --font-size-subtitle: 1.2rem;
    }

    header {
        padding: 1rem;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        border-bottom: 1px solid rgba(213, 0, 0, 0.2);
        z-index: 999;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 0.5rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        margin-left: 0;
        padding: 2rem 1rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-badges {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        height: 35px;
    }

    .btn-devis {
        padding: 0.6rem 1rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    header {
        padding: 0.75rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    nav {
        padding: 1rem;
    }

    .btn-devis {
        display: none;
    }

    section {
        padding: 2rem 1rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .grid {
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .badge {
        padding: 0.75rem;
        gap: 10px;
    }

    .badge-icon {
        font-size: 1.5rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
  header {
    position: relative;
  }

  header nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #050505;
    padding: 25px;
    gap: 20px;
    z-index: 9999;
  }

  header nav.active a {
    color: #ffffff;
    font-size: 18px;
  }
}