/*
Theme Name: Infoter
Theme URI: https://infoter.com
Author: Infoter Bilgi Teknolojileri
Author URI: https://infoter.com
Description: Modern IT danışmanlık ve siber güvenlik teması. Tek sayfa tasarım, turkuaz renk teması ile profesyonel görünüm.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infoter
Tags: one-page, business, portfolio, modern, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
 * Ana CSS dosyası assets/css/main.css'de bulunmaktadır.
 * Bu dosya WordPress tema bilgilerini ve önemli override'ları içerir.
 */

/**
 * Logo ve Site Başlığı Stilleri
 */
.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* WordPress standart logo sınıfı */
.custom-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.globe-icon {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color) 0%, #17B5BD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover efekti */
.logo-link:hover .logo-icon {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Logo Stilleri */
.custom-logo-link {
    flex-shrink: 0;
    display: block;
    transition: opacity 0.3s ease;
}

.custom-logo-link:hover {
    opacity: 0.9;
}

.custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 60px;
}

/* Site Başlığı ve Açıklama */
.site-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.site-title a:hover,
.site-title a:focus {
    color: var(--primary-color);
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Logo olmadığında özel stil */
.site-branding:not(:has(.custom-logo-link)) .site-title {
    font-size: 1.75rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    .site-branding {
        gap: 1rem;
    }
    
    .custom-logo {
        max-width: 140px;
        max-height: 50px;
    }

    .site-title {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .custom-logo {
        max-width: 120px;
        max-height: 45px;
    }

    .site-title {
        font-size: 1.1rem;
    }

    .site-description {
        font-size: 0.75rem;
    }
    
    /* Mobilde sadece logo veya sadece başlık göster */
    .site-branding.logo-only .site-text-wrap {
        display: none;
    }
}
.custom-logo-link {
    display: inline-block;
    max-width: 180px;
}

.custom-logo {
    height: auto;
    width: 100%;
    max-width: 180px;
    max-height: 60px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover,
.site-title a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.site-description {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .custom-logo-link {
        max-width: 140px;
    }
    .custom-logo {
        max-height: 50px;
    }
    .site-title {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .custom-logo-link {
        max-width: 120px;
    }
    .custom-logo {
        max-height: 45px;
    }
    .site-title {
        font-size: 1.1rem;
    }
    .site-description {
        font-size: 0.8rem;
    }
}
