/* Modern ve temiz görünüm için Poppins yazı tipini kullan */
body { font-family: 'Poppins', sans-serif; background-color: #ffffff; } /* Arkaplanı beyaz yaptık */
/* Logo renk paleti: Turuncu ana renk, yeşil destek renk */
.bg-primary { background-color: #EF7F2D; }
.text-primary { color: #EF7F2D; }
.bg-secondary { background-color: #009541; }
.text-secondary { color: #009541; }
.bg-light-contrast { background-color: #FFF7F0; }

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.transition-all { transition: all 0.3s ease-in-out; }
/* Footer link stilleri */
.footer-link {
    color: #d1d5db; /* Gray-300 */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
.footer-link:hover {
    color: #ffffff; /* Beyaz */
}

/* Modern Slider Stillleri */
.slider-container {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background: #0B1F16;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.slide.active .slide-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.slider-nav:hover {
    background: rgba(239, 127, 45, 0.92);
    border-color: #EF7F2D;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-prev {
    left: 30px;
}

.slider-nav-next {
    right: 30px;
}

@media (max-width: 768px) {
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    .slider-nav-prev {
        left: 15px;
    }
    .slider-nav-next {
        right: 15px;
    }
}

/* Slide Content */
.slide-content {
    max-width: 700px;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-badge {
    display: inline-block;
    background: rgba(0, 149, 65, 0.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 127, 45, 0.35);
    color: #EF7F2D;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.slide-title .text-secondary {
    color: #EF7F2D;
    display: block;
}

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

.slide-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out 0.9s both;
}

@media (max-width: 768px) {
    .slide-description {
        font-size: 1rem;
    }
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 1.1s both;
}

.btn-primary {
    background: #EF7F2D;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 127, 45, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: white;
    color: #0B1F16;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 127, 45, 0.35);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.875rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Modern Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: transparent;
    border-color: #EF7F2D;
    width: 40px;
    border-radius: 6px;
}

.slider-dot.active::before {
    width: 8px;
    height: 8px;
    background: #EF7F2D;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #EF7F2D, #009541);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(239, 127, 45, 0.35);
}

/* YENİ: Görsel Üstü Overlay Stillleri - Sabit Görünüm */
.project-overlay {
    /* Sabit karartı */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0) 100%);
    transition: all 0.3s ease-in-out;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* İçeriği alta hizala */
    padding: 1.25rem; /* p-5 */
}
/* Hover'da sadece hafif karartı artışı */
.product-item:hover .project-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 100%);
}
/* Metinleri ve butonu içeren alan - Her zaman görünür */
.overlay-content {
    transform: translateY(0); /* Sabit konumda */
    opacity: 1; /* Her zaman görünür */
    transition: all 0.3s ease-in-out;
}

/* Service Icons Stilleri */
.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 149, 65, 0.10) 0%, rgba(0, 149, 65, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 149, 65, 0.14) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, rgba(0, 149, 65, 0.12) 0%, rgba(0, 149, 65, 0.08) 100%);
    box-shadow: 0 10px 25px rgba(0, 149, 65, 0.14);
}

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

.service-card:hover .service-icon-wrapper svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(239, 127, 45, 0.22));
}

.service-icon-wrapper svg {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Overlay Button Stilleri - Beyazlık Olmadan */
.overlay-button {
    background-color: #EF7F2D !important;
    color: white !important;
    transition: all 0.3s ease;
}

.overlay-button:hover {
    background-color: rgba(239, 127, 45, 0.92) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 127, 45, 0.35);
}

/* Fixed Side Buttons - Sol Alt */
.fixed-side-buttons-left,
.fixed-side-buttons-right {
    position: fixed;
    left: 0;
    bottom: 30px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    align-items: flex-start;
}

.side-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border: none;
    border-radius: 0 25px 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0B1F16;
    min-width: 60px;
    overflow: visible;
}

.side-button:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    min-width: 140px;
}

.side-button-text {
    white-space: nowrap;
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
}

.side-button:hover .side-button-text {
    opacity: 1;
    width: auto;
}

