/* Elmas Optik B2B Sistemi - Ana CSS */

:root {
    --primary-color: #4DD4E8;
    --primary-dark: #2BA3B5;
    --primary-light: #B3ECF5;
    --secondary-color: #1A5F7A;
    --accent-color: #57C5B6;
    --text-dark: #1A1A2E;
    --text-light: #F8F9FA;
    --bg-light: #F5F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --shadow: 0 2px 15px rgba(77, 212, 232, 0.1);
    --shadow-hover: 0 5px 25px rgba(77, 212, 232, 0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

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

/* Header Styles */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.contact-info span {
    margin-right: 20px;
    display: inline-block;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.main-nav {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 60px;
    max-width: 200px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-nav {
    background: var(--primary-color);
    color: var(--text-light) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.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 1200 600"><circle cx="100" cy="100" r="100" fill="rgba(255,255,255,0.05)"/><circle cx="1100" cy="500" r="150" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-success {
    background: var(--success);
    color: var(--text-light);
}

.btn-danger {
    background: var(--danger);
    color: var(--text-light);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

/* Brands Section */
.brands-section {
    background: var(--bg-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.brand-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    border: 2px solid var(--border-color);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.brand-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.brand-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    background: var(--bg-light);
    padding: 40px;
    text-align: center;
    font-size: 4rem;
    color: var(--primary-color);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-code {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 60px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.login-to-see {
    font-size: 1rem;
    color: #999;
    font-style: italic;
    margin-bottom: 15px;
}

/* Features Section */
.features-section {
    background: var(--bg-white);
}

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

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 50px 0 20px;
}

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

.footer-col h3, .footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    background: var(--primary-dark);
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

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

/* Forms */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

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

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

.alert-danger {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-warning {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEEBA;
}

.alert-info {
    background: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

thead {
    background: var(--primary-color);
    color: var(--text-light);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

tr:hover {
    background: var(--bg-light);
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.card-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: var(--success);
    color: var(--text-light);
}

.badge-warning {
    background: var(--warning);
    color: var(--text-dark);
}

.badge-danger {
    background: var(--danger);
    color: var(--text-light);
}

.badge-info {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info span {
        margin: 5px 10px;
    }
    
    /* Footer Mobil Düzenleme */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center;
    }
    
    .footer-col {
        text-align: center !important;
        padding: 0 20px;
    }
    
    .footer-col h3,
    .footer-col h4 {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-col ul {
        text-align: center;
        padding: 0;
    }
    
    .footer-col ul li {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .contact-list {
        text-align: center !important;
    }
    
    .contact-list li {
        text-align: center;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 20px 15px;
    }
    
    .footer-bottom p {
        margin: 8px 0;
        text-align: center;
    }
    
    /* Hakkımızda ve İletişim Bölümleri Mobil */
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Tüm Grid'ler Mobilde Tek Sütun */
    [style*="display: grid"][style*="grid-template-columns: 1fr 1fr"],
    [style*="display: grid"][style*="grid-template-columns: auto 1fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: auto 1fr"],
    [style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .card[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .card[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .card[style*="display: grid"][style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* İletişim Sayfası Mobil */
    .contact-grid > div {
        width: 100% !important;
    }
    
    /* Hakkımızda Sayfası Mobil */
    .about-grid > div {
        width: 100% !important;
    }
    
    .about-grid > div[style*="text-align: center"][style*="font-size: 8rem"] {
        font-size: 4rem !important;
        margin-top: 20px;
    }
    
    /* Kurumsal Sayfası Mobil */
    .card[style*="display: grid"][style*="grid-template-columns: auto 1fr"] > div:first-child {
        margin: 0 auto 20px;
    }
    
    .card[style*="display: grid"][style*="grid-template-columns: auto 1fr"] > div:first-child > div {
        width: 100px !important;
        height: 100px !important;
    }
    
    .card[style*="display: grid"][style*="grid-template-columns: auto 1fr"] > div:first-child i {
        font-size: 3rem !important;
    }
    
    /* İletişim Bilgileri Mobil */
    .contact-list li {
        text-align: center !important;
        padding: 10px 0 !important;
    }
    
    /* Harita Mobil */
    iframe {
        height: 300px !important;
    }
    
    /* Logo Mobil */
    .logo img {
        max-width: 180px;
        height: auto;
    }
    
    /* Section Padding Mobil */
    section[style*="padding: 80px 0"] {
        padding: 50px 0 !important;
    }
    
    /* Card İçi Grid'ler Mobil */
    .card > div[style*="display: grid"],
    .kaplama-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    /* Font Boyutları Mobil */
    h1[style*="font-size: 3rem"] {
        font-size: 2rem !important;
    }
    
    h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
    
    p[style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }
    
    p[style*="font-size: 1.1rem"] {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Daha Kompakt */
    .footer-content {
        gap: 25px !important;
    }
    
    .footer-col {
        padding: 0 15px;
    }
    
    .footer-bottom {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    /* Logo Mobil */
    .logo img {
        height: 50px !important;
        max-width: 150px !important;
    }
}


