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

:root {
    --primary-color: #940000;
    --primary-dark: #6d0000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --background-light: #f8f9fa;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 400;
    background-color: var(--background-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.3px;
}

img {
    width: 100%;
}

section {
    padding: 100px 0;
    background: rgb(255, 255, 255);

}

.section_title {
    margin-bottom: 30px;

}

.section_title h2 {

    position: relative;
    text-align: center;
    color: #000;
    font-size: 32px;
    transition: all .5s ease-in-out;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.section_title h2:hover {
    background-color: #940000;
}

/* Sadece Kalite Politikamız başlığı için özel stil */
#KalitePolitikamız .section_title h2 {
    color: #fff;
    /* Sadece bu başlık beyaz olacak */
}

/* -----------------HEADER--------------*/
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 90%;
    max-width: 1400px;
    padding: 15px 0;
    background: transparent;
}

.logo img {
    height: 100px;
    /* Revised size for modern logo */
    width: auto;
    transition: transform 0.3s ease;
    /* Better transition for hover */
}

.logo img:hover {
    transform: scale(1.1);
    /* Hover animation */
}

.nav_links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav_links li a {
    color: var(--text-dark) !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
    border-radius: 0;
}

.nav_links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav_links li a:hover {
    color: var(--primary-color) !important;
    background-color: transparent;
}

.nav_links li a:hover::after {
    width: 100%;
}

/*ANASAYFA*/
.inner_anasayfa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 90%;
    max-width: 1400px;
    padding: 120px 0 60px;
    gap: 50px;
}

.child_anasayfa {
    flex: 1;
}

.child_anasayfa h1 {
    font-size: 56px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.span_child {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.span_child::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(148, 0, 0, 0.1);
    z-index: -1;
}

.child_anasayfa p {
    font-size: 20px;
    margin-bottom: 35px;
    font-weight: 400;
    color: var(--text-light);
    max-width: 500px;
}

.btn {
    background: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    color: var(--white);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/*ÜRÜNLER*/
#urunler {
    padding: 80px 0;
    background: var(--background-light);
}

.innerurunler {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.innerurunler_child {
    flex: 1 1 300px;
    max-width: 380px;
    width: 100%;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.innerurunler_child:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(148, 0, 0, 0.1);
}

.innerurunler_child .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(148, 0, 0, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-inline: auto;
    transition: var(--transition);
}

.innerurunler_child:hover .icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.innerurunler_child h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 15px 0;
    font-family: var(--font-heading);
}

.innerurunler_child img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    transition: var(--transition);
}

.innerurunler_child:hover img {
    transform: scale(1.05);
}

.innerurunler_child p {
    color: var(--text-light);
    font-size: 15px;
    font-style: italic;
}

/* Mobil düzenleme */
@media (max-width: 768px) {
    .innerurunler {
        flex-direction: column;
        align-items: center;
    }

    .innerurunler_child {
        width: 90%;
        max-width: 350px;
        margin: 0;
    }

    .innerurunler_child h3 {
        font-size: 16px;
        min-height: 40px;
    }
}

/* Kalite Politikamız */
.inner_testi {
    padding: 80px 20px;
    max-width: 1000px;
    /* Reduced width for better reading */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

.kalite-intro {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.testi_img {
    width: 100%;
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    /* Context for absolute positioning */
}

.testi_img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    /* Dark overlay for readability */
    transition: var(--transition);
}

.testi_img:hover .img-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.img-overlay h3 {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    transform: translateY(0);
    transition: var(--transition);
}

.testi_img:hover .img-overlay h3 {
    transform: scale(1.05);
}

.kalite-ana-metin {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Old header removed, now inside overlay */

.kalite-kartlar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

.inner_contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 90%;
    max-width: 1400px;
    gap: 40px;
    padding: 60px 0;
}

.child_contact {
    flex: 1;
    min-width: 300px;
}

.child_contact form {
    padding: 50px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.child_contact form input,
.child_contact form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: var(--background-light);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 15px;
}

.child_contact form input:focus,
.child_contact form textarea:focus {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(148, 0, 0, 0.1);
    outline: none;
    color: var(--text-dark);
    letter-spacing: normal;
}

.child_contact form input:last-child {
    margin-bottom: 0;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 16px;
    border-radius: var(--radius-sm);
}

.child_contact form input:last-child:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Footer Stilleri */
footer {
    position: relative;
    padding: 80px 0 0;
    background: #111;
    color: #fff;
    width: 100%;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.footer-item {
    margin: 0;
}

.footer-item h4 {
    margin-bottom: 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-item h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-item p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 400;
}

.footer-item i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #666;
    font-size: 14px;
    background: #0a0a0a;
    margin-top: 0;
}

/* Footer Hover Efektleri */
.footer-item p:hover {
    color: #fff;
    transition: var(--transition);
}

.footer-item p:hover i {
    transform: scale(1.2);
}

/* Map & Address in Footer */
.map-embed iframe {
    filter: grayscale(0.2) contrast(1.1);
    /* Slight filter to blend with dark footer */
    border-radius: var(--radius-sm);
}

.address-info {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.address-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 15px;
    color: #ccc;
    line-height: 1.5;
}

.address-line i {
    margin-top: 4px;
    /* Align icon with text top */
    color: var(--primary-color);
}

/* Footer'ın sayfanın altında kalması için */
html,
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body>*:not(footer) {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

#menu_bar {
    display: none;
}

.kalite-intro {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 50px;
}

.testi_img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    transform: translateX(30px);
}

