/*
Theme Name: Sunatek
Theme URI: https://www.sunatek.com
Description: Sunatek - Çevre Laboratuvar Ekipmanları. WordPress 6.9 ve PHP 8.2.29 ile optimize edildi.
Version: 2.1
Author: Sunatek
Author URI: https://www.sunatek.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunatek
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-patterns, block-styles, editor-style
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.2.29
*/

/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

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

a:hover {
    color: #0891b2;
}

/* ============================================
   WORDPRESS CORE ALIGNMENT
   ============================================ */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo,
.site-branding a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Navigation Menu */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: white;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    padding: 150px 2rem 100px;
    text-align: center;
    margin-top: 60px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn,
.katalog-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #06b6d4;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn:hover,
.katalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: #06b6d4;
}

/* ============================================
   CONTENT CONTAINER
   ============================================ */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-area {
    width: 100%;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #06b6d4;
}

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

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

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

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

.product-card h3 {
    color: #06b6d4;
    margin-bottom: 1rem;
}

.product-card img {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #06b6d4;
    font-weight: 600;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text h3 {
    color: #06b6d4;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-image {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    min-height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.about-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* ============================================
   REFERENCES SECTION
   ============================================ */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reference-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: #06b6d4;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.reference-card img {
    max-width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
}

/* ============================================
   BRANDS SECTION (MARKALAR)
   ============================================ */
.brands-section {
    background: #ffffff;
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.brand-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
    border-color: #06b6d4;
}

.brand-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

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

.brand-logo-placeholder {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-radius: 8px;
}

.brand-icon {
    font-size: 3.5rem;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #06b6d4;
    margin-bottom: 0.5rem;
}

.brand-country {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.flag-icon {
    margin-right: 0.3rem;
}

.brand-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.brand-link {
    color: #06b6d4;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: auto;
}

.brand-link:hover {
    color: #0891b2;
}

.brands-note {
    background: #f0f9ff;
    border-left: 4px solid #06b6d4;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.brands-note p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
}

.brands-note strong {
    color: #06b6d4;
}

/* ============================================
   CATALOG SECTION
   ============================================ */
.catalog-section {
    text-align: center;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    padding: 3rem;
    border-radius: 10px;
    color: white;
    margin: 2rem 0;
}

.catalog-section h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: white;
}

.catalog-section p {
    color: white;
}

.katalog-btn {
    margin: 0.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Form mesaj alanı */
#form-messages {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease;
}

#form-messages.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
    display: block;
}

#form-messages.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
    display: block;
}

/* Sayfa üstü bildirimler */
.form-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 500px;
    width: 90%;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideDown 0.5s ease;
}

.success-notification {
    background: #d1fae5;
    color: #065f46;
    border-left: 5px solid #10b981;
}

.error-notification {
    background: #fee2e2;
    color: #991b1b;
    border-left: 5px solid #ef4444;
}

.notification-content {
    font-size: 1rem;
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form gönderiliyor durumu */
.contact-form.sending {
    opacity: 0.6;
    pointer-events: none;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form .form-row input {
    margin-bottom: 0;
}

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

.contact-form button,
.contact-form .submit-btn {
    padding: 1rem 2rem;
    background: white;
    color: #06b6d4;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 1.5rem auto 0;
}

.contact-form button:hover,
.contact-form .submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form .form-row input {
        margin-bottom: 1rem;
    }
}

/* ============================================
   PHONE BUTTON
   ============================================ */
.phone-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

.phone-button:hover {
    transform: scale(1.1);
    color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem;
}

.site-footer a {
    color: white;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: white;
    margin-bottom: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(102, 126, 234, 0.7);
    }
}

/* ============================================
   POSTS & ENTRIES
   ============================================ */
article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    color: #333;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: #06b6d4;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 1rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    border-radius: 10px;
}

.entry-content {
    line-height: 1.8;
}

.entry-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.cat-links,
.tags-links {
    display: inline-block;
    margin-right: 1rem;
}

/* ============================================
   PAGINATION
   ============================================ */
.posts-navigation,
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.nav-previous,
.nav-next {
    padding: 1rem 2rem;
    background: #06b6d4;
    color: white;
    border-radius: 5px;
}

.nav-previous:hover,
.nav-next:hover {
    background: #0891b2;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

.comment-reply-link {
    font-size: 0.9rem;
    color: #06b6d4;
}

/* ============================================
   WORDPRESS BLOCKS SUPPORT
   ============================================ */
.wp-block-button__link {
    background: #06b6d4;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
}

.wp-block-image {
    margin: 2rem 0;
}

.wp-block-quote {
    border-left: 4px solid #06b6d4;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        padding: 1rem 2rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-navigation ul.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .products-grid,
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .phone-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 1rem 80px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .site-content {
        padding: 2rem 1rem;
    }
    
    .product-card,
    .reference-card,
    .brand-card {
        padding: 1.5rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* ============================================
   İLETİŞİM KARTLARI (Form Yok)
   ============================================ */
.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #0891b2;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.info-card a {
    color: #0891b2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.info-card a:hover {
    color: #06b6d4;
}

.contact-note {
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-info-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
}

/* ============================================
   HİZMETLERİMİZ SECTION
   ============================================ */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.service-card h3 {
    color: #0891b2;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

@media (max-width: 768px) {
    .services-section {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}
