/*
Theme Name: My Astor Custom
Theme URI: https://example.com
Author: Sizin Adınız
Description: Sıfırdan xüsusi olaraq kodlanmış yüksək sürətli tema.
Version: 1.0
Text Domain: my-astor
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

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

header {
    background: #1a103c; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0 0 0;
    color: #ffffff;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

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

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-logo img,
.custom-logo {
    max-height: 150px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

.site-title-text a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-line-1 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.title-line-2 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 6px;
    line-height: 1.2;
    letter-spacing: 4px;
}

.site-title-text a:hover .title-line-1,
.site-title-text a:hover .title-line-2 {
    color: #d1c4e9;
}

/* Əsas Menyu Bloku Üslubları */
.main-navigation {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Kitab Reklam Bloku (Ağ fon və tünd mətnlər) */
.hero-book-section {
    background: #ffffff; 
    padding: 50px 0;
    color: #333333;
}

.hero-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-book-info {
    flex: 1;
    min-width: 300px;
}

.book-tag {
    display: inline-block;
    background: rgba(26, 16, 60, 0.08);
    color: #1a103c;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-book-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
    color: #1a103c;
}

.hero-book-info p {
    font-size: 15px;
    color: #555555;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.hero-order-btn {
    display: inline-block;
    background: #1a103c;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-order-btn:hover {
    background: #51108c;
    transform: translateY(-2px);
    color: #ffffff;
}

.hero-book-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.hero-book-image img {
            max-width: 180px;
            height: auto;
            border-radius: 0; /* Yuvarlaq kənarlar ləğv edildi */
            box-shadow: none;  /* Ayrı kölgə qutusu ləğv edildi */
        }

/* Mobil uyğunlaşdırma */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 0;
    }

    .logo-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .social-icons {
        margin-top: 15px;
        justify-content: center;
    }

    .title-line-1 {
        font-size: 16px;
    }

    .title-line-2 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation a {
        padding: 8px 15px;
        font-size: 14px;
    }

    .hero-container-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-book-info {
        text-align: center;
    }
    
    .hero-order-btn {
        display: inline-block;
    }
}