@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Radley:ital@0;1&display=swap');

:root {
    --bg-light: #f7fdff;
    --text-dark: #2a2e30;
    --primary: #1e8938;
    --secondary: #92efff;
    --tertiary: #e3ffcb;
    --font-header: 'Arsenal', sans-serif;
    --font-body: 'Radley', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    font-weight: 700;
}

/* Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(247, 253, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-header);
    font-weight: 700;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

.cta-btn {
    background-color: var(--primary);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    font-family: var(--font-header);
    font-weight: 700;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 137, 56, 0.4);
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background-image: linear-gradient(rgba(42, 46, 48, 0.6), rgba(42, 46, 48, 0.6)), url('assets/lawn_care_hero_1772477221483.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-content {
    max-width: 600px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services */
.services {
    padding: 5rem 5%;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Chatbot Pitch Section */
.chatbot-pitch {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.chatbot-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.chatbot-content h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.chatbot-content h2 span {
    color: var(--text-dark);
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.pricing-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(146, 239, 255, 0.5);
    margin-top: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.price-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.price-item strong {
    color: var(--primary);
    margin-right: 0.5rem;
}

.price-item:last-child {
    margin-bottom: 0;
}

.chatbot-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.floating-bot {
    width: 320px;
    height: 440px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(146, 239, 255, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    border: 2px solid var(--secondary);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.bot-header {
    background: var(--primary);
    color: #fff;
    padding: 1.2rem;
    text-align: center;
    font-family: var(--font-header);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bot-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-light);
}

.msg-bubble {
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    max-width: 85%;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.msg-bot {
    background: var(--tertiary);
    align-self: flex-start;
    border-bottom-left-radius: 0;
    border: 1px solid rgba(30, 137, 56, 0.2);
}

.msg-user {
    background: var(--secondary);
    align-self: flex-end;
    border-bottom-right-radius: 0;
    color: var(--text-dark);
}

.bot-input {
    padding: 1rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 0.5rem;
}

.bot-input input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    font-family: var(--font-body);
}

.bot-input button {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: #fff;
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.credits {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: background 0.3s, transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.credits:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.credits img {
    height: 40px;
    object-fit: contain;
}

/* Decoration */
.blob {
    position: absolute;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.4;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    border-radius: 50%;
}

.blob-2 {
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--tertiary);
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .chatbot-pitch {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 3rem;
    }

    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        margin-top: 1rem;
    }
}