/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-green: #00C853;
    --light-blue: #4FC3F7;
    --red: #E53935;
    --dark-blue: #1565C0;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* Eski logo stilleri (fallback için) */
.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    text-transform: lowercase;
    margin-bottom: 0.5rem;
}

.logo .registered {
    font-size: 0.8rem;
    color: #000;
    vertical-align: super;
}

.logo-stripes {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 5px;
}

.stripe {
    height: 4px;
    width: 80px;
    transition: transform 0.3s ease;
}

.stripe-blue {
    background: linear-gradient(90deg, var(--light-blue), #81D4FA);
}

.stripe-red {
    background: linear-gradient(90deg, var(--red), #EF5350);
}

.stripe-dark-blue {
    background: linear-gradient(90deg, var(--dark-blue), #1976D2);
}

.logo:hover .stripe {
    transform: scaleX(1.2);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item.dropdown::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    z-index: 999;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-item a:hover {
    color: var(--primary-green);
}

.chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0;
    padding: 5px 0;
    border-radius: 5px;
    overflow: visible;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li:hover {
    background: var(--bg-light);
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-green);
    padding-left: 25px;
}

/* Multi-level Dropdown */
.dropdown-menu li.dropdown-submenu-parent {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    position: absolute;
    left: 100%;
    top: -10px;
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-left: 5px;
    padding-top: 10px;
    border-radius: 5px;
    overflow: visible;
    z-index: 1001;
    list-style: none;
}

.dropdown-menu li.dropdown-submenu-parent:hover > .dropdown-submenu,
.dropdown-submenu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu li.dropdown-submenu-parent > a::after {
    content: '▶';
    float: right;
    font-size: 0.8rem;
    margin-left: 10px;
}

.dropdown-submenu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-submenu li:last-child {
    border-bottom: none;
}

.dropdown-submenu a {
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-submenu a:hover {
    background: var(--bg-light);
    color: var(--primary-green);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobil Menü Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Mobil Menü Panel - Sağdan Açılan */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.mobile-menu-panel.active {
    right: 0;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    font-size: 24px;
    color: var(--text-dark);
    font-weight: bold;
}

.mobile-menu-close:hover {
    background: var(--bg-light);
}

.mobile-menu-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-menu-logo .logo-image {
    height: 40px;
    margin-bottom: 0.25rem;
}

.mobile-menu-logo-text {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.2;
}

.mobile-menu-content {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

.mobile-menu-social {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.mobile-menu-social h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mobile-menu-social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mobile-menu-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-menu-social-icons a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.3) 0%, rgba(195, 207, 226, 0.3) 100%), image-set(url('images/hero-background.webp') type('image/webp'), url('images/hero-background.jpg')) center/cover no-repeat;
    background-attachment: scroll;
    overflow: hidden;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero::before {
    z-index: 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
}

.hero-description {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #00B248;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-dark);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--text-dark);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 100;
    background: white;
}

.section.bg-light {
    background: var(--bg-light);
}

.bg-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--light-blue), var(--red), var(--dark-blue));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* About Preview */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content-single {
    display: block !important;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--dark-blue);
    padding-left: 5px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top: 4px solid var(--primary-green);
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.5) 0%, rgba(195, 207, 226, 0.5) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* Page Header Background Images */
body.page-about .page-header {
    background-image: image-set(url('images/about-header.webp') type('image/webp'), url('images/about-header.jpg'));
}

body.page-vision .page-header {
    background-image: image-set(url('images/vision-header.webp') type('image/webp'), url('images/vision-header.jpg'));
}

body.page-mission .page-header {
    background-image: image-set(url('images/mission-header.webp') type('image/webp'), url('images/mission-header.jpg'));
}

body.page-values .page-header {
    background-image: image-set(url('images/values-header.webp') type('image/webp'), url('images/values-header.jpg'));
}

body.page-values .page-title {
    color: var(--primary-green);
}

body.page-products .page-header {
    background-image: image-set(url('images/products-header.webp') type('image/webp'), url('images/products-header.jpg'));
}

body.page-services .page-header {
    background-image: image-set(url('images/hizmetler_bg.webp') type('image/webp'), url('images/hizmetler_bg.jpg'));
}

body.page-blog .page-header {
    background-image: image-set(url('images/blog_bg.webp') type('image/webp'), url('images/blog_bg.jpg'));
}

body.page-contact .page-header {
    background-image: image-set(url('images/iletisim_bg.webp') type('image/webp'), url('images/iletisim_bg.jpg'));
}

body.page-gallery .page-header {
    background-image: image-set(url('images/gallery/gallery-header.webp') type('image/webp'), url('images/gallery/gallery-header.jpg'));
}

/* Ürün Kategorileri */
body.page-products-saclar .page-header {
    background-image: image-set(url('images/saclar_bg.webp') type('image/webp'), url('images/saclar_bg.jpg'));
}

body.page-products-profiller .page-header {
    background-image: image-set(url('images/profiller_bg.webp') type('image/webp'), url('images/profiller_bg.jpg'));
}

body.page-products-hadde-urunler .page-header {
    background-image: image-set(url('images/hadde-urunler-header.webp') type('image/webp'), url('images/hadde-urunler-header.jpg'));
}

body.page-products-borular .page-header {
    background-image: image-set(url('images/borular-header.webp') type('image/webp'), url('images/borular-header.jpg'));
}

body.page-products-yapi-profilleri .page-header {
    background-image: image-set(url('images/yapi-profilleri-header.webp') type('image/webp'), url('images/yapi-profilleri-header.jpg'));
}

body.page-products-celik-hasirlar .page-header {
    background-image: image-set(url('images/products-celik-hasirlar-header.webp') type('image/webp'), url('images/products-celik-hasirlar-header.jpg'));
}

/* Ürün Alt Sayfaları - Saclar */
body.page-products-saclar-siyah .page-header {
    background-image: image-set(url('images/products-saclar-siyah-header.webp') type('image/webp'), url('images/products-saclar-siyah-header.jpg'));
}

body.page-products-saclar-hrp .page-header {
    background-image: image-set(url('images/products-saclar-hrp-header.webp') type('image/webp'), url('images/products-saclar-hrp-header.jpg'));
}

body.page-products-saclar-dkp .page-header {
    background-image: image-set(url('images/products-saclar-dkp-header.webp') type('image/webp'), url('images/products-saclar-dkp-header.jpg'));
}

body.page-products-saclar-galvanizli .page-header {
    background-image: image-set(url('images/products-saclar-galvanizli-header.webp') type('image/webp'), url('images/products-saclar-galvanizli-header.jpg'));
}

body.page-products-saclar-levha .page-header {
    background-image: image-set(url('images/products-saclar-levha-header.webp') type('image/webp'), url('images/products-saclar-levha-header.jpg'));
}

body.page-products-saclar-trapez .page-header {
    background-image: image-set(url('images/products-saclar-trapez-header.webp') type('image/webp'), url('images/products-saclar-trapez-header.jpg'));
}

body.page-products-saclar-baskili .page-header {
    background-image: image-set(url('images/products-saclar-baskili-header.webp') type('image/webp'), url('images/products-saclar-baskili-header.jpg'));
}

body.page-products-saclar-boyali-trapez .page-header {
    background-image: image-set(url('images/products-saclar-boyali-trapez-header.webp') type('image/webp'), url('images/products-saclar-boyali-trapez-header.jpg'));
}

body.page-products-saclar-genisletilmis .page-header {
    background-image: image-set(url('images/products-saclar-genisletilmis-header.webp') type('image/webp'), url('images/products-saclar-genisletilmis-header.jpg'));
}

body.page-products-saclar-baklavali .page-header {
    background-image: image-set(url('images/products-saclar-baklavali-header.webp') type('image/webp'), url('images/products-saclar-baklavali-header.jpg'));
}

body.page-products-saclar-gozyasi-desenli .page-header {
    background-image: image-set(url('images/products-saclar-gozyasi-desenli-header.webp') type('image/webp'), url('images/products-saclar-gozyasi-desenli-header.jpg'));
}

body.page-products-saclar-delikli .page-header {
    background-image: image-set(url('images/products-saclar-delikli-header.webp') type('image/webp'), url('images/products-saclar-delikli-header.jpg'));
}

/* Ürün Alt Sayfaları - Profiller */
body.page-products-profiller-galvanizli .page-header {
    background-image: image-set(url('images/products-profiller-galvanizli-header.webp') type('image/webp'), url('images/products-profiller-galvanizli-header.jpg'));
}

body.page-products-profiller-kare .page-header {
    background-image: image-set(url('images/products-profiller-kare-header.webp') type('image/webp'), url('images/products-profiller-kare-header.jpg'));
}

body.page-products-profiller-dikdortgen .page-header {
    background-image: image-set(url('images/products-profiller-dikdortgen-header.webp') type('image/webp'), url('images/products-profiller-dikdortgen-header.jpg'));
}

/* Ürün Alt Sayfaları - Hadde Ürünler */
body.page-products-hadde-lama .page-header {
    background-image: image-set(url('images/products-hadde-lama-header.webp') type('image/webp'), url('images/products-hadde-lama-header.jpg'));
}

body.page-products-hadde-kare-dolu .page-header {
    background-image: image-set(url('images/products-hadde-kare-dolu-header.webp') type('image/webp'), url('images/products-hadde-kare-dolu-header.jpg'));
}

body.page-products-hadde-kosebentler .page-header {
    background-image: image-set(url('images/products-hadde-kosebentler-header.webp') type('image/webp'), url('images/products-hadde-kosebentler-header.jpg'));
}

/* Ürün Alt Sayfaları - Borular */
body.page-products-borular-sanayi .page-header {
    background-image: image-set(url('images/products-borular-sanayi-header.webp') type('image/webp'), url('images/products-borular-sanayi-header.jpg'));
}

body.page-products-borular-galvanizli .page-header {
    background-image: image-set(url('images/products-borular-galvanizli-header.webp') type('image/webp'), url('images/products-borular-galvanizli-header.jpg'));
}

/* Services Alt Sayfaları */
body.page-services-profil-kesim .page-header {
    background-image: image-set(url('images/profil-kesim-header.webp') type('image/webp'), url('images/profil-kesim-header.jpg'));
}

body.page-services-sac-kesim .page-header {
    background-image: image-set(url('images/sac-kesim-header.webp') type('image/webp'), url('images/sac-kesim-header.jpg'));
}

body.page-services-sac-bukum .page-header {
    background-image: image-set(url('images/sac-bukum-header.webp') type('image/webp'), url('images/sac-bukum-header.jpg'));
}

body.page-services-boru-kesimi .page-header {
    background-image: image-set(url('images/boru-kesimi-header.webp') type('image/webp'), url('images/boru-kesimi-header.jpg'));
}

body.page-services-rulo-dilme-kesim .page-header {
    background-image: image-set(url('images/rulo-dilme-kesim-header.webp') type('image/webp'), url('images/rulo-dilme-kesim-header.jpg'));
}

body.page-services-rulo-sac-kesim .page-header {
    background-image: image-set(url('images/rulo-sac-kesim-header.webp') type('image/webp'), url('images/rulo-sac-kesim-header.jpg'));
}

/* Ürün Alt Sayfaları - Borular */
body.page-products-borular-dogalgaz .page-header {
    background-image: image-set(url('images/borular-dogalgaz-header.webp') type('image/webp'), url('images/borular-dogalgaz-header.jpg'));
}

body.page-products-borular-su .page-header {
    background-image: image-set(url('images/borular-su-header.webp') type('image/webp'), url('images/borular-su-header.jpg'));
}

/* Ürün Alt Sayfaları - Profiller */
body.page-products-profiller-ozel-sekill .page-header {
    background-image: image-set(url('images/profiller-ozel-sekill-header.webp') type('image/webp'), url('images/profiller-ozel-sekill-header.jpg'));
}

/* Ürün Alt Sayfaları - Hadde Ürünler */
body.page-products-hadde-silme .page-header {
    background-image: image-set(url('images/hadde-silme-header.webp') type('image/webp'), url('images/hadde-silme-header.jpg'));
}

/* Ürün Alt Sayfaları - Yapı Profilleri */
body.page-products-yapi-heb .page-header {
    background-image: image-set(url('images/yapi-heb-header.webp') type('image/webp'), url('images/yapi-heb-header.jpg'));
}

body.page-products-yapi-ipe .page-header {
    background-image: image-set(url('images/yapi-ipe-header.webp') type('image/webp'), url('images/yapi-ipe-header.jpg'));
}

body.page-products-yapi-hea .page-header {
    background-image: image-set(url('images/yapi-hea-header.webp') type('image/webp'), url('images/yapi-hea-header.jpg'));
}

/* Ürün Alt Sayfaları - Çelik Hasırlar */
body.page-products-celik-hasirlar-cit .page-header {
    background-image: image-set(url('images/celik-hasirlar-cit-header.webp') type('image/webp'), url('images/celik-hasirlar-cit-header.jpg'));
}

body.page-products-celik-hasirlar-beton .page-header {
    background-image: image-set(url('images/celik-hasirlar-beton-header.webp') type('image/webp'), url('images/celik-hasirlar-beton-header.jpg'));
}

body.page-products-celik-hasirlar-kafes .page-header {
    background-image: image-set(url('images/celik-hasirlar-kafes-header.webp') type('image/webp'), url('images/celik-hasirlar-kafes-header.jpg'));
}

/* Blog Yazıları - Unsplash Görselleri */
body.page-blog-sac-uretiminde-kalite-kontrolu .page-header {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
}

body.page-blog-profil-kesim-teknolojileri .page-header {
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80');
}

body.page-blog-yapi-profilleri-secimi .page-header {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f6dfa2a?w=1920&q=80');
}

body.page-blog-galvanizli-sac-kullanimi .page-header {
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80');
}

body.page-blog-boru-kesim-teknikleri .page-header {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
}

body.page-blog-hadde-urunler-ve-kullanimi .page-header {
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80');
}

body.page-blog-sac-bukum-islemleri .page-header {
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80');
}

body.page-blog-rulo-dilme-islemleri .page-header {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f6dfa2a?w=1920&q=80');
}

body.page-blog-celik-hasirlar-ve-uygulamalari .page-header {
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80');
}

body.page-blog-kalite-standartlari .page-header {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
}

body.page-blog-surdurulebilir-uretim .page-header {
    background-image: url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?w=1920&q=80');
}

body.page-blog-inovasyon-ve-teknoloji .page-header {
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80');
}

body.page-blog-korozyon-onleme .page-header {
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80');
}

body.page-blog-sektor-trendleri-2024 .page-header {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f6dfa2a?w=1920&q=80');
}

body.page-blog-urun-secimi-rehberi .page-header {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
}

body.page-blog-hizli-teslimat-stratejileri .page-header {
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80');
}

body.page-blog-ozel-ebatli-uretim .page-header {
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80');
}

body.page-blog-endustriyel-uygulamalar .page-header {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f6dfa2a?w=1920&q=80');
}

body.page-blog-test-ve-sertifikasyon .page-header {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
}

body.page-blog-maliyet-optimizasyonu .page-header {
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80');
}

body.page-blog-musteri-memnuniyeti .page-header {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f6dfa2a?w=1920&q=80');
}

body.page-blog-gelecek-vizyonu .page-header {
    background-image: url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?w=1920&q=80');
}

body.page-blog-rulo-sac-kesim-surecleri .page-header {
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80');
}

body.page-blog-dkp-hrp-saclar-farklari .page-header {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-breadcrumb {
    color: var(--text-light);
}

.page-breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
}

.content-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
    background: white;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-card-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsive */
/* Tablet ve küçük ekranlar */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobil cihazlar */
@media (max-width: 768px) {
    /* Mobil scroll optimizasyonu */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
        -webkit-overflow-scrolling: touch;
    }
    
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    section, .section, .hero, .page-header, .content-section, .footer {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Header */
    .header .container {
        padding: 0.75rem 15px;
    }

    .logo-image {
        height: 45px;
    }

    /* Mobil menü için nav-list gizle */
    .nav-list {
        display: none !important;
    }

    /* Mobil menü panel içindeki nav-list */
    .mobile-menu-panel .nav-list {
        display: flex !important;
        flex-direction: column;
        padding: 0;
        position: static;
        box-shadow: none;
        background: transparent;
        max-height: none;
        overflow-y: visible;
    }

    .mobile-menu-panel .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-panel .nav-item:last-child {
        border-bottom: none;
    }

    .mobile-menu-panel .nav-item > a {
        padding: 1.25rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        color: var(--text-dark);
        font-weight: 500;
        transition: background 0.3s ease;
    }

    .mobile-menu-panel .nav-item > a:hover {
        background: var(--bg-light);
    }

    .mobile-menu-panel .chevron {
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }

    .mobile-menu-panel .nav-item.dropdown.active .chevron {
        transform: rotate(180deg);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Dropdown Menüler - Mobil */
    .mobile-menu-panel .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        border-radius: 0;
        max-height: none;
    }

    .mobile-menu-panel .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-panel .dropdown-submenu {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05);
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        border-radius: 0;
        left: 0;
        top: 0;
    }

    .mobile-menu-panel .dropdown-submenu-parent.active .dropdown-submenu {
        display: block;
    }

    .mobile-menu-panel .dropdown-submenu-parent > a::after {
        content: '▶';
        margin-left: auto;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }

    .mobile-menu-panel .dropdown-submenu-parent.active > a::after {
        transform: rotate(90deg);
    }

    .mobile-menu-panel .dropdown-menu a,
    .mobile-menu-panel .dropdown-submenu a {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-submenu a {
        padding-left: 3.5rem;
    }

    .dropdown-menu li:last-child a,
    .dropdown-submenu li:last-child a {
        border-bottom: none;
    }

    .chevron {
        float: right;
        margin-left: 0.5rem;
    }

    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 500px;
        padding: 2rem 0;
    }

    .hero-content {
        padding: 0 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none !important;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .scroll-indicator {
        display: none !important;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* About Content */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-image {
        height: 180px;
    }

    .product-card h3 {
        font-size: 1.25rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-image {
        height: 150px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card {
        padding: 1.5rem;
    }

    .blog-card-image {
        height: 200px;
    }

    /* Page Header */
    .page-header {
        padding: 80px 0 40px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-breadcrumb {
        font-size: 0.85rem;
    }

    /* Content Section */
    .content-section {
        padding: 2rem 0;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .content-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .content-section ul {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-logo-image {
        height: 40px;
        margin-bottom: 1rem;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px; /* Dokunma için minimum boyut */
    }

    /* Forms */
    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px; /* Dokunma için minimum boyut */
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Feature Items */
    .feature-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.5rem;
    }

    /* Contact Info */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-item {
        padding: 1.5rem;
    }

    .contact-info-icon {
        font-size: 2rem;
    }

    /* Responsive Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Touch optimizations */
    a, button, .btn {
        -webkit-tap-highlight-color: rgba(0, 200, 83, 0.2);
        touch-action: manipulation;
    }

    /* Prevent text selection on buttons */
    .btn, .mobile-menu-toggle {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Table responsive */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Küçük mobil cihazlar */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header .container {
        padding: 0.5rem 10px;
    }

    .logo-image {
        height: 40px;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .hero-description {
        font-size: 0.85rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .product-card,
    .service-card,
    .blog-card {
        padding: 1.25rem;
    }

    .product-image {
        height: 150px;
    }

    .service-image {
        height: 120px;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Gallery Styles */
.gallery-section {
    margin-bottom: 60px;
}

.gallery-section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-video-wrapper,
.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
}

.gallery-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    /* Resim kalitesini optimize et - daha az işlem gücü */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* GPU hızlandırma */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Resim sıkıştırma için */
    image-rendering: auto;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Fotoğraf wrapper'ı - tam sığdırma için */
.gallery-image-wrapper {
    overflow: hidden;
    background: #f5f5f5;
    /* Resim boyutunu sınırla - host kasmasın */
    max-width: 100%;
    max-height: 100%;
    /* GPU hızlandırma */
    will-change: contents;
    transform: translateZ(0);
}

.gallery-photo .gallery-image-wrapper {
    padding-top: 0 !important;
    height: 400px;
    display: block;
    /* Resim yüklenene kadar placeholder */
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.gallery-photo .gallery-image-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-photo .gallery-image-wrapper .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Resim yüklendiğinde shimmer'ı kaldır */
.gallery-image-wrapper img.loaded ~ *,
.gallery-image-wrapper picture img.loaded {
    animation: none;
}

.gallery-image-wrapper:has(img.loaded) {
    background: #f5f5f5;
    animation: none;
}

.gallery-item-title {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Image Optimization - Agresif Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    transform: scale(0.95);
}

img[loading="lazy"].loading {
    opacity: 0.5;
    transform: scale(0.98);
}

img[loading="lazy"].loaded {
    opacity: 1;
    transform: scale(1);
}

img[loading="lazy"].error {
    opacity: 0.3;
    background: #f0f0f0;
}

/* Picture element optimizasyonu */
picture {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

picture img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Video Optimization */
video[preload="metadata"] {
    background: #000;
}

/* Video Placeholder */
.gallery-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

.gallery-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.gallery-video-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.gallery-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Gallery - Mobil Optimizasyon */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .gallery-video-wrapper,
    .gallery-image-wrapper {
        padding-top: 56.25%;
        /* Mobilde daha küçük resimler yükle */
        max-width: 100%;
    }

    .gallery-item-title {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Mobilde resim kalitesini düşür - host kasmasın */
    .gallery-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        /* Daha az işlem gücü */
        will-change: auto;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 1rem;
    }

    .gallery-section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .gallery-item-title {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Global Image Optimization - Host Kasmasın */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Resim boyutunu sınırla */
    max-height: 100vh;
    /* GPU hızlandırma */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Responsive Images with srcset support */
img[srcset] {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Galeri resimleri için özel optimizasyon */
.gallery-image-wrapper.image-loaded {
    background: transparent;
    animation: none;
}

/* Resim yüklenirken shimmer efekti */
.gallery-image-wrapper:not(.image-loaded) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

/* Resim boyutlarını sınırla - çok büyük resimler host'u kasmasın */
.gallery-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .gallery-image-wrapper {
        max-width: 100%;
    }
}

/* Video Responsive */
video {
    max-width: 100%;
    height: auto;
}

