/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d5016;
    --light-green: #4a7c2a;
    --accent-orange: #ff6b35;
    --light-orange: #ff8c5a;
    --white: #ffffff;
    --dark-text: #1a1a1a;
    --light-text: #f5f5f5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 1rem;
    left: 9.5rem;
    right: 9.5rem;
    width: calc(100% - 19rem);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    z-index: 1000;
    padding: 0.6rem 0;
    transition: all 0.3s ease;
}

.navbar.dark-mode {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo h1 {
    color: #22c55e;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.logo:hover h1 {
    color: #16a34a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar.dark-mode .nav-menu a {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar.dark-mode .nav-menu a:hover {
    color: var(--accent-orange);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-contact-btn {
    background-color: var(--accent-orange);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.nav-contact-btn::after {
    display: none;
}

.nav-contact-btn:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
}

.navbar.dark-mode .nav-toggle span {
    background-color: var(--primary-green);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('images/landscaping-site-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    filter: none !important;
    -webkit-filter: none !important;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 3rem 4rem;
    color: var(--white);
    background: rgba(45, 80, 22, 0.01);
    backdrop-filter: blur(1px) saturate(100%);
    -webkit-backdrop-filter: blur(1px) saturate(100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(45, 80, 22, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 
        0 1px 5px rgba(0, 0, 0, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(45, 80, 22, 0.3),
        1px 1px 3px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 9.5rem;
        right: 9.5rem;
        width: calc(100% - 19rem);
        top: calc(1rem + 60px);
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        text-align: center;
        transition: transform 0.3s ease;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 20px;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateX(calc(-100% - 19rem));
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-contact-btn {
        margin-top: 0.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        padding: 2.5rem 3rem;
        border-radius: 25px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 2.5rem;
        border-radius: 20px;
        margin: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .navbar {
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
    }

    .nav-menu {
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
        transform: translateX(calc(-100% - 2rem));
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-header::before,
.section-header::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    transform: translateY(-50%);
}

.section-header::before {
    left: -80px;
    animation: expand-line 1s ease-out 0.5s both;
}

.section-header::after {
    right: -80px;
    animation: expand-line 1s ease-out 0.5s both;
}

@keyframes expand-line {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.services .section-header::before,
.services .section-header::after {
    display: block;
}

@media (max-width: 768px) {
    .section-header::before,
    .section-header::after {
        width: 30px;
    }
    
    .section-header::before {
        left: -40px;
    }
    
    .section-header::after {
        right: -40px;
    }
}

.section-label {
    display: inline-block;
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(45, 80, 22, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    filter: blur(80px);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.services-grid::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent-orange), transparent);
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
    0%, 100% {
        opacity: 0.3;
        height: 100px;
    }
    50% {
        opacity: 1;
        height: 150px;
    }
}

.service-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    cursor: pointer;
    transform-style: preserve-3d;
    isolation: isolate;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0);
    z-index: 0;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(45, 80, 22, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.service-card:hover .service-icon {
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 10px 20px rgba(255, 107, 53, 0.4));
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(45, 80, 22, 0.05);
    line-height: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.service-card:hover .service-number {
    opacity: 0.6;
    transform: scale(1.15) translateX(-5px);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 10px rgba(45, 80, 22, 0.2));
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.service-card:nth-child(even) .service-icon {
    animation-delay: 0.5s;
}

.service-card:nth-child(3n) .service-icon {
    animation-delay: 1s;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-orange) 100%);
    transition: width 0.5s ease;
    border-radius: 2px;
}

.service-card:hover .service-content h3::after {
    width: 100%;
}

.service-content > p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    color: #555;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.service-card:hover .service-features li::before {
    transform: translateX(8px);
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.service-card:hover .service-features li {
    color: var(--primary-green);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.service-features li {
    transition: all 0.3s ease;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: var(--white);
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 0.8s ease;
}

.about-intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 2px solid rgba(45, 80, 22, 0.1);
    border-bottom: 2px solid rgba(45, 80, 22, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}

.value-item h4 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-visual {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.about-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4/5;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.about-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
    max-width: 280px;
    border: 1px solid rgba(45, 80, 22, 0.1);
}

.about-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h4 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.about-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: var(--white);
    border: 2px solid rgba(45, 80, 22, 0.2);
    border-radius: 50px;
    color: var(--primary-green);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-flow: dense;
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.portfolio-item.large {
    grid-column: span 2;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-item.large .portfolio-image {
    aspect-ratio: 16/9;
    min-height: 100%;
}

/* Ensure items fill their grid cells properly */
.portfolio-item:not(.large) {
    display: flex;
    flex-direction: column;
}

.portfolio-item:not(.large) .portfolio-image {
    flex: 1;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.3s;
}

.portfolio-item:hover .portfolio-tag {
    transform: translateY(0);
}

.portfolio-item.hidden {
    display: none;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: var(--white);
    position: relative;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    margin-top: 4rem;
}

.contact-info .section-label,
.contact-info .section-title,
.contact-info .contact-description {
    text-align: left;
}

.contact-info .section-title {
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 80, 22, 0.1);
    border-radius: 15px;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-detail-item a,
.contact-detail-item p {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--accent-orange);
}

.contact-hours {
    background: rgba(45, 80, 22, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(45, 80, 22, 0.1);
}

.contact-hours h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.02) 0%, rgba(255, 107, 53, 0.02) 100%);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(45, 80, 22, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(45, 80, 22, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-submit {
    margin-top: 1rem;
    width: 100%;
    font-size: 1.1rem;
    padding: 1.2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3a0d 100%);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #22c55e;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links h4,
.footer-services h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design - Additional */
@media (max-width: 1024px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

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

    .portfolio-item.large {
        grid-column: span 1;
    }

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

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .services,
    .about,
    .portfolio,
    .contact {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .about-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        max-width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

