﻿:root {
    --forest: #173c27;
    --forest-dark: #102b1c;
    --forest-light: #285c3a;
    --leaf: #82a95a;
    --gold: #c99b55;
    --cream: #f8f7f1;
    --white: #ffffff;
    --text: #333b32;
    --muted: #70786d;
    --shadow: 0 15px 45px rgba(20, 45, 28, 0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--cream);
    overflow-x: hidden;

        background-image:
        linear-gradient(
            rgba(12, 35, 20, 0.30),
            rgba(12, 35, 20, 0.30)
        ),
        url('../images/landscaping-background.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

}


/*Sections css */
/* MAIN PAGE SECTION BACKGROUNDS */

.highlights {
    background: rgba(255, 255, 255, 0.90);
}

.about-section {
    background: rgba(255, 255, 255, 0.86);
}

.services-section {
    background: rgba(255, 255, 255, 0.88);
}

.contact-section {
    background: rgba(255, 255, 255, 0.88);
}

/* SECTION SPACING */

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* SCENIC DIVIDER */

.scenic-divider {
    position: relative;
    min-height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    overflow: hidden;
}

.scenic-overlay {
    position: absolute;
    inset: 0;

    background: rgba(15, 45, 25, 0.48);
}

.scenic-content {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;

    padding-top: 70px;
    padding-bottom: 70px;
}
.about-section {
    margin-bottom: 10em;
}

.services-section {
    margin-bottom: 10em;
}

.contact-section {
    margin-bottom: 2em;
}

.highlights{
    margin-bottom: 5em;
}

/* body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;

    background-image:
        linear-gradient(
            rgba(12, 35, 20, 0.30),
            rgba(12, 35, 20, 0.30)
        ),
        url('../images/landscaping-background.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
} */

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

.section-padding {
    padding: 110px 0;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16, 43, 28, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
}

.brand img {
    width: 310px;
    max-height: 80px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #b5d68c;
}

.main-nav .nav-cta {
    background: var(--gold);
    color: var(--forest-dark);
    padding: 12px 20px;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    margin: 5px;
    border-radius: 3px;
}

/* HERO */

.hero {
    min-height: 690px;
    position: relative;
    display: flex;
    align-items: center;
    background:
        url('../images/hero-tree-service.jpg')
        center 45% / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(9, 31, 17, 0.91),
        rgba(15, 47, 26, 0.65),
        rgba(9, 31, 17, 0.12)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 100px 0;
}

.eyebrow,
.section-label {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.13;
    max-width: 780px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #b8d98f;
}

.hero-content > p {
    max-width: 580px;
    font-size: 17px;
    color: rgba(255,255,255,0.86);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 27px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--forest-dark);
}

.btn-primary:hover {
    background: #e0b879;
    transform: translateY(-3px);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: white;
    color: var(--forest);
}

.btn-light {
    background: white;
    color: var(--forest);
}

.hero-caption {
    margin-top: 55px;
    color: #d0dfc4;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* HIGHLIGHTS */

.highlights {
    background: var(--forest);
    color: white;
    padding: 30px 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.highlight-icon {
    font-size: 34px;
}

.highlight-item h3 {
    font-size: 16px;
}

.highlight-item p {
    color: #c6d5c5;
    font-size: 12px;
}

/* ABOUT */

.about-section {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
}

.about-image {
    position: relative;
}

.about-image > img {
    width: 100%;
    height: 490px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.image-accent {
    position: absolute;
    bottom: -25px;
    right: -20px;
    padding: 20px 28px;
    background: var(--forest);
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: var(--shadow);
}

.image-accent span {
    font-size: 10px;
    letter-spacing: 3px;
}

.image-accent strong {
    color: #b8d98f;
    font-size: 20px;
}

.about-content h2,
.section-heading h2,
.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.2;
    color: var(--forest);
    margin-bottom: 25px;
}

.about-content h2 span,
.section-heading h2 span,
.contact-info h2 span {
    color: var(--leaf);
    display: block;
}

.about-content p {
    margin-bottom: 17px;
    color: var(--muted);
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 800;
    color: var(--forest-light);
}

/* SCENIC DIVIDER */

.scenic-divider {
    min-height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url('../images/landscaping-background.jpg')
        center / cover no-repeat fixed;
}

.scenic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 40, 23, 0.67);
}

