@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #FFC107;      /* Canlı Endüstriyel Sarı */
    --primary-hover: #E0A800;     /* Koyu Sarı */
    --secondary-color: #1E1E24;    /* Kömür Siyahı */
    --dark-bg: #111115;            /* Koyu Arka Plan */
    --light-bg: #F8F9FA;           /* Açık Gri */
    --text-color: #333333;         /* Koyu Metin */
    --text-light: #6C757D;         /* Açık Metin */
    --white: #FFFFFF;
    --border-color: #E9ECEF;
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow-md: 0 .5rem 1rem rgba(0,0,0,.15);
    --transition-fast: all 0.2s ease-in-out;
    --transition-normal: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 193, 7, 0.4);
}

.btn-dark-custom {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.btn-dark-custom:hover {
    background-color: var(--dark-bg);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(30, 30, 36, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(37, 211, 102, 0.4);
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary-color);
}

.top-bar a:hover {
    color: var(--primary-color);
}

.navbar-custom {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition-normal);
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.navbar-custom .navbar-brand span {
    color: var(--primary-color);
}

.navbar-custom .nav-link {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 8px 15px !important;
    position: relative;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-hover);
}

/* Hero Carousel */
.hero-carousel .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 17, 21, 0.9), rgba(17, 17, 21, 0.4));
}

.hero-carousel .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    max-width: 700px;
    z-index: 10;
}

.hero-carousel h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-carousel h2 span {
    color: var(--primary-color);
}

.hero-carousel p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card .service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.service-card .service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.service-card .service-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card .service-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card .service-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card .read-more {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-card:hover .read-more {
    color: var(--primary-hover);
}

/* Process Section (Nasıl Çalışıyoruz) */
.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step .step-number {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.process-step:hover .step-number {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: rotate(360deg);
}

/* Why Us Section */
.why-us-box {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition-normal);
    height: 100%;
}

.why-us-box:hover {
    background: var(--white);
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.why-us-box .icon {
    font-size: 2.5rem;
    color: var(--primary-hover);
    margin-bottom: 15px;
}

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, transparent 100%);
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item .counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.stat-item .title {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

/* FAQ Accordion Customization */
.accordion-custom .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 1.2rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--secondary-color);
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
}

.accordion-custom .accordion-button::after {
    background-size: 1rem;
}

/* Contact Info Box */
.contact-info-wrapper {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item .icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.08);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    color: var(--white);
    margin-bottom: 5px;
}

.contact-info-item p, .contact-info-item a {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* Footer styling */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 70px 0 20px;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.footer h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer p, .footer li {
    color: rgba(255, 255, 255, 0.7);
}

.footer .social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 8px;
}

.footer .social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Breadcrumb Wrapper */
.breadcrumb-section {
    background-color: var(--light-bg);
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-section h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

/* Floating Action Buttons */
.whatsapp-fixed {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-fixed:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    border: 2px solid var(--primary-color);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Mobile Quick Bar */
.mobile-quick-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    display: none;
    grid-template-columns: repeat(3, 1fr);
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    border-top: 3px solid var(--primary-color);
}

.mobile-quick-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 10px 5px;
    font-size: 0.75rem;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.mobile-quick-bar a i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-quick-bar a:last-child {
    border-right: none;
}

.mobile-quick-bar a.active-call {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.mobile-quick-bar a.active-whatsapp {
    background-color: #25D366;
}

/* Responsive Grid fixes */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-item {
        height: 500px;
    }
    .hero-carousel h2 {
        font-size: 2.5rem;
    }
    .navbar-custom .nav-link::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        height: 400px;
    }
    .hero-carousel h2 {
        font-size: 2rem;
    }
    .hero-carousel p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .mobile-quick-bar {
        display: grid;
    }
    .whatsapp-fixed {
        bottom: 75px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    .back-to-top {
        bottom: 140px;
        right: 15px;
    }
    body {
        padding-bottom: 60px; /* Quick bar spacing */
    }
}

/* Lazy Load placeholder animation */
.lazy-bg {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.lazy-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
