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

body {
    font-family: "Vazirmatn", Tahoma, sans-serif;
    background: #f6faf5;
    color: #18321f;
    line-height: 1.8;
}


/* =========================
   HEADER
========================= */

.landscape-header {
    height: 80px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5eee5;
}

.back-btn {
    text-decoration: none;
    color: #315c3b;
    font-size: 14px;
    transition: 0.3s;
}

.back-btn:hover {
    color: #168344;
    transform: translateX(4px);
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    font-size: 35px;
}

.header-title h1 {
    font-size: 21px;
}

.header-title p {
    font-size: 12px;
    color: #78907e;
}


/* =========================
   HERO
========================= */

.landscape-hero {
    min-height: 620px;
    padding: 80px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #edf8ed,
            #ffffff
        );
}

.hero-content {
    animation: heroText 1s ease forwards;
}

.hero-label {
    display: inline-block;
    margin-bottom: 15px;
    padding: 5px 13px;
    border-radius: 30px;
    background: #e0f2e2;
    color: #368047;
    font-size: 11px;
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-content h2 strong {
    display: block;
    color: #23823e;
}

.hero-content p {
    max-width: 550px;
    color: #637668;
    font-size: 16px;
    margin-bottom: 35px;
}

.start-design-btn {
    border: none;
    padding: 15px 28px;
    border-radius: 12px;
    background: #23823e;
    color: white;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(35, 130, 62, 0.22);
    transition: 0.3s;
}

.start-design-btn span {
    display: inline-block;
    margin-right: 10px;
    transition: 0.3s;
}

.start-design-btn:hover {
    transform: translateY(-4px);
}

.start-design-btn:hover span {
    transform: translateY(4px);
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 35px;
    background: linear-gradient(
        #ccebd3,
        #f5f7e8
    );
    box-shadow: 0 25px 70px rgba(28, 74, 38, 0.13);
}

.sun {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 55px;
    right: 70px;
    border-radius: 50%;
    background: #f7d978;
    box-shadow: 0 0 50px rgba(247, 217, 120, 0.5);
}

.mountain {
    position: absolute;
    bottom: 120px;
    width: 500px;
    height: 220px;
    transform: rotate(45deg);
    border-radius: 40px;
}

.mountain-back {
    left: -100px;
    background: #a7cda8;
}

.mountain-front {
    right: -140px;
    background: #8ebd94;
}

.ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 145px;
    background: #4d8c4f;
    border-radius: 50% 50% 0 0 / 25% 25% 0 0;
}


/* trees */

.tree {
    position: absolute;
    bottom: 90px;
}

.tree-top {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #286b38;
    box-shadow:
        25px 15px 0 #357b42,
        -25px 20px 0 #3d8549;
}

.tree-trunk {
    width: 18px;
    height: 60px;
    margin: -5px auto 0;
    background: #795538;
}

.tree-1 {
    right: 17%;
    transform: scale(1.15);
}

.tree-2 {
    right: 47%;
    transform: scale(.8);
}

.tree-3 {
    left: 12%;
    transform: scale(.65);
}

.flower {
    position: absolute;
    bottom: 35px;
    font-size: 30px;
}

.flower-1 {
    right: 30%;
}

.flower-2 {
    right: 60%;
}

.flower-3 {
    left: 25%;
}


/* =========================
   DESIGN SECTION
========================= */

.design-section {
    max-width: 1150px;
    margin: auto;
    padding: 110px 25px;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading span {
    color: #4c9660;
    font-size: 13px;
}

.section-heading h2 {
    font-size: 34px;
    margin: 8px 0;
}

.section-heading p {
    color: #718077;
}


/* =========================
   PROGRESS
========================= */

.design-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto 65px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #aab7ad;
    min-width: 75px;
    transition: .4s;
}

.progress-step span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e6ede7;
    font-size: 12px;
    font-weight: bold;
}

.progress-step small {
    font-size: 11px;
}

.progress-step.active {
    color: #27803f;
}

.progress-step.active span {
    color: white;
    background: #27803f;
    box-shadow: 0 8px 20px rgba(39, 128, 63, .2);
}

.progress-line {
    width: 100px;
    height: 2px;
    background: #e0e8e1;
}


/* =========================
   STEPS
========================= */

.design-step {
    display: none;
    animation: stepIn .6s ease;
}

.design-step.active {
    display: block;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.step-number {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #e4f2e5;
    color: #298043;
    font-size: 20px;
    font-weight: bold;
}

.step-header h3 {
    font-size: 25px;
}

.step-header p {
    color: #75827a;
    font-size: 14px;
}


/* =========================
   CHOICES
========================= */

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

.choice-card {
    border: 2px solid #e7eee8;
    background: white;
    border-radius: 22px;
    padding: 40px 25px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    color: #18321f;
    transition: .35s;
}

.choice-card:hover {
    transform: translateY(-7px);
    border-color: #76ad7e;
    box-shadow: 0 18px 40px rgba(33, 86, 44, .1);
}

.choice-card.selected {
    border-color: #23823e;
    background: #f0f8f1;
    box-shadow: 0 15px 35px rgba(35, 130, 62, .12);
}

.choice-icon {
    display: block;
    font-size: 50px;
    margin-bottom: 15px;
}

.choice-card h4 {
    font-size: 19px;
    margin-bottom: 5px;
}

.choice-card p {
    color: #78857c;
    font-size: 13px;
}


/* =========================
   ELEMENTS
========================= */

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

.element-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    border: 2px solid #e7eee8;
    border-radius: 18px;
    background: white;
    cursor: pointer;
    transition: .3s;
}

