/* VarlıPeyzaj - Global Styles */

/* Color Variables - Clean Soft Green */
:root {
    --primary-green: #28a745;
    --primary-green-dark: #1e7e34;
    --primary-green-light: #20c997;
    --soft-green: #2ecc71; /* Clean soft green */
    --gradient-start: #28a745;
    --gradient-end: #20c997;
    --solid-green: #24b36e; /* Middle color between gradient start and end */
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--solid-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 998;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    border: none;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--solid-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Navbar Styles */
#mainNav {
    transition: all 0.3s ease-in-out !important;
    will-change: transform, background-color;
    z-index: 1030 !important;
}

#mainNav.fixed-top {
    animation: slideDown 0.3s ease-out;
    z-index: 1030 !important;
}

/* PC version navbar - use same gradient as mobile */
#mainNav.bg-success.bg-gradient {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

/* Initial transparent navbar on PC */
#mainNav.position-absolute {
    background: transparent;
}

/* When scrolled on PC */
#mainNav.fixed-top.bg-success.bg-gradient {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

/* Prevent body jump when navbar becomes fixed */
body {
    padding-top: 0;
}

body.navbar-fixed {
    padding-top: 76px;
}

/* Hero Background Images */
.hero-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-bg > * {
    position: relative;
    z-index: 2;
}

.bg-image-1 {
    background-image: url('img/index-1.jpg');
}

.bg-image-2 {
    background-image: url('img/index-2.jpg');
}

.bg-image-3 {
    background-image: url('img/index-3.jpg');
}

.bg-image-4 {
    background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?q=80&w=2000');
}

/* Carousel Styles */
.carousel-indicators {
    bottom: -80px !important;
    position: absolute;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.carousel-indicators .active {
    background-color: #fff;
}

/* Mega Dropdown Styles */
.dropdown-menu-mega {
    min-width: 500px;
    padding: 1.5rem;
    animation: slideDown 0.3s ease;
}

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

.dropdown-item-custom {
    padding: 0.7rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item-custom:hover {
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateX(5px);
}

.dropdown-item-custom i {
    font-size: 1.2rem;
    width: 30px;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button Styles */
.btn-success {
    background: var(--solid-green);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: var(--solid-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

.btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-success:hover {
    background: var(--solid-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.2);
}

/* Form Control Focus */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--primary-green);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--solid-green);
    color: white;
    transform: translateY(-3px);
}

/* Footer Styles */
footer.bg-success.bg-gradient {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

/* Footer Social Buttons */
footer .btn-light {
    transition: all 0.3s ease;
}

footer .btn-light:hover {
    transform: translateY(-3px);
    background: #28a745 !important;
    border-color: #28a745 !important;
}

footer .btn-light:hover i {
    color: white !important;
}

/* Statistics Section */
.stat-item {
    padding: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('img/index-1.jpg') center/cover;
    padding: 120px 0 80px;
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--solid-green);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 15px;
    width: 2px;
    height: calc(100% + 10px);
    background: #e9ecef;
}

.timeline-item:last-child::after {
    display: none;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background: rgba(36, 179, 110, 0.12) !important;
    color: var(--primary-green);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
    border-color: var(--primary-green);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2328a745'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2328a745'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Contact Icon */
.contact-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--solid-green);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Map Container */
.map-container {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Page-specific Backgrounds */
.page-header.about-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/index-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
}

.page-header.services-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/index-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
}

/* About Page Styles */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--solid-green);
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.value-card {
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.team-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-card img {
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.1);
}

