/* Variables */
:root {
    --primary-orange: #FF6B35;
    --primary-orange-hover: #e85d2a;
    --dark-blue: #1e3a8a;
    --dark-blue-lighter: #1e293b;
    --light-gray: #f8f9fa;
    --light-beige: #fff9f0;
}
.cercer {
    color: #fff !important;
}

.cercer p{
    color: #fff !important;
}

.cercer p span {
    color: #fff !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: #475467;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-blue);
}

.cw {
    color: white;
}
.lh-15w {
    line-height: 1.5 !important;
}
.cc {
    padding: 50px 0;
    border-radius: 20px;
}
/* Utilities */
.text-orange {
    color: var(--primary-orange) !important;
}

.text-dark-blue {
    color: var(--dark-blue) !important;
}

.bg-orange {
    background-color: var(--primary-orange) !important;
}

.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

.bg-light-gray {
    background-color: #f9fafb !important;
}

.bg-light-beige {
    background-color: var(--light-beige) !important;
}

/* Buttons */
.btn-orange {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-orange:hover {
        background-color: var(--primary-orange-hover);
        border-color: var(--primary-orange-hover);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

.btn-dark-blue {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-dark-blue:hover {
        background-color: var(--dark-blue-lighter);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
    }

.btn-white {
    background-color: white;
    border-color: white;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

    .btn-white:hover {
        background-color: #f8f9fa;
        color: var(--primary-orange);
        transform: translateY(-2px);
    }

.btn-outline-light {
    border-color: white;
    color: white;
    transition: all 0.3s ease;
}

    .btn-outline-light:hover {
        background-color: white;
        color: var(--dark-blue);
    }

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

    .navbar.scrolled {
        background-color: rgba(30, 58, 138, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

.ccc .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: transparent;
}

.ccc .nav-link {
    color: rgb(255 107 53) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: var(--primary-orange);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Navbar space */
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgb(24 77 201 / 70%), rgba(15, 23, 42, 0.85));
    z-index: 1;
}

.border-start-md {
    border-left: 1px solid rgba(255,255,255,0.2);
}

.slidercolor {
    color: #fff;
}

@media (max-width: 768px) {
    .border-start-md {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding-top: 1rem;
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Services */
.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    }

.bg-orange-light {
    background-color: rgba(255, 107, 53, 0.1);
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
}

/* About Section */
.about-image-wrapper {
    position: relative;
}

.certificate-badge {
    min-width: 200px;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

/* Why Us */
.shadow-hover {
    transition: all 0.3s ease;
    border-radius: 16px;
    background: white;
}

    .shadow-hover:hover {
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        transform: translateY(-5px);
    }

.icon-box-sm {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .icon-box-lg:hover {
        transform: scale(1.1);
    }

.bg-light-green {
    background-color: #ecfdf5;
}

.bg-light-orange {
    background-color: #fff7ed;
}

.bg-light-blue {
    background-color: #eff6ff;
}

/* Products */
.product-card-img {
    transition: transform 0.3s ease;
}

.bg-white:hover .product-card-img {
    transform: scale(1.05);
}

/* Emergency Banner */
.bg-gradient-orange {
    background: linear-gradient(135deg, #FF6B35 0%, #f63c00 100%);
}

/* Footer */
.hover-white:hover {
    color: white !important;
    padding-left: 5px;
    transition: all 0.2s;
}

.grayscale-filter {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.placeholder-gray::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-orange);
}

.py-4-custom {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .py-4-custom {
        padding-bottom: 0;
    }

    .cc {
        border-radius: 0;
    }
}

.page-header h1 {
    color: #fff;
}
/* --- About Page Specifics --- */
.page-header {
    height: 300px;
    margin-top: 76px; /* Navbar height compensation */
}

.sticky-top-custom {
    position: sticky;
    top: 76px;
    z-index: 1020;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid #e9ecef;
}

.timeline-item {
    position: relative;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -1.35rem;
        top: 0.5rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--primary-orange);
        border: 2px solid white;
        box-shadow: 0 0 0 2px #e9ecef;
    }

/* --- Services Page Specifics --- */
.service-tab-btn {
    transition: all 0.3s ease;
    border: 1px solid transparent !important;
}

    .service-tab-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    }

    .service-tab-btn.active {
        background-color: var(--primary-orange) !important;
        color: white !important;
    }

        .service-tab-btn.active .icon-circle {
            background-color: rgba(255,255,255,0.2) !important;
            color: white !important;
        }

        .service-tab-btn.active small {
            color: rgba(255,255,255,0.8) !important;
        }

.mt-n5 {
    margin-top: -3rem;
}

/* Process Steps */
.process-line {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.process-card {
    transition: all 0.3s ease;
}

    .process-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

.step-badge {
    width: 60px;
    height: 60px;
    border: 4px solid white;
    box-shadow: 0 0 0 1px #e5e7eb;
}

/* Products Page Specifics */
.product-img {
    transition: transform 0.5s ease;
    max-height: 200px;
    object-fit: contain;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.btn-outline-dark-blue {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

    .btn-outline-dark-blue:hover {
        background-color: var(--dark-blue);
        color: white;
    }

/* Modal Custom Styles */
.modal-content {
    border: none;
}

.btn-close {
    filter: none;
    opacity: 1;
    background-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

    .btn-close:hover {
        transform: rotate(90deg);
    }

/* Contact Page */
.transition-hover {
    transition: all 0.3s ease;
}

    .transition-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-orange);
    opacity: 0.8;
}

.map-container iframe {
    filter: grayscale(10%) contrast(1.1);
}

/* --- Responsive Adjustments --- */

@media (max-width: 991.98px) {
    /* Navbar Mobile Fix */
    .navbar-collapse {
        background-color: var(--dark-blue);
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }

    .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Hero Text Scaling */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    /* Global Spacing */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        margin-top: 2rem !important;
        padding-top: 2rem !important;
    }

        .hero-stats h3 {
            font-size: 1.5rem;
        }

    /* Timeline Mobile View (Hakkımızda) */
    .timeline {
        padding-left: 0;
        border-left: none;
    }

    .timeline-item {
        background-color: #f8f9fa;
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem !important;
    }

        .timeline-item::before {
            display: none;
        }

        .timeline-item .badge {
            align-self: flex-start !important;
            margin-top: 0 !important;
            margin-bottom: 0.5rem;
        }

    /* Footer Center Alignment */
    footer {
        text-align: center;
    }

    .social-links-footer {
        justify-content: center;
    }

    footer .col-lg-4, footer .col-lg-2 {
        margin-bottom: 2rem;
    }

    footer .d-flex.align-items-center {
        justify-content: center;
    }

    footer .text-md-start {
        text-align: center !important;
    }

    /* Service Boxes (Hizmetler) */
    .service-box {
        padding: 1.5rem !important;
    }

    /* Products Grid (Ürünler) */
    .product-card .card-img-top {
        height: 200px !important;
    }
}