.testi_img img {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kalite-ana-metin {
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.8;
    text-align: center;
    font-size: 15px;
    color: #555;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.kalite-baslik {
    text-align: center;
    margin: 30px 0;
    font-size: 26px;
    color: #940000;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.kalite-kartlar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    margin-right: 20px;
    justify-content: end;
    max-width: 1200px;
    margin-left: auto;
}

.kalite-kart {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(148, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #940000;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.kalite-kart:hover {
    transform: translateY(-5px);
    background: #940000;
    color: #fff;
}

.kalite-kart.animate {
    opacity: 1;
    transform: translateX(0);
}

.kalite-kart h4 {
    color: #940000;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.kalite-kart:hover h4,
.kalite-kart:hover p {
    color: #fff;
}

.kalite-kart p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    aspect-ratio: 16/9;
    border: 1px solid #fff;
}

.slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
}

.slide {
    min-width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: none;
    background: #fff;
    height: 100%;
    border: none;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    display: block;
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #fff;
    margin: 0;
    padding: 0;
    border: none;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active img {
    animation: zoomIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #940000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-button:hover {
    background: #940000;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(148, 0, 0, 0.3);
}

.slider-button:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-container {
        aspect-ratio: 4/3;
        border-radius: 0;
        box-shadow: none;
    }

    .slider-button {
        width: 35px;
        height: 35px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.9);
        color: #940000;
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex !important;
    }

    .slider-button:hover {
        background: #940000;
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 15px rgba(148, 0, 0, 0.3);
    }

    .prev-button {
        left: 5px;
    }

    .next-button {
        right: 5px;
    }

    .swipe-right,
    .swipe-left {
        display: none !important;
    }
}

/* Kaydırma animasyonlarını kaldır */
@keyframes swipeRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes swipeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

/* Legacy product styles removed - Using Grid now */

/* WhatsApp buton stili */
button[type="submit"] {
    display: block;
    margin: 30px auto;
    padding: 15px 30px;
    background: #25d366;
    /* WhatsApp yeşili */
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

/* Hover efekti */
button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Tıklama efekti */
button[type="submit"]:active {
    transform: translateY(1px);
}

/* Dalgalanma animasyonu */
button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

/* WhatsApp ikonu ekle */
button[type="submit"]::after {
    content: '\f232';
    /* WhatsApp ikonu */
    font-family: 'Font Awesome 5 Brands';
    margin-left: 10px;
    display: inline-block;
    animation: bounce 1s infinite;
}

/* Zıplama animasyonu */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Mobil için düzenleme */
@media (max-width: 768px) {
    button[type="submit"] {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* Temel animasyon tanımları */
@keyframes slideUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Legacy styles removed */

.text-content {
    padding-right: 40px;
}

.slider-wrapper {
    max-width: 600px;
}

.slider-container {
    width: 100%;
}

.slider img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Mobil için */
@media (max-width: 768px) {
    .inner_anasayfa {
        flex-direction: column-reverse;
        /* Slider'ı üste almak için */
        padding: 0 10px;
    }

    .child_anasayfa {
        width: 100%;
        padding: 10px;
    }

    .slider-button {
        display: none;
    }

    .text-content {
        padding-right: 0;
        text-align: center;
        margin-top: 20px;
    }

    .slider-wrapper {
        max-width: 100%;
    }

    .slider img {
        max-height: 300px;
        width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }

    .slider-container {
        background: transparent;
    }

    .text-content h1 {
        font-size: 24px;
    }

    .btn {
        margin: 15px auto;
    }
}

.slider-container {
    position: relative;
}

.swipe-right,
.swipe-left {
    display: none;
}

@keyframes swipeRight {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes swipeLeft {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {

    .swipe-right,
    .swipe-left {
        display: none !important;
    }

    .slider-button {
        display: none;
    }
}

/* Navbar mobile styles moved to responsive.css */

/* Legacy responsive styles removed - handled by main CSS now */

/* Kaydırma çubuğu stilleri */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #940000;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #7a0000;
}

/* Firefox için kaydırma çubuğu stilleri */
* {
    scrollbar-width: thin;
    scrollbar-color: #940000 #f1f1f1;
}

/* Legacy Styles Cleaned up */

/* Mobil için adres stilleri */
@media (max-width: 768px) {
    .address-info {
        padding: 12px;
        margin-top: 12px;
    }

    .address-line {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .address-line i {
        width: 14px;
        font-size: 13px;
        margin-right: 8px;
    }
}