/* Services Page Styles */
.service-section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.service-section:nth-child(even) {
    background-color: #f8f9fa;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--primary-green);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--solid-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Contact Page Styles */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive Adjustments - Tablets and Mobile */
@media (max-width: 991px) {
    /* Top Bar positioning */
    .bg-white.text-success {
        position: sticky;
        top: 0;
        z-index: 1025;
    }
    
    /* Navbar for tablets/mobile */
    #mainNav {
        padding: 0.5rem 0 !important;
        position: sticky !important;
        top: 32px !important; /* Adjusted height of top bar on mobile */
        background: linear-gradient(135deg, #28a745, #20c997) !important;
        backdrop-filter: blur(10px);
        z-index: 1024 !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    #mainNav.position-absolute {
        position: sticky !important;
        background: linear-gradient(135deg, #28a745, #20c997) !important;
    }
    
    #mainNav.bg-transparent {
        background: linear-gradient(135deg, #28a745, #20c997) !important;
    }
    
    #mainNav.fixed-top {
        top: 0 !important;
        position: fixed !important;
    }
    
    .navbar-brand {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255,255,255,0.5) !important;
        background: rgba(255,255,255,0.1);
    }
    
    .navbar-toggler-icon {
        filter: invert(1);
    }
    
    /* Adjust hero for sticky elements */
    .hero-bg {
        margin-top: 0; /* Reset margin for proper mobile display */
        padding-top: 120px !important; /* Adjust for sticky headers */
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    /* Floating Buttons Mobile - Same size */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-top {
        width: 50px;
        height: 50px;
        bottom: 75px;
        right: 15px;
        font-size: 1.3rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
        color: white !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
    }
    
    .navbar-nav {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    #mainNav.position-absolute .navbar-nav {
        background: rgba(255,255,255,0.98);
    }
    
    #mainNav.position-absolute .nav-link {
        color: var(--primary-green) !important;
    }
    
    #mainNav.fixed-top .navbar-nav {
        background: white;
    }
    
    #mainNav.fixed-top .nav-link {
        color: var(--primary-green) !important;
    }
    
    .dropdown-menu-mega {
        min-width: 100%;
        padding: 1rem;
        position: static !important;
        transform: none !important;
        margin-top: 0.5rem;
    }
    
    /* Hero Section Mobile - Override tablet setting */
    .hero-bg {
        margin-top: 0 !important;
        padding-top: 100px !important; /* Account for sticky navbar and top bar */
        padding-bottom: 80px !important;
        min-height: 350px !important;
        background-attachment: scroll !important; /* Better performance on mobile */
    }
    
    .hero-bg h1 {
        font-size: 2rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .hero-bg .lead {
        font-size: 1.1rem !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .hero-bg .btn-lg {
        padding: 0.5rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    /* Fix carousel content on mobile */
    .carousel-inner {
        padding: 0 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
    
    .carousel-indicators {
        bottom: -50px !important;
    }
    
    /* Cards Mobile */
    .card {
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 60px 0 40px;
        margin-top: 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    /* Services Mobile */
    .service-image img {
        height: 250px;
    }
    
    .service-section {
        padding: 40px 0;
    }
    
    /* Footer Mobile */
    footer {
        text-align: center;
    }
    
    footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    /* Typography Mobile */
    .display-1 {
        font-size: 2.5rem;
    }
    
    .display-2 {
        font-size: 2.2rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.6rem;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn-group-vertical > .btn {
        width: 100%;
    }
    
    /* Top Bar Mobile - Show everything in compact form */
    .bg-white.text-success {
        font-size: 0.65rem;
        padding: 0.4rem 0 !important;
    }
    
    .bg-white.text-success .small {
        font-size: 0.65rem !important;
    }
    
    .bg-white.text-success .container {
        padding: 0 10px;
    }
    
    .bg-white.text-success .ms-3 {
        margin-left: 0.5rem !important;
        display: inline;
    }
    
    /* Show working hours on mobile in compact form */
    .bg-white.text-success .d-none.d-md-block {
        display: block !important;
        margin-top: 2px;
        text-align: center;
        font-size: 0.6rem;
    }
    
    .bg-white.text-success .d-flex {
        flex-wrap: wrap;
    }
    
    .bg-white.text-success i {
        font-size: 0.7rem;
    }
    
    /* Timeline Mobile */
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        left: 5px;
    }
    
    .timeline-marker {
        left: -3px;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .container {
        padding: 0 15px;
    }
    
    .hero-bg h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-bg .lead {
        font-size: 1rem !important;
    }
    
    .hero-bg .d-flex {
        flex-direction: column;
    }
    
    .hero-bg .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Stats Section */
    .display-4 {
        font-size: 2rem !important;
    }
    
    /* Cards on mobile */
    .col-md-3, .col-lg-4, .col-lg-3 {
        margin-bottom: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

::-moz-selection {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.services-yazi-düzeltme{
    text-decoration: none; /* Alt çizgi kaldırır */
    color: inherit; /* Renk miras alır */
}