/********** Template CSS (Yeşil-Beyaz Modern) **********/
:root {
    --primary: #28A745; /* yeşil */
    --secondary: #6C757D; /* gri ton */
    --light: #FFFFFF; /* beyaz */
    --dark: #1C1C1C; /* koyu gri */
}

/*** Back to Top ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.back-to-top:hover {
    transform: translateY(-5px);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn.btn-primary {
    color: var(--light);
    background: var(--primary);
    border: none;
}
.btn.btn-primary:hover {
    background: #218838;
    box-shadow: 0 8px 20px rgba(40,167,69,0.3);
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.fixed-top {
    display: none;
    transition: .5s;
}
.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/*** Header / Hero ***/
.btn-play {
    position: relative;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    background: var(--primary);
}
.btn-play:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1.5s ease-out infinite;
    opacity: 0.3;
}
.btn-play:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 0.2s;
}
.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--light);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}
@keyframes pulse-border {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/*** Sections Hover Effects ***/
.fact-item:hover,
.service-item:hover,
.project-item:hover {
    margin-top: -10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/*** Service Overlay ***/
.service-item .service-overlay {
    background: rgba(40,167,69,0.1);
    opacity: 0;
    transition: .5s;
}
.service-item:hover .service-overlay {
    opacity: 1;
}

/*** Project Titles ***/
.project-item .project-title {
    background: var(--light);
    color: var(--dark);
    transition: .5s;
}
.project-item:hover .project-title {
    background: var(--primary);
    color: var(--light);
}

/*** Team Section ***/
.team-img::after {
    border-color: transparent transparent var(--light) transparent;      
}

/*** Testimonial Carousel ***/
.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary);
}
.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light);
}

/*** Footer ***/
.footer-shape::before {
    background: var(--primary);
}
.footer .btn.btn-link {
    color: rgba(255,255,255,0.7);
}
.footer .btn.btn-link:hover {
    color: var(--primary);
}
