/*
Theme Name: Soleil Energy
Theme URI: https://soleilenergycorp.com
Author: Soleil Energy Corp
Description: Custom theme for Soleil Energy Corp
Version: 1.0
*/

:root {
    --black: #0A0A0A;
    --dark: #111111;
    --card: #1A1A1A;
    --green: #4CAF50;
    --green-light: #8BC34A;
    --yellow: #CDDC39;
    --orange: #F5A623;
    --white: #FFFFFF;
    --gray: #AAAAAA;
    --border: rgba(255,255,255,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* NAV */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray); font-size: 0.875rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.book-btn {
    background: var(--orange); color: var(--white);
    padding: 0.6rem 1.6rem; border-radius: 6px;
    text-decoration: none; font-size: 0.875rem; font-weight: 600;
    transition: all 0.2s;
}
.book-btn:hover { background: #E8951A; transform: translateY(-1px); }

/* HERO */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.65) 60%, rgba(10,10,10,1) 100%),
        url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1600&q=80') center/cover no-repeat;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 7rem 2rem 4rem;
}
.hero-logo { height: 140px; width: auto; margin-bottom: 1.5rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); padding: 0.5rem 1.25rem;
    border-radius: 50px; font-size: 0.8rem; font-weight: 500;
    margin-bottom: 2rem; letter-spacing: 0.03em;
}
.hero-badge span { color: var(--yellow); }
.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.95; color: var(--white);
    margin-bottom: 1.5rem; letter-spacing: 0.02em;
}
.hero p {
    font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.75);
    max-width: 580px; margin: 0 auto 2.5rem; font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-primary {
    background: var(--orange); color: var(--white);
    padding: 0.9rem 2.2rem; border-radius: 6px;
    text-decoration: none; font-weight: 600; font-size: 0.95rem;
    transition: all 0.2s;
}
.btn-primary:hover { background: #E8951A; transform: translateY(-2px); }
.btn-ghost {
    border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
    padding: 0.9rem 2.2rem; border-radius: 6px;
    text-decoration: none; font-weight: 400; font-size: 0.95rem;
    transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

/* STATS */
.stats-bar {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem; text-align: center;
}
.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem; color: var(--green-light); line-height: 1; margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.8rem; color: var(--gray); font-weight: 300; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
    display: inline-block;
    background: rgba(76,175,80,0.15); color: var(--green-light);
    border: 1px solid rgba(76,175,80,0.3);
    padding: 0.3rem 1rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 1rem;
}
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05;
    color: var(--white); margin-bottom: 1rem; letter-spacing: 0.02em;
}
.section-sub { font-size: 0.95rem; color: var(--gray); line-height: 1.7; max-width: 540px; font-weight: 300; }

/* SERVICES */
.services { background: var(--dark); }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px; margin-top: 3rem;
    border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.service-card { background: var(--card); padding: 2rem; transition: background 0.2s; }
.service-card:hover { background: #222; }
.service-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem; color: var(--white); margin-bottom: 0.75rem; letter-spacing: 0.03em;
}
.service-card p { color: var(--gray); font-size: 0.875rem; line-height: 1.7; font-weight: 300; }

/* HOW */
.how { background: var(--black); }
.steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.step { text-align: center; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    border: 2px solid var(--green); color: var(--green);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}
.step h3 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.step p { font-size: 0.825rem; color: var(--gray); line-height: 1.6; font-weight: 300; }

/* WHY */
.why { background: var(--dark); }
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem; margin-top: 3rem;
}
.why-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem; border-radius: 8px;
    background: var(--card); border: 1px solid var(--border);
}
.why-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); margin-top: 6px; flex-shrink: 0; }
.why-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.3rem; }
.why-item p { font-size: 0.825rem; color: var(--gray); line-height: 1.6; font-weight: 300; }

/* TESTIMONIALS */
.testimonials { background: var(--black); }
.testi-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.testi-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.75rem;
}
.testi-stars { color: var(--yellow); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card p { color: rgba(255,255,255,0.75); font-size: 0.875rem; line-height: 1.7; font-weight: 300; margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--green); display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.8rem; color: var(--black);
}
.testi-name { font-size: 0.875rem; font-weight: 500; color: var(--white); }
.testi-loc { font-size: 0.75rem; color: var(--gray); }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #0D2B0D 0%, #1A3A1A 100%);
    border-top: 1px solid rgba(76,175,80,0.2);
    border-bottom: 1px solid rgba(76,175,80,0.2);
    text-align: center; padding: 5rem 2rem;
}
.cta-section p { color: var(--gray); max-width: 500px; margin: 1rem auto 2rem; font-weight: 300; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CONTACT */
.contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; align-items: start; }
.contact-info h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--white); margin-bottom: 1.5rem; letter-spacing: 0.03em; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-item h4 { font-size: 0.825rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item p { font-size: 0.85rem; color: var(--gray); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.75rem; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select, .form-group textarea {
    padding: 0.75rem 1rem; border-radius: 6px;
    border: 1px solid var(--border); background: #1E1E1E;
    color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.875rem;
    outline: none; transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group select option { background: #1E1E1E; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn {
    background: var(--orange); color: var(--white);
    padding: 0.85rem 2rem; border-radius: 6px; border: none;
    cursor: pointer; font-family: 'Inter', sans-serif;
    font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
    align-self: flex-start;
}
.submit-btn:hover { background: #E8951A; transform: translateY(-2px); }

/* FOOTER */
footer {
    background: #050505; color: var(--gray);
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; max-width: 1100px; margin: 0 auto 2rem;
}
.footer-logo { height: 56px; width: auto; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; font-weight: 300; max-width: 220px; }
.footer-col h4 { color: var(--white); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--gray); text-decoration: none; font-size: 0.825rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom {
    max-width: 1100px; margin: 0 auto;
    padding-top: 1.5rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.775rem;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
