/*
Theme Name: Chill Byte Theme
Author: Chill Byte
Version: 4.2 (Typography Standardization)
*/

:root {
    --evergreen: #143731;
    --lime-cream: #CEFF8C;
    --white: #ffffff;
    --dark-green: #1a453d;
}

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

html {
    scroll-behavior: smooth;
}

/* --- UPDATED BODY --- */
/* Merged your layout settings with the new Font Standardization */
body {
    background-color: var(--evergreen);
    color: var(--white);
    overflow-x: hidden; 
    width: 100%;
    -webkit-overflow-scrolling: touch; 
    
    /* Typography Updates */
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; /* Standardized size (approx 18px) */
    font-weight: 400;
    line-height: 1.6;
}

/* Added: Ensures paragraphs have nice breathing room */
p {
    margin-bottom: 1.5rem;
}

/* Added: Standardizes the "Lead" text (Intro paragraphs & Sub-headlines) */
.sub-headline, 
.description-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    max-width: 800px;
}

h1, h2, h3, .logo { 
    font-family: 'Space Grotesk', sans-serif; 
    text-transform: uppercase; 
}

/* --- HEADER & NAVIGATION --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(20, 55, 49, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 5%; 
    border-bottom: 1px solid rgba(206, 255, 140, 0.1);
}

/* --- LOGO & LINKS --- */
.logo { 
    font-size: 1.6rem; 
    text-decoration: none; 
    font-weight: 800; 
    color: var(--lime-cream); 
}

.main-nav ul { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
}

.main-nav a { 
    color: var(--lime-cream);
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    font-weight: 700; 
    letter-spacing: 1px;
    transition: 0.3s;
}

.main-nav a:hover { 
    color: var(--white) !important; 
    text-shadow: 0 0 10px rgba(206, 255, 140, 0.4);
}

.menu-toggle { 
    display: none; 
    font-size: 2.5rem; 
    color: var(--lime-cream);
    cursor: pointer; 
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 5%;
}

h1 { 
    font-size: clamp(2.5rem, 7vw, 6.0rem); 
    color: var(--lime-cream); 
    line-height: 1.1; 
    letter-spacing: -1px; 
}

/* --- SERVICES (Cards) --- */
.services { 
    background-color: var(--lime-cream); 
    color: var(--evergreen); 
    padding: 120px 5%; 
    border-radius: 40px 40px 40px 40px; 
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    margin-top: 60px;
    width: 100%;
}

.service-card {
    background: rgba(20, 55, 49, 0.06);
    padding: 40px;
    border-radius: 28px;
    border: 1px solid rgba(20, 55, 49, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-12px) !important; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.service-card h3 { 
    color: var(--evergreen); 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 22px 55px;
    background-color: var(--lime-cream);
    color: var(--evergreen);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 100px;
    transition: 0.3s;
    border: 2px solid var(--lime-cream);
}

.btn:hover { 
    background: transparent; 
    color: var(--lime-cream); 
    transform: scale(1.05); 
}

/* --- PAGE TITLES --- */
.massive-title {
    font-size: clamp(3.0rem, 8vw, 6rem); 
    line-height: 1;
    margin-bottom: 40px;
    display: inline-block;
    position: relative;
    color: var(--evergreen);
}
.massive-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 12px; 
    background-color: var(--evergreen);
}
.massive-title.lime-version { color: var(--lime-cream); }
.massive-title.lime-version::after { background-color: var(--lime-cream); }

/* --- CONTAINER --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px; 
    width: 100%;
}

/* --- HOW WE WORK (Bullet Proof) --- */
#how-we-work {
    background-color: var(--dark-green);
    padding: 120px 0;
    color: var(--white);
	border-radius: 40px 40px 0 0;
}

.how-we-work-list {
    list-style: none !important; 
    padding: 0 !important;        
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
}

