/* ============================================
   TezcanTheme - Ağır Sanayi Teması
   Renk Paleti: Bordo (#8B0000) + Koyu Gri (#212529)
   Fontlar: Oswald (başlıklar) + Inter (gövde)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --tezcan-bordo: #8B0000;
    --tezcan-bordo-hover: #6B0000;
    --tezcan-bordo-light: #A52A2A;
    --tezcan-dark-gray: #212529;
    --tezcan-mid-gray: #343A40;
    --tezcan-light-gray: #6C757D;
    --tezcan-bg-gray: #F5F5F5;
    --tezcan-white: #FFFFFF;
    --tezcan-gold: #C9A84C;
    --tezcan-font-heading: 'Oswald', sans-serif;
    --tezcan-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --tezcan-transition: all 0.3s ease;
    --tezcan-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --tezcan-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* --- Global Reset & Typography --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tezcan-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--tezcan-dark-gray);
    background-color: var(--tezcan-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--tezcan-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--tezcan-dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: var(--tezcan-bordo);
    text-decoration: none;
    transition: var(--tezcan-transition);
}

a:hover {
    color: var(--tezcan-bordo-hover);
}

/* --- Top Bar (Bordo Acil Servis) --- */
.top-bar {
    background: var(--tezcan-bordo);
    color: var(--tezcan-white);
    padding: 8px 0;
    font-family: var(--tezcan-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar-left span {
    opacity: 0.9;
    font-size: 0.85rem;
}

.top-bar-left span i {
    margin-right: 5px;
}

.top-bar-right {
    font-size: 0.95rem;
    font-weight: 600;
}

.top-bar-right i {
    margin-right: 6px;
    font-size: 1rem;
}

.top-bar-right strong {
    letter-spacing: 1px;
}

/* --- Navbar --- */
.bg-light-custom {
    background-color: #e2e8f0 !important;
    /* Hafif gri arka plan (Biraz daha belirgin) */
    box-shadow: var(--tezcan-shadow);
}

.navbar {
    padding: 0.8rem 0;
}

.navbar-brand {
    gap: 12px;
}

.brand-icon {
    font-size: 2.2rem;
    color: var(--tezcan-bordo);
    animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--tezcan-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tezcan-dark-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: var(--tezcan-font-body);
    font-size: 0.7rem;
    color: var(--tezcan-light-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.brand-logo-img {
    mix-blend-mode: multiply;
    /* Make white backgrounds transparent on light backgrounds */
}

.navbar-nav .nav-link {
    color: var(--tezcan-bordo) !important;
    font-family: var(--tezcan-font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.5rem 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--tezcan-transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--tezcan-bordo-hover) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--tezcan-bordo-hover);
    transition: var(--tezcan-transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* --- Buttons (Bordo - Keskin Köşe) --- */
.btn-primary {
    background: linear-gradient(135deg, var(--tezcan-bordo) 0%, var(--tezcan-bordo-hover) 100%);
    border: none;
    color: var(--tezcan-white);
    font-family: var(--tezcan-font-heading);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 0;
    transition: var(--tezcan-transition);
    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--tezcan-bordo-hover) 0%, #500000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
    color: var(--tezcan-white);
    border: none;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-bordo {
    border: 2px solid var(--tezcan-bordo);
    color: var(--tezcan-bordo);
    background: transparent;
    font-family: var(--tezcan-font-heading);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 28px;
    border-radius: 0;
    transition: var(--tezcan-transition);
}

.btn-outline-bordo:hover {
    background: var(--tezcan-bordo);
    color: var(--tezcan-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

/* --- Section Styling --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title h2 span {
    color: var(--tezcan-bordo);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--tezcan-bordo);
    margin: 15px auto 0;
}

.section-title p {
    font-family: var(--tezcan-font-body);
    color: var(--tezcan-light-gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 15px auto 0;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(33, 37, 41, 0.25) 0%,
            rgba(139, 0, 0, 0.15) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--tezcan-white);
    padding: 60px 0;
}

.hero-title {
    font-family: var(--tezcan-font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-family: var(--tezcan-font-body);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
    line-height: 1.7;
    text-transform: none;
    letter-spacing: 0;
}

.hero-cta {
    font-size: 1rem;
    padding: 16px 40px;
    animation: fadeInUp 1.4s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Statistics Section --- */
.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -50px;
    padding: 0 15px;
}

.stats-container {
    background: var(--tezcan-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--tezcan-bordo);
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--tezcan-font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--tezcan-bordo);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-plus {
    font-size: 2rem;
    color: var(--tezcan-bordo-light);
}

.stat-label {
    font-family: var(--tezcan-font-body);
    font-size: 0.9rem;
    color: var(--tezcan-light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Service Card (Hizmet Kartı) --- */
.service-card {
    background: var(--tezcan-white);
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: var(--tezcan-transition);
    overflow: hidden;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--tezcan-bordo);
    transition: var(--tezcan-transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tezcan-shadow-lg);
}

.service-card:hover::after {
    width: 100%;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: var(--tezcan-bordo);
    color: var(--tezcan-white);
}

.service-icon i {
    font-size: 2rem;
}

.service-title {
    font-family: var(--tezcan-font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tezcan-dark-gray);
    letter-spacing: 1px;
}

.service-description {
    font-family: var(--tezcan-font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--tezcan-light-gray);
    text-transform: none;
    letter-spacing: 0;
}

/* --- Brand Grid (Marka Listesi) --- */
.brand-section {
    background: var(--tezcan-bg-gray);
}

.brand-item {
    background: var(--tezcan-white);
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 25px;
    transition: var(--tezcan-transition);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.brand-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--tezcan-shadow);
    border-color: var(--tezcan-bordo);
}

.brand-logo {
    max-width: 100%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--tezcan-transition);
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.brand-name-text {
    font-family: var(--tezcan-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--tezcan-light-gray);
    text-align: center;
    letter-spacing: 1px;
}

.brand-item:hover .brand-name-text {
    color: var(--tezcan-bordo);
}

/* --- Service Form (Servis Formu) --- */
.service-form-section {
    background: var(--tezcan-dark-gray);
    color: var(--tezcan-white);
}

.service-form-section h2,
.service-form-section h3,
.service-form-section h4 {
    color: var(--tezcan-white);
}

.service-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: var(--tezcan-white);
    padding: 12px 16px;
    font-family: var(--tezcan-font-body);
    transition: var(--tezcan-transition);
}

.service-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.service-form .form-control:focus {
    border-color: var(--tezcan-bordo);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.service-form .form-label {
    font-family: var(--tezcan-font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

/* --- Card Generic --- */
.card-custom {
    border: none;
    border-radius: 0;
    box-shadow: var(--tezcan-shadow);
    transition: var(--tezcan-transition);
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--tezcan-shadow-lg);
}

.card-header-bordo {
    background: linear-gradient(135deg, var(--tezcan-bordo), var(--tezcan-bordo-hover));
    color: var(--tezcan-white);
    padding: 15px 20px;
    font-family: var(--tezcan-font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Footer --- */
.footer-section {
    background: var(--tezcan-dark-gray);
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    font-family: var(--tezcan-font-heading);
    color: var(--tezcan-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-title i {
    color: var(--tezcan-bordo);
    margin-right: 8px;
}

.footer-desc {
    font-family: var(--tezcan-font-body);
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.8;
    text-transform: none;
    letter-spacing: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a,
.footer-links li span {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--tezcan-font-body);
    font-size: 0.9rem;
    transition: var(--tezcan-transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--tezcan-bordo-light);
    padding-left: 8px;
}

.footer-links li a i {
    font-size: 0.7rem;
    margin-right: 6px;
    color: var(--tezcan-bordo);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    font-family: var(--tezcan-font-body);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

.footer-contact li i {
    color: var(--tezcan-bordo);
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    text-transform: none;
    letter-spacing: 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    margin-left: 8px;
    font-size: 1rem;
    transition: var(--tezcan-transition);
}

.footer-social a:hover {
    background: var(--tezcan-bordo);
    color: var(--tezcan-white);
    transform: translateY(-3px);
}

/* --- About Section (Hakkımızda) --- */
.about-section {
    background: var(--tezcan-white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    margin: 15px 0 0 0;
}

.about-lead {
    font-family: var(--tezcan-font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--tezcan-dark-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.about-text {
    font-family: var(--tezcan-font-body);
    font-size: 0.98rem;
    color: var(--tezcan-light-gray);
    line-height: 1.8;
    margin-bottom: 18px;
    text-transform: none;
    letter-spacing: 0;
}

.about-brands {
    background: linear-gradient(135deg, var(--tezcan-bg-gray) 0%, rgba(139, 0, 0, 0.03) 100%);
    border-left: 4px solid var(--tezcan-bordo);
    padding: 20px 25px;
    margin: 30px 0;
}

.about-brands-title {
    font-family: var(--tezcan-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--tezcan-dark-gray);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-brands-title i {
    color: var(--tezcan-bordo);
}

.about-brands-list {
    font-family: var(--tezcan-font-body);
    font-size: 0.95rem;
    color: var(--tezcan-light-gray);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    text-transform: none;
}

.about-principle {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 25px;
    background: rgba(139, 0, 0, 0.04);
    border: 1px solid rgba(139, 0, 0, 0.1);
    margin-top: 10px;
}

.about-principle-icon {
    font-size: 2.2rem;
    color: var(--tezcan-bordo);
    flex-shrink: 0;
}

.about-principle-text {
    font-family: var(--tezcan-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--tezcan-dark-gray);
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0;
}

/* About Feature Cards */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--tezcan-white);
    border: 1px solid #e0e0e0;
    transition: var(--tezcan-transition);
    position: relative;
    overflow: hidden;
}

.about-feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--tezcan-bordo);
    transition: var(--tezcan-transition);
}

.about-feature-card:hover {
    transform: translateX(8px);
    box-shadow: var(--tezcan-shadow-lg);
    border-color: rgba(139, 0, 0, 0.2);
}

.about-feature-card:hover::before {
    height: 100%;
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--tezcan-bordo), var(--tezcan-bordo-hover));
    color: var(--tezcan-white);
    font-size: 1.4rem;
    transition: var(--tezcan-transition);
}

.about-feature-card:hover .about-feature-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.about-feature-body h5 {
    font-family: var(--tezcan-font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--tezcan-dark-gray);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.about-feature-body p {
    font-family: var(--tezcan-font-body);
    font-size: 0.9rem;
    color: var(--tezcan-light-gray);
    line-height: 1.6;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Utility --- */
.text-bordo {
    color: var(--tezcan-bordo) !important;
}

.bg-bordo {
    background-color: var(--tezcan-bordo) !important;
}

.bg-dark-gray {
    background-color: var(--tezcan-dark-gray) !important;
}

/* Hide TheAdmin duplicate elements */
footer:not(.footer-section) {
    display: none !important;
}

footer.footer-section~footer {
    display: none !important;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .about-feature-card {
        padding: 18px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-title::after {
        margin: 15px auto 0;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .container {
        justify-content: center !important;
    }

    .hero-section {
        min-height: 450px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .brand-icon {
        font-size: 1.8rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .about-feature-card {
        padding: 15px;
        gap: 14px;
    }

    .about-feature-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 1.2rem;
    }

    .about-brands {
        padding: 15px 18px;
    }

    .about-principle {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* --- About Body Content (HtmlBodyPart) --- */
.about-body-content {
    font-family: var(--tezcan-font-body);
    font-size: 1rem;
    color: var(--tezcan-light-gray);
    line-height: 1.8;
    text-transform: none;
    letter-spacing: 0;
}

.about-body-content p:first-child {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--tezcan-dark-gray);
    margin-bottom: 20px;
}

.about-body-content p {
    margin-bottom: 18px;
}