.phone-button {
    background: linear-gradient(135deg, #EF7F2D 0%, #0B1F16 100%);
    color: white;
}

.phone-button:hover {
    background: linear-gradient(135deg, #0B1F16 0%, #EF7F2D 100%);
}

.email-button {
    background: linear-gradient(135deg, #EF7F2D 0%, #D96D16 100%);
    color: white;
}

.email-button:hover {
    background: linear-gradient(135deg, #D96D16 0%, #EF7F2D 100%);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    background: white;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 50;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0B1F16;
    animation: pulse 2s infinite;
}

.notification-badge::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

.notification-badge.show {
    opacity: 1;
    visibility: visible;
}

.phone-badge {
    border-left: 3px solid #EF7F2D;
}

.whatsapp-badge {
    border-left: 3px solid #25D366;
}

.email-badge {
    border-left: 3px solid #EF7F2D;
}

.notification-text {
    display: block;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.notification-badge.show {
    animation: slideInLeft 0.4s ease-out, pulse 2s infinite 0.4s;
}

/* Google Maps Container */
.map-container {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 1rem 1rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Proje Görselleri Galerisi */
.project-gallery-container {
    position: relative;
    width: 100%;
    padding: 0 50px;
}

.project-gallery-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.project-gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    user-select: none;
}

.project-gallery-track.dragging {
    cursor: grabbing;
    transition: none;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    color: #0B1F16;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: #EF7F2D;
    color: white;
    border-color: #EF7F2D;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 0 calc(50% - 10px);
    }
    .project-gallery-container {
        padding: 0 45px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 calc(100% - 0px);
    }
    .project-gallery-container {
        padding: 0 40px;
    }
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
}

/* Hizmet Sayfası Galeri - Tek Sütun */
#service-gallery-track .gallery-item {
    flex: 0 0 calc(100% - 0px);
}

@media (min-width: 768px) {
    #service-gallery-track .gallery-item {
        flex: 0 0 calc(100% - 0px);
    }
}

/* Modern Service Slider */
.modern-service-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.modern-slider-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.modern-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.modern-slider-item {
    flex: 0 0 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.modern-slider-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.modern-slider-item:hover .modern-slider-image {
    transform: scale(1.05);
}

.modern-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 149, 65, 0.12);
    border-radius: 50%;
    color: #0B1F16;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.modern-slider-nav:hover {
    background: #EF7F2D;
    color: white;
    border-color: #EF7F2D;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(239, 127, 45, 0.22);
}

.modern-slider-prev {
    left: 20px;
}

.modern-slider-next {
    right: 20px;
}

.modern-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.modern-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 149, 65, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.modern-slider-dot:hover {
    background: rgba(0, 149, 65, 0.45);
    transform: scale(1.2);
}

.modern-slider-dot.active {
    background: #EF7F2D;
    width: 32px;
    border-radius: 6px;
}

/* Modern Slider Modal */
.modern-slider-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modern-slider-modal.active {
    opacity: 1;
    visibility: visible;
}

.modern-slider-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-slider-modal-img {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
    transition: opacity 0.15s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modern-slider-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-slider-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modern-slider-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-slider-modal-nav:hover {
    background: rgba(239, 127, 45, 0.85);
    border-color: #EF7F2D;
    transform: translateY(-50%) scale(1.1);
}

.modern-slider-modal-prev {
    left: 20px;
}

.modern-slider-modal-next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-slider-image {
        height: 350px;
    }
    
    .modern-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .modern-slider-prev {
        left: 10px;
    }
    
    .modern-slider-next {
        right: 10px;
    }
    
    .modern-slider-dots {
        margin-top: 16px;
    }
    
    .modern-slider-modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modern-slider-modal-prev {
        left: 10px;
    }
    
    .modern-slider-modal-next {
        right: 10px;
    }
    
    .modern-slider-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .modern-slider-image {
        height: 280px;
    }
    
    .modern-slider-nav {
        width: 35px;
        height: 35px;
    }
    
    .modern-slider-nav svg {
        width: 18px;
        height: 18px;
    }
}

/* Galeri Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gallery-modal-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalImageFadeIn 0.3s ease-out;
}

@keyframes modalImageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-modal-nav:hover {
    background: rgba(239, 127, 45, 0.85);
    border-color: #EF7F2D;
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-modal-nav {
        width: 40px;
        height: 40px;
    }
    .gallery-modal-prev {
        left: 10px;
    }
    .gallery-modal-next {
        right: 10px;
    }
    .gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.side-button svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.side-button:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .fixed-side-buttons-right {
        left: -10px;
        bottom: 20px;
    }
    
    .side-button {
        padding: 10px 12px;
        min-width: 50px;
    }
    
    .side-button:hover {
        min-width: 120px;
    }
    
    .side-button-text {
        font-size: 0.75rem;
    }
}


/* Modern Header Stillleri */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #EF7F2D;
    transition: width 0.3s ease-in-out;
}

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

/* Dropdown Menü Stillleri */
.dropdown-menu {
    z-index: 1000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* Mobil Menü - Soldan Açılır */
.mobile-menu-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-menu-sidebar {
    overflow-y: auto;
    position: relative;
    height: auto;
    max-height: 90vh;
}

.mobile-menu-link {
    transition: all 0.2s ease-in-out;
}

/* Hizmet Sayfası Galeri Stilleri */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Lightbox için görsel tıklama efekti */
.gallery-item:active {
    transform: scale(0.98);
}

/* REFERANSLAR - PROJE GÖRSELLERİ GİBİ */
#referans-gallery-track .gallery-item {
    flex: 0 0 calc(33.333% - 14px);
    aspect-ratio: 1 / 1; /* Kare görünüm - logo için */
    background: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#referans-gallery-track .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Logo tam görünsün */
    object-position: center;
}

