/* ===== CSS VARIABLES ===== */
:root {
    --primary: #296478; /* RAL 5025 */
    --secondary: #296478; 
    --light-gray: #f4f4f4;
    --dark-gray: #333333;
    --white: #ffffff;
    --black: #000000;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER STYLES ===== */
header {
    background-color: transparent;
    color: var(--white);
    padding: 1rem 0;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: linear-gradient(to right, 
                transparent 0%, 
                var(--primary) 30%, 
                var(--primary) 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== LOGO STYLES ===== */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    height: 42px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

/* ===== NAVIGATION STYLES ===== */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
    display: block;
}

nav ul li a:hover {
    color: var(--light-gray);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1;
}

nav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 15px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown a:hover {
    background-color: var(--light-gray);
    color: var(--primary);
    padding-left: 20px;
    padding-right: 10px;
}

/* Transparent header dropdown styles */
header:not(.scrolled) .dropdown {
    background-color: rgba(0, 0, 0, 0.7);
}

header:not(.scrolled) .dropdown a {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

header:not(.scrolled) .dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* ===== MOBILE MENU ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    color: var(--white);
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== SLIDESHOW CONTROLS ===== */
.slideshow-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.prev-slide, .next-slide {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    margin: 0 15px;
    transition: background 0.3s;
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* ===== PAGE HEADER (İç Sayfalar) ===== */
.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/300') center/cover no-repeat;
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    min-height: 200px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
}

.breadcrumb li {
    margin: 0 5px;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb li:last-child {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1e4e5e;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #704622;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--white);
}

.page-content {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 20%;
}

.section-header p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 20px auto 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 30px; 
    transition: transform 0.3s, box-shadow 0.3s;
    height: 350px; 
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
    height: 60px; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; 
}

.service-card p {
    text-align: left; 
    color: var(--dark-gray);
    flex-grow: 1;
    margin-bottom: 0;
    width: 100%; 
    overflow: hidden;
    line-height: 1.5;
    padding: 0 10px; 
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.about-text p {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* ===== PRODUCTS SECTION ===== */
.carousel-container {
    position: relative;
    width: 100%;
    padding: 0 50px;
    margin: 30px auto;
}

.products-carousel {
    width: 100%;
    overflow: hidden;
}

.products-grid {
    display: flex;
    transform: translateX(0);
    transition: transform 0.3s ease;
    gap: 15px;
}

.product-card {
    flex: 0 0 calc(25% - 11.25px);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    height: 420px;
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    width: 260px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex-grow: 1;
    position: relative;
    padding-bottom: 70px;
}

.product-info h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-info .btn {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    text-align: center;
}

/* ===== CAROUSEL BUTTONS ===== */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    opacity: 0.9;
}

.carousel-button:hover {
    opacity: 1;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===== REFERENCES SECTION ===== */
.references-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
    padding: 20px 0;
}

.references-slider {
    display: flex;
    transition: transform 1s ease;
    will-change: transform; /* Performans için */
}

.reference-item {
    flex: 0 0 auto;
    width: calc(100% / 6);
    padding: 0 15px;
    text-align: center;
    box-sizing: border-box; /* Padding hesaplamalarını düzeltmek için */
}

.reference-item a {
    text-decoration: none !important; /* Alt çizgiyi kaldırır */
    color: inherit;
    display: block;
}

.reference-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 5px solid #f0f0f0;
    transition: transform 0.3s;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-item h4 {
    text-decoration: none !important;
    color: var(--primary);
}

.reference-item:hover h4 {
    color: var(--secondary);
    transition: color 0.3s ease;
}

.reference-item:hover .reference-image {
    transform: scale(1.05);
    border-color: var(--primary);
}


/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    border: 1px solid #c3e6cb;
}

/* ===== REFERENCE DETAIL PAGE GALLERY ===== */
.reference-gallery-container {
    position: relative;
    width: 100%;
    margin: 30px 0;
}

.reference-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reference-gallery-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth easing */
}

.reference-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.reference-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery navigation buttons */
.reference-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 45px; /* 50px'ten 60px'e büyüttük */
    height: 45px; /* 50px'ten 60px'e büyüttük */
    border-radius: 50%;
    font-size: 24px; /* 20px'ten 24px'e büyüttük */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* Ortalama için bu satırları ekleyin */
    line-height: 1;
    font-family: Arial, sans-serif; /* Ok simgeleri için daha iyi font */
    padding: 0; /* Varsayılan padding'i kaldırın */
    margin: 0; /* Varsayılan margin'i kaldırın */
    text-align: center;
    vertical-align: middle;
	
}

.reference-gallery-container[data-slides="1"] .reference-gallery-nav,
.reference-gallery-container[data-slides="1"] .reference-gallery-dots {
    display: none;
}

.reference-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
    /* Transform origin'i merkez yaparak scale'in ortadan büyümesini sağlayın */
    transform-origin: center center;
}

