/* 
 * Cleaning Company Website - BlueSpring Reference Style
 */

:root {
    --primary: #1F4D36; 
    --primary-light: #2D6A4F;
    --accent: #A7F308;
    --accent-hover: #96DA07;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    
    --radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Grid System */
.grid { display: grid; gap: 2.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Navigation Upgrade */
.navbar {
    background: var(--white);
    height: 130px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

.navbar.scrolled {
    height: 95px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
}

.logo img { height: 85px; width: auto; transition: all 0.3s ease; }
.logo .tagline { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-top: 0.25rem; }

.nav-links { display: flex; gap: 3rem; align-items: center; font-weight: 600; font-size: 1.05rem; }
.nav-links a:hover { color: var(--primary); }

.badge {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(167, 243, 8, 0.08); /* Dark subtle green */
    color: var(--accent);
    border: 1px solid rgba(167, 243, 8, 0.3); /* The accent lime color */
    border-radius: 999px; /* Pill shape */
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(167, 243, 8, 0.1);
    animation: fadeIn 1s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(167, 243, 8, 0.4); }

.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }

/* Hero Section */
.hero { 
    padding: 6rem 0 8rem; 
    background: var(--primary); 
    color: var(--white); 
    position: relative;
    overflow: hidden;
}

.hero-flex { display: flex; align-items: center; gap: 4rem; position: relative; z-index: 2; }
.hero-content { flex: 1.2; }
.hero-image { flex: 0.8; }
.hero-image img { width: 110%; transform: scale(1.1); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3)); }

.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2rem; line-height: 1.1; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 3rem; max-width: 600px; }

/* Floating Cards Area */
.floating-cards {
    margin-top: -6rem;
    position: relative;
    z-index: 10;
}

.float-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(167, 243, 8, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.float-card:hover { transform: translateY(-10px); }

/* Forms Premium */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-dark); }

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
}

/* Sections */
section { padding: 8rem 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.section-header { max-width: 800px; margin: 0 auto 5rem; }

.section-header h2 { font-size: 2.75rem; color: var(--primary); margin-bottom: 1.5rem; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* Cards & Components */
.card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial-track { display: flex; gap: 2rem; overflow-x: auto; padding: 2rem 0; scroll-snap-type: x mandatory; }
.testimonial-card-premium {
    min-width: 380px;
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

/* Custom Banner CTA */
.cta-banner-green {
    background: var(--primary);
    border-radius: 40px;
    padding: 6rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    overflow: hidden;
    position: relative;
}

/* Footer */
.footer { background: var(--primary); color: white; padding: 6rem 0 3rem; }
.footer-logo { margin-bottom: 2rem; }
.footer h4 { color: white; margin-bottom: 2rem; font-size: 1.15rem; }
.footer ul li { margin-bottom: 1rem; }
.footer a { opacity: 0.8; }
.footer a:hover { opacity: 1; color: var(--accent); }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