@media (max-width: 1024px) {
    #referans-gallery-track .gallery-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    #referans-gallery-track .gallery-item {
        flex: 0 0 calc(100% - 0px);
    }
}

/* Filtreleme için gizleme */
#referans-gallery-track .gallery-item[style*="display: none"] {
    display: none !important;
}

/* Dry Mortar Machine logo colors: #EF7F2D primary / #009541 secondary */
:root {
    --brand-primary: #EF7F2D;
    --brand-primary-dark: #D96D16;
    --brand-secondary: #009541;
    --brand-secondary-dark: #007A35;
    --brand-dark: #1F130B;
    --brand-soft: #FFF7F0;
}

.bg-primary, .from-primary { background-color: var(--brand-primary) !important; }
.text-primary { color: var(--brand-primary) !important; }
.border-primary { border-color: var(--brand-primary) !important; }
.bg-secondary { background-color: var(--brand-secondary) !important; }
.text-secondary { color: var(--brand-secondary) !important; }
.border-secondary { border-color: var(--brand-secondary) !important; }
.bg-light-contrast { background-color: var(--brand-soft) !important; }

a:hover, .nav-link:hover { color: var(--brand-primary); }
.nav-link::after { background-color: var(--brand-primary); }

.btn-primary, .overlay-button {
    background: var(--brand-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(239, 127, 45, .28) !important;
}
.btn-primary:hover, .overlay-button:hover {
    background: var(--brand-primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(239, 127, 45, .35) !important;
}

.slider-container { background: var(--brand-dark); }
.slide-overlay {
    background: linear-gradient(135deg, rgba(239,127,45,.82) 0%, rgba(31,19,11,.72) 50%, rgba(0,0,0,.45) 100%);
}
.slide-badge {
    background: rgba(239,127,45,.16);
    border-color: rgba(239,127,45,.45);
    color: var(--brand-primary);
}
.slide-title .text-secondary { color: var(--brand-primary) !important; }
.slider-dot.active { border-color: var(--brand-primary); }
.slider-dot.active::before { background: var(--brand-primary); }
.slider-progress-bar {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    box-shadow: 0 0 10px rgba(239,127,45,.45);
}

.service-icon-wrapper {
    background: linear-gradient(135deg, rgba(239,127,45,.12), rgba(0,149,65,.06));
}
.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(239,127,45,.16), rgba(0,149,65,.10));
    box-shadow: 0 10px 25px rgba(239,127,45,.18);
}

.phone-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}
.phone-button:hover {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dark) 100%);
}
.email-button {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dark) 100%);
}
.email-button:hover {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}
.phone-badge { border-left-color: var(--brand-primary); }
.email-badge { border-left-color: var(--brand-secondary); }

.gallery-nav:hover, .modern-slider-nav:hover, .modern-slider-dot.active, .gallery-modal-nav:hover, .modern-slider-modal-nav:hover {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 0 0 3px rgba(0,149,65,.12) !important;
}

.product-item:hover, .service-card:hover, .hover-lift:hover {
    box-shadow: 0 14px 32px rgba(239,127,45,.16);
}

/* =========================================================
   MODERN BALANCED THEME - Orange accent / Green support
   Goal: logo aligned, not overly orange, cleaner industrial look
   Primary accent: #EF7F2D | Support: #009541
   ========================================================= */
:root {
    --brand-primary: #EF7F2D;
    --brand-primary-dark: #D96D16;
    --brand-primary-soft: #FFF3EA;
    --brand-secondary: #009541;
    --brand-secondary-dark: #007A35;
    --brand-secondary-soft: #ECFFF3;
    --brand-ink: #111827;
    --brand-dark: #0F172A;
    --brand-dark-2: #1F2937;
    --brand-muted: #64748B;
    --brand-line: #E5E7EB;
    --brand-bg: #F8FAFC;
    --brand-card: #FFFFFF;
}

html, body {
    background: var(--brand-bg) !important;
    color: var(--brand-ink) !important;
}

/* Keep orange as an accent, not as a full-page color */
.bg-primary,
.from-primary {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-2) 100%) !important;
}
.to-primary {
    --tw-gradient-to: var(--brand-dark-2) !important;
}
.text-primary { color: var(--brand-primary) !important; }
.border-primary { border-color: var(--brand-primary) !important; }

.bg-secondary { background-color: var(--brand-secondary) !important; }
.text-secondary { color: var(--brand-secondary) !important; }
.border-secondary { border-color: var(--brand-secondary) !important; }
.bg-light-contrast { background: var(--brand-bg) !important; }