.how-we-work-list li {
    list-style: none !important;
    list-style-type: none !important;
    font-family: 'Space Grotesk', sans-serif;
    /* UPDATED: Slightly smaller so long text fits better */
    font-size: clamp(1.3rem, 3vw, 1.8rem); 
    font-weight: 400;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: baseline;
    gap: 30px; 
    transition: padding 0.3s ease;
}

.how-we-work-list li::before,
.how-we-work-list li::marker {
    content: none !important;
    display: none !important;
}

.how-we-work-list li:hover {
    padding-left: 20px;
    background: rgba(255,255,255,0.02);
}

.step-num {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--lime-cream);
    letter-spacing: 2px;
    min-width: 40px; 
}
/* --- CONTACT FORM STYLING (UPDATED) --- */

/* 1. Layout: Side-by-Side Name and Email */
.form-row {
    display: flex;
    gap: 20px; /* Space between Name and Email */
    width: 100%;
}

.form-col {
    flex: 1; /* Makes them equal width */
    width: 100%;
}

/* 2. Input & Textarea Styling (Clean & Transparent) */
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
    width: 100%;
    padding: 12px 0; /* Minimal padding, mostly bottom */
    margin-bottom: 25px;
    
    /* Transparent Background style */
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--evergreen); /* Only bottom border for modern look */
    border-radius: 0;
    
    /* Font Styles */
    font-family: 'Inter', sans-serif;
    color: var(--evergreen);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: 0.3s;
}

/* Focus Effect: Change border color or opacity */
.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border-bottom-color: rgba(20, 55, 49, 0.5);
    background: transparent;
}

/* Label Styling */
.wpcf7 label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--evergreen);
    letter-spacing: 1px;
}

/* 3. Submit Button Styling */
.contact-form-container input[type="submit"] {
    background: var(--evergreen);
    color: var(--lime-cream);
    padding: 15px 40px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--evergreen);
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
    width: auto; /* Allow button to be natural width */
    display: inline-block;
}

.contact-form-container input[type="submit"]:hover {
    background: transparent;
    color: var(--evergreen);
}

/* 4. Mobile Fix: Stack them on phones */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* --- REVEAL ANIMATIONS --- */
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: all 0.8s ease-out; 
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- CONTACT PAGE SPECIFIC FIXES --- */

/* 1. Header Background on Contact Page */
body.page-template-contact-page header {
    background-color: var(--evergreen);
    border-bottom: 1px solid rgba(206, 255, 140, 0.2);
}

/* 2. Content Spacing on Contact Page */
body.page-template-contact-page section:first-of-type, 
body.page-template-contact-page main {
    padding-top: 150px;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--evergreen);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 9998;
    }
    .main-nav.active { right: 0; }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .main-nav a { font-size: 2rem; color: var(--lime-cream) !important; }
    
    section { padding: 80px 0 !important; }
    .service-grid { grid-template-columns: 1fr; } 
    h1 { font-size: 3.5rem; }

    .how-we-work-list li { flex-direction: column; gap: 10px; padding: 30px 0; }
    .how-we-work-list li:hover { padding-left: 0; }
}
/* Hamburger Menu over logo Fix - CSS */

.logo, .custom-logo-link, .site-branding {
    position: relative; /* Essential for z-index to work */
    z-index: 9999;      /* 1 level higher than the menu's 9998 */
}

/* Also make sure your hamburger/close button stays on top */
.menu-toggle {
    z-index: 9999; 
}
/* --- CONTACT FORM ALERTS & MESSAGES --- */

/* The main success/error box at the bottom */
.wpcf7-response-output {
    color: var(--evergreen) !important; /* Force Dark Green text */
    border: 2px solid var(--evergreen) !important; /* Green border frame */
    background: rgba(20, 55, 49, 0.05) !important; /* Subtle background */
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 12px;
    padding: 20px !important;
    text-align: center;
    margin: 30px 0 0 0 !important; /* Spacing from the button */
}

/* Validation errors (the small text under fields if you miss one) */
.wpcf7-not-valid-tip {
    color: var(--evergreen) !important;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
}