/* ============================================
   Vera Bahçe Peyzaj - Custom Styles
   ============================================ */

:root {
    --primary-color: #006400;
    --primary-light: #147a4a;
    --accent-green: #13ec13;
    --forest-green: #0a2d0a;
    --background-light: #f6f8f6;
    --slate-grey: #4a5568;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

/* Glass Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(to right, rgba(10, 34, 10, 0.88) 0%, rgba(10, 34, 10, 0.5) 50%, rgba(10, 34, 10, 0.15) 100%);
}

/* Logo Font */
.logo-font {
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Scroll Indicator Animation */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll.from-left.visible {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-on-scroll.from-right.visible {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Service Card Hover */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 100, 0, 0.15);
}

/* Project Gallery Hover */
.project-card {
    overflow: hidden;
}

.project-card img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card .overlay {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .overlay {
    opacity: 1;
}

/* Counter Animation */
.counter-value {
    display: inline-block;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Pulse animation for WhatsApp */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Parallax Effect for Why Us Section */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* Form Styles */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
}

/* Leaf Watermark */
.leaf-watermark {
    opacity: 0.03;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

/* Smooth hover for links */
a {
    transition: color 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--forest-green);
    transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-item {
    transition: all 0.3s ease;
}

.faq-answer {
    animation: faqSlideDown 0.3s ease;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-icon {
    transition: transform 0.3s ease;
}