/* Header / navigation */
header,
.site-header,
.navbar {
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229,231,235,.85);
}

.nav-link,
header a,
.navbar a {
    color: var(--brand-ink);
}

.nav-link:hover,
header a:hover,
.navbar a:hover,
a:hover {
    color: var(--brand-primary) !important;
}

.nav-link::after {
    background: var(--brand-primary) !important;
}

/* Hero / slider: dark premium overlay, very limited orange */
.slider-container {
    background: var(--brand-dark) !important;
}

.slide-overlay {
    background:
        radial-gradient(circle at 18% 24%, rgba(239,127,45,.28) 0%, rgba(239,127,45,0) 34%),
        linear-gradient(135deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.78) 48%, rgba(0,0,0,.56) 100%) !important;
}

.slide-badge {
    background: rgba(255,255,255,.09) !important;
    border: 1px solid rgba(239,127,45,.46) !important;
    color: #FFFFFF !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.slide-title .text-secondary,
.slide-title .text-primary {
    color: var(--brand-primary) !important;
}

.slider-nav:hover,
.gallery-nav:hover,
.modern-slider-nav:hover,
.gallery-modal-nav:hover,
.modern-slider-modal-nav:hover {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
}

.slider-dot.active {
    border-color: var(--brand-primary) !important;
}
.slider-dot.active::before {
    background: var(--brand-primary) !important;
}
.slider-progress-bar {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)) !important;
    box-shadow: 0 0 14px rgba(239,127,45,.28) !important;
}

/* Buttons: orange CTA, green secondary only */
.btn-primary,
.overlay-button,
button[type="submit"],
input[type="submit"] {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 12px 26px rgba(239,127,45,.22) !important;
}

.btn-primary:hover,
.overlay-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, #B9540F 100%) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(239,127,45,.28) !important;
}

.btn-secondary {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.35) !important;
}

.btn-secondary:hover {
    background: var(--brand-secondary) !important;
    border-color: var(--brand-secondary) !important;
    color: #fff !important;
}

/* Cards: clean white, modern hover, no orange flood */
.service-card,
.product-item,
.hover-lift,
.card,
.bg-white {
    border-color: rgba(229,231,235,.9) !important;
}

.service-card:hover,
.product-item:hover,
.hover-lift:hover,
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(239,127,45,.36) !important;
    box-shadow: 0 18px 42px rgba(15,23,42,.10), 0 8px 18px rgba(239,127,45,.08) !important;
}

.service-icon-wrapper {
    background: linear-gradient(135deg, var(--brand-primary-soft) 0%, #fff 52%, var(--brand-secondary-soft) 100%) !important;
    color: var(--brand-primary) !important;
    border: 1px solid rgba(239,127,45,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, #fff 0%, var(--brand-primary-soft) 100%) !important;
    box-shadow: 0 12px 26px rgba(239,127,45,.12) !important;
}

/* Section titles and subtle accents */
.section-title::after,
.title-line,
.heading-line {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)) !important;
}

/* Contact buttons / badges */
.phone-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%) !important;
}
.phone-button:hover {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, #B9540F 100%) !important;
}
.email-button {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dark) 100%) !important;
}
.email-button:hover {
    background: linear-gradient(135deg, var(--brand-secondary-dark) 0%, #005F2C 100%) !important;
}
.phone-badge { border-left-color: var(--brand-primary) !important; }
.email-badge { border-left-color: var(--brand-secondary) !important; }

/* Forms */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 4px rgba(239,127,45,.12) !important;
    outline: none !important;
}

/* Footer: modern dark, accents only */
footer,
.site-footer {
    background: linear-gradient(135deg, #0B1220 0%, #111827 100%) !important;
}
.footer-link:hover,
footer a:hover,
.site-footer a:hover {
    color: var(--brand-primary) !important;
}

/* Overlays on product/gallery cards */
.project-overlay,
.product-item:hover .project-overlay {
    background: linear-gradient(to top, rgba(15,23,42,.88) 0%, rgba(15,23,42,.34) 54%, rgba(15,23,42,0) 100%) !important;
}

/* Product detail content: cleaner industrial article look */
.product-detail-content h2,
.product-detail-content h3 {
    color: var(--brand-ink) !important;
}
.product-detail-content h2::after,
.product-detail-content h3::after {
    background: var(--brand-primary) !important;
}
.product-detail-content .content-highlight,
.product-detail-content .technical-box,
.product-detail-content .feature-box {
    background: #fff !important;
    border: 1px solid var(--brand-line) !important;
    border-left: 4px solid var(--brand-primary) !important;
    box-shadow: 0 10px 26px rgba(15,23,42,.06) !important;
}

/* Utility fallback for old orange-heavy sections */
[style*="#EF7F2D"][class*="section"],
[style*="#ef7f2d"][class*="section"] {
    background: var(--brand-bg) !important;
}
