/*
Theme Name: Green Project
Theme URI: https://greenpro.asuperstition.com
Author: Green Project
Author URI: https://greenpro.asuperstition.com
Description: Тема за Green Project - озеленяване и градински услуги
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: green-project
Tags: custom-theme, green, garden, landscaping, responsive
*/

/* ===================================
   FONTS & VARIABLES
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --color-green: #3A7028;
    --color-green-light: #4A8535;
    --color-green-dark: #2A5018;
    --color-green-bg: rgba(58, 112, 40, 0.07);
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray: #666666;
    --color-gray-light: #F5F5F5;
    --color-cream: #FAF8F5;
    --font-main: 'Montserrat', sans-serif;
    --container-width: 1400px;
    --header-height: 90px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: #F1F5F0;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* ===================================
   HEADER
   =================================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: 0 66px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 66px;
    right: 66px;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    z-index: -1;
}

.header-container {
    width: 100%;
    padding: 0 66px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-text .green {
    color: var(--color-green);
    font-weight: 700;
}

.logo-text .project {
    font-weight: 300;
    color: #1a1a1a;
}

.tagline {
    font-size: 10px;
    color: #666666;
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current-menu-item::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--color-green);
}

.header-cta {
    background-color: #3A7028;
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background-color: var(--color-green-light);
    transform: translateY(-2px);
}

.header-cta svg {
    width: 20px;
    height: 20px;
}

.header-cta .arrow-circle {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cta .arrow-circle svg {
    width: 14px;
    height: 14px;
    transform: rotate(-45deg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-green);
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 80px 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(166deg, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0.6) 43%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 128px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 96px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    color: var(--color-white);
}

.hero-title .highlight {
    font-weight: 700;
    color: var(--color-white);
}

/* ===================================
   WHAT MAKES US DIFFERENT SECTION
   =================================== */
.different-section {
    background-color: var(--color-green-bg);
    padding: 100px 0;
}

.section-container {
    width: 100%;
    padding: 0 128px;
}

.section-title {
    font-size: 80px;
    font-weight: 700;
    color: #202E13;
    margin-bottom: 50px;
    line-height: 1.1;
}

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

.different-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

.icon-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
}

.icon-item p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.7;
}

.different-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(58, 112, 40, 0.15);
}

/* ===================================
   SERVICES SECTION - HORIZONTAL ACCORDION
   =================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.services-header .section-title {
    margin-bottom: 0;
}

.view-more-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-more-link:hover {
    gap: 12px;
}

.services-accordion {
    display: flex;
    height: 450px;
    gap: 10px;
    width: 100%;
}

.service-accordion-item {
    position: relative;
    flex: 1;
    min-width: 70px;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: flex-grow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-accordion-item:hover,
.service-accordion-item.active {
    flex-grow: 6;
}

.service-accordion-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-accordion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: filter 0.4s ease;
}

.service-accordion-item:hover .service-accordion-image img,
.service-accordion-item.active .service-accordion-image img {
    filter: brightness(0.85);
}

/* Vertical title for collapsed state */
.service-vertical-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
    transition: opacity 0.3s ease;
    width: 100%;
    text-align: center;
}

.service-accordion-item:hover .service-vertical-title,
.service-accordion-item.active .service-vertical-title {
    opacity: 0;
}

.service-accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
    color: var(--color-white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.service-accordion-item:hover .service-accordion-content,
.service-accordion-item.active .service-accordion-content {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.service-accordion-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-white);
}

.service-accordion-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   PROJECTS SECTION - Featured + Grid
   =================================== */
.projects-section {
    padding: 100px 0;
    background-color: var(--color-cream);
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header .section-title {
    font-size: 38px;
}

.projects-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Featured Project (Left) */
.featured-project-main {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.featured-project-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.featured-project-main .project-info-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: var(--color-white);
    padding: 25px;
    border-radius: 15px;
}

.featured-project-main .project-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.featured-project-main .project-meta strong {
    color: var(--color-green);
}

.featured-project-main h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

/* Projects Grid (Right) */
.projects-grid-small {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.project-small {
    display: flex;
    gap: 20px;
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-small img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.project-small-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-small-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 5px;
}

.project-small-content .project-location {
    font-size: 13px;
    color: var(--color-gray);
}

/* ===================================
   CTA SECTION - Two columns with form
   =================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(42, 80, 24, 0.95) 0%, rgba(58, 112, 40, 0.9) 100%),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 80, 24, 0.9) 0%, rgba(58, 112, 40, 0.85) 100%);
}

.cta-container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 128px;
}

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

.cta-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 30px;
}

.cta-content h2 .highlight {
    font-weight: 700;
    color: var(--color-green-light);
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Contact Form */
.cta-form {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cta-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(58, 112, 40, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--color-green-light);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-container {
    width: 100%;
    padding: 0 128px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo-text {
    margin-bottom: 15px;
}

.footer-logo .tagline {
    margin-bottom: 25px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-gray);
}

.footer-links a:hover {
    color: var(--color-green);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-gray);
}

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

.footer-bottom-links a {
    color: var(--color-gray);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1200px) {
    .site-header {
        padding: 0 64px;
    }

    .site-header::before {
        left: 64px;
        right: 64px;
    }

    .header-container,
    .section-container,
    .hero-container,
    .footer-container,
    .cta-container {
        padding: 0 64px;
    }

    .different-grid,
    .projects-layout {
        grid-template-columns: 1fr;
    }

    .different-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-cta {
        display: none;
    }

    .hero-title {
        font-size: 64px;
    }

    .different-icons {
        grid-template-columns: 1fr;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .services-accordion {
        height: 400px;
    }

    .service-accordion-content h3 {
        font-size: 18px;
    }

    .service-accordion-content p {
        font-size: 13px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0 24px;
    }

    .site-header::before {
        left: 24px;
        right: 24px;
    }

    .header-container,
    .section-container,
    .hero-container,
    .footer-container,
    .cta-container {
        padding: 0 24px;
    }

    .section-title {
        font-size: 42px;
    }

    .hero-section {
        min-height: 600px;
        border-radius: 0 0 40px 40px;
    }

    .hero-container {
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 48px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .services-accordion {
        height: 350px;
    }

    .service-accordion-item:not(:hover):not(.active) .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-icon svg {
        width: 20px;
        height: 20px;
    }
}