.element-card input {
    position: absolute;
    opacity: 0;
}

.element-card:hover {
    transform: translateY(-4px);
}

.element-card:has(input:checked) {
    border-color: #23823e;
    background: #f0f8f1;
}

.element-icon {
    font-size: 38px;
    margin-bottom: 8px;
}

.element-card strong {
    font-size: 16px;
}

.element-card small {
    color: #7b887f;
    font-size: 11px;
}


/* =========================
   BUTTONS
========================= */

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

.back-step,
.next-step,
.restart-btn {
    border: none;
    border-radius: 10px;
    padding: 13px 22px;
    font-family: inherit;
    cursor: pointer;
    transition: .3s;
}

.back-step {
    background: #edf1ed;
    color: #526257;
}

.next-step,
.restart-btn {
    background: #23823e;
    color: white;
}

.back-step:hover,
.next-step:hover,
.restart-btn:hover {
    transform: translateY(-3px);
}

.next-step {
    padding-left: 28px;
    padding-right: 28px;
}


/* =========================
   FINAL DESIGN
========================= */

.final-title {
    text-align: center;
    margin-bottom: 35px;
}

.final-icon {
    font-size: 50px;
}

.final-title h3 {
    font-size: 30px;
}

.final-title p {
    color: #75827a;
}


/* preview */

.garden-preview {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 28px;
    background: #ccebd3;
    box-shadow: 0 20px 50px rgba(26, 73, 36, .13);
}

.preview-sky {
    position: absolute;
    inset: 0 0 35% 0;
    background: linear-gradient(
        #aee0f0,
        #dff2e8
    );
}

.preview-ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 42%;
    background: #5d984e;
}

.preview-sun {
    position: absolute;
    width: 75px;
    height: 75px;
    top: 45px;
    right: 70px;
    border-radius: 50%;
    background: #f8d877;
}

.preview-elements {
    position: absolute;
    inset: 0;
}


/* generated elements */

.generated-tree {
    position: absolute;
    bottom: 120px;
    font-size: 80px;
    animation: elementAppear .7s ease both;
}

.generated-flower {
    position: absolute;
    bottom: 80px;
    font-size: 40px;
    animation: elementAppear .7s ease both;
}

.generated-grass {
    position: absolute;
    bottom: 30px;
    font-size: 55px;
    animation: elementAppear .7s ease both;
}

.generated-water {
    position: absolute;
    left: 42%;
    bottom: 45px;
    font-size: 80px;
    animation: elementAppear .7s ease both;
}

.generated-bench {
    position: absolute;
    left: 20%;
    bottom: 80px;
    font-size: 60px;
    animation: elementAppear .7s ease both;
}

.generated-light {
    position: absolute;
    left: 65%;
    bottom: 90px;
    font-size: 45px;
    animation: elementAppear .7s ease both;
}


/* summary */

.design-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.design-summary div {
    padding: 18px;
    border-radius: 14px;
    background: white;
    text-align: center;
}

.design-summary span {
    display: block;
    color: #819087;
    font-size: 11px;
}

.design-summary strong {
    display: block;
    margin-top: 5px;
}

.restart-btn {
    display: block;
    margin: 20px auto 0;
}


/* =========================
   SERVICES
========================= */

.landscape-services {
    padding: 100px 8%;
    background: white;
}

.landscape-service-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.landscape-service {
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    background: #f7faf7;
}

.landscape-service span {
    font-size: 40px;
}

.landscape-service h3 {
    margin: 10px 0 5px;
}

.landscape-service p {
    color: #78857c;
    font-size: 12px;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes heroText {

    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes stepIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes elementAppear {

    from {
        opacity: 0;
        transform: scale(.5) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .landscape-hero {
        grid-template-columns: 1fr;
        padding-top: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .choice-grid,
    .element-grid {
        grid-template-columns: 1fr;
    }

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

}


@media (max-width: 550px) {

    .landscape-header {
        padding: 0 20px;
    }

    .landscape-hero {
        padding: 45px 20px;
    }

    .hero-content h2 {
        font-size: 40px;
    }

    .hero-visual {
        height: 320px;
    }

    .design-section {
        padding: 70px 18px;
    }

    .design-progress {
        transform: scale(.85);
    }

    .progress-line {
        width: 35px;
    }

    .step-header h3 {
        font-size: 20px;
    }

    .design-summary {
        grid-template-columns: 1fr;
    }

    .landscape-service-grid {
        grid-template-columns: 1fr;
    }

}
