/* Yesagparts - Editurk Benzeri Tasarım */

* {
    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: #f8f9fa;
}

.nav-dropdown-menu {
  	max-height: 350px;
    overflow-y: scroll;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: #20b2aa;
    text-decoration: none;
  	width: 150px;
}

.logo i {
    margin-right: 10px;
    font-size: 32px;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-bar form {
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: #20b2aa;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4444;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #e03e3e;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #20b2aa;
}

.language-dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #666;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #20b2aa;
    text-decoration: none;
}

.breadcrumb span {
    color: #666;
    margin: 0 10px;
}

/* Main Content */
.main-content {
    padding: 0;
    min-height: calc(100vh - 200px);
}

/* Hero Search Section */
.hero-search {
    background: linear-gradient(135deg, #20b2aa, #1a9b94);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-search-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-input-group input {
    flex: 1;
    padding: 20px 25px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-input-group button {
    background: #ff4444;
    color: white;
    border: none;
    padding: 20px 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-input-group button:hover {
    background: #e03e3e;
}

/* Recent Searches */
.recent-searches {
    max-width: 600px;
    margin: 0 auto;
}

.recent-searches h3 {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.search-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-tag {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.search-tag:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

/* Partner Companies */
.partner-companies {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.partner-companies h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.partner-companies p {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.companies-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.company-logo-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 80px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.company-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.no-logo-placeholder {
    color: #666;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 0px 0;
}

/* Filters */
.filters {
    margin: 30px 0px;
}

.filter-form select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: white;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    color: #ccc;
    font-size: 48px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: #20b2aa;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.manufacturer {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-code {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}

.product-actions {
    margin-top: 15px;
}

/* Buttons */
.btn-primary {
    background: #20b2aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1a9b94;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Product Detail Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.product-title {
    color: #20b2aa;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.product-image-large {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product-image-large img {
    width: 100%;
    object-fit: cover;
}

.no-image-large {
    text-align: center;
    color: #ccc;
}

.no-image-large i {
    font-size: 64px;
    margin-bottom: 10px;
}

.product-specs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-specs p {
    margin-bottom: 10px;
    font-size: 14px;
}

.stok-durumu {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.stok-var {
    background: #d4edda;
    color: #155724;
}

.stok-yok {
    background: #f8d7da;
    color: #721c24;
}

.stok-siparis {
    background: #fff3cd;
    color: #856404;
}

.product-description,
.product-features {
    margin-bottom: 20px;
}

.product-description h3,
.product-features h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.product-contact-info {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.product-contact-info a {
    color: #20b2aa;
    text-decoration: none;
}

/* Inquiry Form */
.product-inquiry-form {
    background: #f0f8ff;
    padding: 25px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.product-inquiry-form h3 {
    color: #20b2aa;
    margin-bottom: 20px;
    font-size: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #20b2aa;
}

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

.recaptcha-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 12px;
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Similar Products */
.similar-products {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.similar-products h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.similar-product-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.similar-product-card:hover {
    transform: translateY(-3px);
}

.similar-product-image {
    height: 80px;
    background: #f8f9fa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.similar-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-small {
    color: #ccc;
    font-size: 24px;
}

.similar-product-info .manufacturer {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.similar-product-info .product-code {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-products i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

.footer-section h4 {
    color: #20b2aa;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 8px;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #20b2aa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .main-nav {
        order: 2;
    }
    
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .similar-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button a {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Page Title */
.page-title {
    color: #20b2aa;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.company-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.company-logo {
    height: 120px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.no-logo {
    color: #ccc;
    font-size: 48px;
}

.company-info {
    padding: 25px;
}

.company-info h3 {
    color: #20b2aa;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.company-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.company-details {
    margin-bottom: 20px;
}

.company-details p {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.company-details i {
    color: #20b2aa;
    width: 20px;
    margin-right: 8px;
}

.company-details a {
    color: #20b2aa;
    text-decoration: none;
}

.company-details a:hover {
    text-decoration: underline;
}

/* About Page */
.about-content {
    margin: 0 auto;
}

.about-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.about-section h2 {
    color: #20b2aa;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.about-section p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 48px;
    color: #20b2aa;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    font-size: 24px;
    color: #20b2aa;
    margin-top: 5px;
}

.contact-item h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* No Companies */
.no-companies {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.no-companies i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-companies h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

/* Main Nav Active State */
.main-nav a.active {
    color: #20b2aa;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .search-input-group {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-input-group input {
        border-radius: 10px 10px 0 0;
    }
    
    .search-input-group button {
        border-radius: 0 0 10px 10px;
    }
    
    .companies-logos {
        gap: 20px;
    }
    
    .company-logo-item {
        width: 100px;
        height: 60px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .similar-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .companies-logos {
        gap: 15px;
    }
    
    .company-logo-item {
        width: 80px;
        height: 50px;
        padding: 10px;
    }
    
    .search-tags {
        gap: 8px;
    }
    
    .search-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
}


/* Kategori Header */
.category-header {
    text-align: center;
    padding: 40px 0;
    background: #fff;
    margin-bottom: 30px;
}

.category-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.category-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Filtreler */
.filters {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-form {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #20b2aa;
}

/* Responsive updates for filters */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        min-width: auto;
        width: 100%;
    }
}