.reference-gallery-nav.prev {
    left: 20px;
}

.reference-gallery-nav.next {
    right: 20px;
}

/* Gallery dots indicator */
.reference-gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.reference-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;
}

.reference-dot.active {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.reference-dot:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-section p {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary);
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.map-section {
    height: 100%;
}

.map-container {
    width: 100%;
    height: 150px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PRODUCT LISTING STYLES ===== */
.product-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.product-item {
    display: flex;
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.product-image {
    flex: 0 0 250px;
    margin-right: 30px;
    border: 1px solid #f1f1f1;
    background-color: #f9f9f9;
    height: 190px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-content {
    flex: 1;
    padding-right: 150px;
    position: relative;
}

.product-title {
    font-size: 22px;
    color: #31025c;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 15px;
}

.detay-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -120px;
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 8px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.detay-btn:hover {
    background-color: #1d4e5f;
}

/* ===== INNER PAGES CONTENT ===== */
.content-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

.sidebar {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 8px 0;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    color: var(--primary);
    padding-left: 10px;
}

.main-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.main-content p {
    margin-bottom: 20px;
}

.main-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.main-content ul li {
    margin-bottom: 10px;
}

/* ===== PRODUCT DETAIL PAGES ===== */
.product-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
    border-bottom: 2px solid #e5e5e5;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--primary);
}

.product-detail-container {
    display: flex;
    gap: 40px;
}

.product-image-container {
    flex: 0 0 45%;
}

.main-product-image {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    height: auto;
    object-fit: cover;
}

.product-thumbnail {
    display: flex;
    gap: 10px;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
}

.thumbnail-image:hover {
    border-color: var(--primary);
}

.product-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.product-item {
    display: flex;
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.product-content {
    flex: 1;
    padding-right: 150px;
    position: relative;
}

.detay-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -120px;
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 8px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.detay-btn:hover {
    background-color: #1d4e5f;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(33.33% - 10px);
    }
    
    .reference-item {
        width: calc(100% / 5);
    }
}

@media (max-width: 992px) {
    .about-content, 
    .contact-container, 
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .reference-item {
        width: calc(100% / 4);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    nav ul {
        flex-direction: column;
        position: fixed;
        left: -100%;
        top: 80px;
        width: 80%;
        background-color: var(--primary);
        height: calc(100vh - 80px);
        transition: all 0.3s ease;
        overflow-y: auto;
        padding: 20px 0;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li a {
        padding: 15px 20px;
        display: block;
    }
    
    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    nav ul li.active .dropdown {
        max-height: 1000px;
    }
    
    .dropdown a {
        padding-left: 30px;
        color: var(--white);
        border-bottom: none;
    }
    
    .dropdown a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .reference-item {
        width: calc(100% / 3);
    }
    
    .product-detail-container {
        flex-direction: column-reverse;
    }
    
    .product-image-container {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .product-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .detay-btn {
        position: absolute;
        top: auto;
        transform: none;
        bottom: -40px;
        right: 0;
    }
}

@media (max-width: 576px) {
    .product-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .reference-item {
        width: calc(100% / 2);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 200px;
    }
}


/* ===== PRODUCT GALLERY STYLES ===== */
.product-detail-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-info {
    flex: 0 0 55%; /* Sabit genişlik */
    padding-right: 20px;
}

.product-gallery-container {
    flex: 0 0 auto;
    width: 400px;
    height: 300px;
    position: relative;
}

.product-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.product-gallery-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 0px;
    box-sizing: border-box;
}


.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product Gallery Navigation Buttons */
.product-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
    text-align: center;
    vertical-align: middle;
}

.product-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
    transform-origin: center center;
}

.product-gallery-nav.prev {
    left: 20px;
}

.product-gallery-nav.next {
    right: 20px;
}

.product-gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.product-gallery-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(0, 0, 0, 0.3);
}

/* Product Gallery Dots */
.product-gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.product-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;
}

.product-dot.active {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.product-dot:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

/* Tek resim varsa navigation'ı gizle */
.product-gallery-container[data-slides="1"] .product-gallery-nav,
.product-gallery-container[data-slides="1"] .product-gallery-dots {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-info {
        flex: 0 0 100%;
        padding-right: 0;
        order: 2;
    }
    
    .product-gallery-container {
        flex: 0 0 100%;
        order: 1;
    }
    
    .product-gallery {
        height: 350px; /* Mobile'da daha küçük */
    }
}