.scenic-content {
    position: relative;
    text-align: center;
    color: white;
}

.scenic-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 49px);
    margin-bottom: 15px;
}

.scenic-content p {
    color: #e1ead9;
    font-size: 17px;
}

/* SERVICES */

.services-section {
    background:
        linear-gradient(
            rgba(248, 247, 241, 0.95),
            rgba(248, 247, 241, 0.95)
        );
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-heading > p {
    color: var(--muted);
}

.section-heading h2 {
    margin-bottom: 15px;
}

.section-heading h2 span {
    display: inline;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
}

.service-card > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 27px;
}

.service-number {
    color: var(--leaf);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
}

.service-content h3 {
    color: var(--forest);
    font-size: 21px;
    margin: 10px 0;
}

.service-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-content a {
    color: var(--forest-light);
    font-size: 13px;
    font-weight: 800;
}

.service-text-card {
    border-top: 4px solid var(--leaf);
    min-height: 250px;
}

.service-disclaimer {
    margin-top: 28px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

/* CTA */

.cta-section {
    background: var(--forest);
    padding: 75px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta-content h2 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: clamp(27px, 4vw, 39px);
    margin-bottom: 10px;
}

.cta-content p {
    color: #d2dfd0;
}

/* CONTACT */

.contact-section {
    background: #f2f0e8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.contact-info > p {
    color: var(--muted);
    margin-bottom: 25px;
}

.contact-detail {
    padding: 17px 0;
    border-bottom: 1px solid #dedfd4;
}

.contact-detail strong {
    color: var(--forest);
}

.contact-detail p {
    color: var(--muted);
}

.contact-panel {
    background: white;
    padding: 55px 40px;
    text-align: center;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.contact-panel-icon {
    font-size: 55px;
}

.contact-panel h3 {
    color: var(--forest);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 15px 0;
}

.contact-panel p {
    color: var(--muted);
    margin-bottom: 25px;
}

/* FOOTER */

.site-footer {
    background: var(--forest-dark);
    color: white;
    padding: 55px 0 25px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.footer-brand img {
    width: 260px;
    background: white;
    padding: 7px;
    border-radius: 3px;
}

.footer-brand p {
    color: #b9cbb9;
    margin-top: 15px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-links a {
    font-size: 13px;
    color: #d3dfd0;
}

.copyright {
    width: 100%;
    text-align: center;
    padding-top: 25px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.13);
    font-size: 12px;
    color: #aebfac;
}

/* MOBILE CALL BUTTON */

.mobile-call-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 18px;
    z-index: 2000;
    padding: 14px 22px;
    border-radius: 50px;
    background: #d69e46;
    color: #183521;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    gap: 9px;
    align-items: center;
}

/* RESPONSIVE DESIGN */

@media (max-width: 950px) {

    .brand img {
        width: 255px;
    }

    .main-nav {
        gap: 16px;
    }

    .about-grid {
        gap: 45px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .section-padding {
        padding: 75px 0;
    }

    .navigation {
        min-height: 78px;
    }

    .brand img {
        width: 245px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: var(--forest-dark);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5% 25px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav .nav-cta {
        margin-top: 12px;
        text-align: center;
    }

    .hero {
        min-height: 600px;
        background-position: center;
    }

    .hero-content {
        padding: 75px 0;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .highlight-item {
        justify-content: flex-start;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image > img {
        height: 350px;
    }

    .image-accent {
        right: 10px;
    }

    .scenic-divider {
        background-attachment: scroll;
        min-height: 300px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 15px;
    }

    .mobile-call-button {
        display: none;
    }

}

@media (max-width: 560px) {

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

    .hero h1 {
        font-size: 43px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .contact-panel {
        padding: 35px 20px;
    }

    .brand img {
        width: 220px;
    }

    .footer-brand img {
        width: 230px;
    }

}

/* ============================================================
   FLORIDA SPACE COAST DESIGN UPDATE
   Rick's Tree Works and Landscaping LLC
   ============================================================ */

:root {

    --forest: #123e4a;
    --forest-dark: #102d38;
    --forest-light: #1c6570;

    --leaf: #65a77b;

    --gold: #e5a451;

    --cream: #fbf8ef;
    --white: #ffffff;

    --text: #34434a;
    --muted: #6e7c80;

    --shadow: 0 15px 45px rgba(20, 55, 65, 0.12);

}

/* GENERAL BACKGROUND */

body {

    background-color: #fbf8ef;
    color: #34434a;

}

/* HEADER */

.site-header {

    background: rgba(16, 45, 56, 0.98);

}

.main-nav a:hover {

    color: #e5b66e;

}

.main-nav .nav-cta {

    background: #e5a451;
    color: #183b43;

}

/* HERO */

.hero {

    background:
        linear-gradient(
            90deg,
            rgba(9, 35, 44, 0.91),
            rgba(12, 55, 62, 0.53),
            rgba(10, 42, 48, 0.16)
        ),
        url('../images/hero-tree-service.jpg')
        center 45% / cover no-repeat;

}

.hero-overlay {

    background:
        linear-gradient(
            90deg,
            rgba(9, 35, 44, 0.55),
            rgba(9, 35, 44, 0.12)
        );

}

.hero h1 span {

    color: #b9dba7;

}

.eyebrow,
.section-label {

    color: #e5aa60;

}

.btn-primary {

    background: #e5a451;
    color: #183b43;

}

.btn-primary:hover {

    background: #f2bd78;

}

.btn-outline {

    border-color: rgba(255,255,255,0.85);

}

/* HIGHLIGHTS */

.highlights {

    background: #164b56;

}

.highlight-icon {

    color: #a9d4bd;

}

/* ABOUT */

.about-section {

    background: #fbf8ef;

}

.about-content h2,
.section-heading h2,
.contact-info h2 {

    color: #164552;

}

.about-content h2 span,
.section-heading h2 span,
.contact-info h2 span {

    color: #6a9b76;

}

.text-link {

    color: #246b70;

}

/* IMAGE ACCENT */

.image-accent {

    background: #164b56;

}

.image-accent strong {

    color: #f0bd76;

}

/* FLORIDA LANDSCAPE BACKGROUND */

.scenic-divider {

    background:
        linear-gradient(
            rgba(13, 55, 59, 0.42),
            rgba(13, 55, 59, 0.52)
        ),
        url('../images/landscaping-background.jpg')
        center 48% / cover no-repeat;

    min-height: 400px;

}

/* SERVICES */

.services-section {

    background-color: #f6f3e9;

}

.service-card {

    background: #ffffff;

    border: 1px solid #e9e5d9;

}

.service-card:hover {

    box-shadow: 0 20px 40px rgba(20, 65, 70, 0.16);

}

.service-number {

    color: #6a9b76;

}

.service-content h3 {

    color: #164552;

}

.service-content a {

    color: #247078;

}

.service-text-card {

    border-top: 4px solid #6a9b76;

}

/* CALL TO ACTION */

.cta-section {

    background:
        linear-gradient(
            110deg,
            #123e4a,
            #1d6570
        );

}

.cta-content .section-label {

    color: #efbd7a;

}

.btn-light {

    background: #ffffff;
    color: #164552;

}

/* CONTACT */

.contact-section {

    background: #f1eee3;

}

.contact-panel {

    border-top: 5px solid #6a9b76;

}

.contact-panel h3 {

    color: #164552;

}

/* FOOTER */

.site-footer {

    background: #102d38;

}

.footer-brand img {

    background: #ffffff;

}

/* MOBILE CALL BUTTON */

.mobile-call-button {

    background: #e5a451;
    color: #183b43;

}

/* RESPONSIVE IMAGE ADJUSTMENTS */

@media (max-width: 768px) {

    .hero {

        background-position: 58% center;

    }

    .scenic-divider {

        background-attachment: scroll;

        background-position: center;

    }

}

