/* Genel Stil Ayarları */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    position: relative;
    padding-top: 80px;
    /* Header yüksekliğine göre ayarlayın */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #0056b3;
    transition: all 0.3s ease;
}

a:hover {
    color: #003366;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #003366;
    color: #fff;
}

.btn-primary {
    background-color: #0056b3;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #0056b3;
    margin: 15px auto;
}

img {
    max-width: 100%;
    height: auto;
}


/* Top Bar Stil */

.top-bar {
    background-color: #f8f8f8;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info a {
    color: #666;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.contact-info a i {
    margin-right: 5px;
    color: #0056b3;
}

.social-links {
    display: flex;
}

.social-links a {
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    font-size: 12px;
}

.social-links a.facebook {
    background-color: #3b5998;
}

.social-links a.twitter {
    background-color: #1da1f2;
}

.social-links a.instagram {
    background-color: #e1306c;
}

.social-links a.linkedin {
    background-color: #0077b5;
}

.social-links a.youtube {
    background-color: #ff0000;
}

.social-links a.pinterest {
    background-color: #bd081c;
}

.social-links a.rss {
    background-color: #f26522;
}

.search-box {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.search-box input {
    height: 30px;
    width: 150px;
    border: 1px solid #ddd;
    border-radius: 3px 0 0 3px;
    padding: 0 10px;
    font-size: 12px;
}

.search-box button {
    height: 30px;
    width: 30px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.language-selector {
    margin-left: 15px;
}

.language-selector a {
    padding: 5px 8px;
    color: #666;
    font-weight: bold;
    font-size: 12px;
}

.language-selector a.active {
    background-color: #0056b3;
    color: #fff;
    border-radius: 3px;
}


/* WhatsApp Button */

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* Sol yerine sağ tarafta pozisyonlandırıldı */
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn.pulse {
    animation: pulse 1s infinite;
}


/* Header Stil */

header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

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

.logo a {
    display: block;
}

.logo img {
    height: 80px;
    /* Logo yüksekliği */
    width: auto;
    /* Orantılı genişlik */
    max-width: 100%;
    /* Taşma olmaması için */
    transition: all 0.3s ease;
}

nav ul.menu {
    display: flex;
    list-style: none;
}

nav ul.menu li {
    position: relative;
    margin-left: 20px;
}

nav ul.menu li a {
    color: #333;
    font-weight: 600;
    padding: 10px 0;
}

nav ul.menu li a:hover,
nav ul.menu li a.active {
    color: #0056b3;
}

.dropdown .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

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

.submenu li {
    margin: 0;
    display: block;
}

.submenu li a {
    display: block;
    padding: 8px 15px;
    color: #333;
}

.submenu li a:hover {
    background-color: #f5f5f5;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


/* Hero Section */

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    transition: background-image 0.5s ease;
}


/* Varsayılan arka plan resmi - bu kısmı değiştirebilirsiniz */

#hero-section {
    background-image: url('/image/image-5.jpg');
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}


/* Ürünler Section */

.featured-products {
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}


/* Hakkımızda Kısa Bölüm */

.about-short {
    background-color: #f8f8f8;
}

.about-short .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

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

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

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Neden Biz */

.why-us {
    background-color: #0056b3;
    color: #fff;
}

.why-us .section-title {
    color: #fff;
}

.why-us .section-title:after {
    background-color: #fff;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}


/* İletişim Kısa Bölüm */

.contact-short {
    background-color: #fff;
}

.contact-short .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: #666;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 18px;
    color: #0056b3;
    margin-right: 15px;
    width: 20px;
}


/* Harita Bölümü */

.map-container {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map-container h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.google-map {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 350px;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0056b3;
    outline: none;
}

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


/* Footer */

footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #aaa;
}

.footer-links h3,
.footer-products h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

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

.footer-links ul li a,
.footer-products ul li a {
    color: #aaa;
}

.footer-links ul li a:hover,
.footer-products ul li a:hover {
    color: #fff;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #0056b3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-media a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: #0056b3;
}

.copyright p {
    font-size: 14px;
    color: #aaa;
}


/* Ürünler Sayfası için Ek CSS Stilleri */


/* Hero Section Ayarlamaları */

#hero-section1 {
    height: 250px;
    background-image: url('image/urunler-banner.jpg');
}


/* Ürün Kategorileri */

.main-content {
    padding: 40px 0;
}

.main-content .container {
    display: flex;
    gap: 30px;
}

.products-showcase {
    flex: 1;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-categories {
    width: 100%;
}

.product-category-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.product-category-row:last-child {
    margin-bottom: 0;
}

.product-category-item {
    width: 31%;
    text-align: center;
}

.product-category-item a {
    display: block;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.product-category-item a:hover {
    transform: translateY(-5px);
}

.product-category-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-category-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    color: #0056b3;
}


/* İletişim Kenar Çubuğu */

.contact-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: auto;
}

.contact-icon i {
    font-size: 24px;
    color: #0056b3;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.contact-info a {
    font-size: 16px;
    font-weight: 600;
    color: #0056b3;
    text-decoration: none;
}


/* İkinci tasarım için - numara alt alta */

.contact-item-alt {
    display: block;
    padding: 15px;
}

.contact-inner {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.contact-number {
    padding-left: 55px;
    /* İkonun genişliği + padding */
}

.contact-number a {
    font-size: 18px;
    font-weight: 700;
    color: #0056b3;
    text-decoration: none;
}

.contact-menu-btn {
    background-color: #0056b3;
    color: #fff;
    justify-content: center;
    text-align: center;
    padding: 15px;
    cursor: pointer;
}

.contact-menu-btn h3 {
    color: #fff !important;
    margin: 0;
    font-size: 16px;
}


/* lightbox.css */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.lightbox-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    color: #bbb;
    transform: scale(1.1);
}

.product-image img {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image img:hover {
    opacity: 0.8;
    transform: scale(1.03);
}


/* Galeri Grid için Optimize Edilmiş CSS */


/* Galeri Container */

.gallery-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.gallery-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #0056b3;
}

.gallery-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #0056b3;
    margin: 15px auto;
}


/* Filtreleme Butonları */

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
}


/* Galeri Grid - Yatay 3 sütunlu düzen */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* Galeri Öğesi */

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Ürün Resmi Container */

.gallery-item .product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}


/* Ürün Resmi */

.gallery-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

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


/* Galeri Sayfası Hero Section */

#hero-section1 {
    background-image: url('image/image-10.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
}


/* Proje/Referans Sayfası Hero Section */

#hero-section-referans {
    background-image: url('image/anablog.jpg');
    height: 350px;
}


/* Mobil cihazlar için düzenlemeler */

@media screen and (max-width: 768px) {
    .lightbox-img {
        max-width: 95%;
    }
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}