/*
Theme Name: Astra Child
Description: Child theme of Astra with Apple-style menu
Template: astra
Version: 1.0
*/

/* Astra temasının varsayılan menüsünü gizle */
.site-header,
.ast-header-break-point .main-header-bar,
.ast-desktop .main-header-bar,
.ast-mobile-header-wrap {
    display: none !important;
}

/* Body'ye padding ekle çünkü fixed header kullanıyoruz */
body {
    padding-top: 44px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Apple tarzı header */
.apple-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 9999;
    height: 44px;
    transition: background 0.3s ease;
}

.apple-header.scrolled {
    background: rgba(251, 251, 253, 0.95);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

.apple-logo {
    font-size: 25px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.apple-logo:hover {
    color: #0071e3;
}

.apple-logo:hover::before {
    background: #0071e3;
}

.apple-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.apple-nav li {
    margin: 0;
    padding: 0;
}

.apple-nav a {
    color: #1d1d1f !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 400;
    padding: 12px 0;
    transition: color 0.3s ease;
    position: relative;
    display: block;
}

.apple-nav a:hover {
    color: #0071e3 !important;
}

.apple-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #0071e3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.apple-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-icon, .bag-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: #1d1d1f;
    transition: color 0.3s ease;
}

.search-icon:hover, .bag-icon:hover {
    color: #0071e3;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 3px;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #1d1d1f;
    transition: 0.3s;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobil menü */
.mobile-menu {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 9998;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    color: #1d1d1f !important;
    text-decoration: none !important;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #0071e3 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .apple-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-content {
        padding: 0 15px;
    }

    .apple-logo {
        font-size: 16px;
    }
}

/* Ana içerik için düzeltmeler */
.site-content {
    margin-top: 0 !important;
}

.ast-container {
    max-width: 1200px;
}

/* Astra'nın varsayılan stillerini geçersiz kıl */
.ast-header-break-point .ast-mobile-menu-buttons {
    display: none !important;
}

.ast-header-break-point .site-branding {
    display: none !important;
}

.ast-header-break-point .main-header-bar-navigation {
    display: none !important;
}
/* WooCommerce sepet ikonu stilleri */
.woocommerce-cart-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cart-count.has-items {
    display: flex;
}
/* WooCommerce Sepet İkonu */
.cart-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.bag-icon {
    width: 16px;
    height: 16px;
    color: #1d1d1f;
    transition: color 0.3s ease;
}

.bag-icon:hover {
    color: #0a84ff;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(255, 59, 48, 0.3);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* Sepet sayısı animasyonu */
@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-count.updated {
    animation: cartPulse 0.6s ease;
}
.apple-logo {
    font-size: 28px !important;
    font-weight: 600 !important;
}

/* Eğer logo resimse */
.apple-logo img {
    height: 50px !important;
    width: auto !important;
}


/* ===========================================
   LAYOUT SORUNLARI İÇİN CSS DÜZELTMELERİ
   =========================================== */

/* 1. SAYFA TAM KAPLAMA SORUNU DÜZELTMESİ */
body.page-template-page-appleogz {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Ana container tam genişlik */
body.page-template-page-appleogz .appleogz-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section - TAM KAPLAMA */
body.page-template-page-appleogz .hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin: 0;
    padding-top: 80px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

body.page-template-page-appleogz .hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
    margin: 0 auto;
}

/* 2. PRODUCT SECTIONS - ORTALAMA VE TAM KAPLAMA */
body.page-template-page-appleogz .product-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-template-page-appleogz .product-section:nth-child(even) {
    background: #f5f5f7;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 5rem 0;
}

body.page-template-page-appleogz .product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Innovation Section - TAM KAPLAMA */
body.page-template-page-appleogz .innovation-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

body.page-template-page-appleogz .innovation-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Diğer stiller aynı kalacak - sadece layout düzeltmeleri */
body.page-template-page-appleogz .hero-text {
    text-align: left;
}

body.page-template-page-appleogz .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #1d1d1f;
}

body.page-template-page-appleogz .innovation-text {
    color: #1d1d1f;
}

body.page-template-page-appleogz .brand-text {
    color: #86868b;
    position: relative;
    display: inline-block;
}

body.page-template-page-appleogz .brand-text::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-animation 3s ease-in-out infinite alternate;
}

@keyframes glow-animation {
    from { 
        opacity: 0.5; 
        transform: scale(0.8); 
    }
    to { 
        opacity: 1; 
        transform: scale(1.2); 
    }
}

body.page-template-page-appleogz .hero-subtitle {
    font-size: 1.5rem;
    color: #86868b;
    margin-bottom: 2rem;
    font-weight: 400;
}

body.page-template-page-appleogz .cta-button {
    background: #007aff;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 100;
    touch-action: manipulation;
}

body.page-template-page-appleogz .cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
    color: white;
    text-decoration: none;
}

body.page-template-page-appleogz .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

body.page-template-page-appleogz .iphone-container {
    z-index: 10;
    position: relative;
    animation: float-effect 6s ease-in-out infinite;
}

body.page-template-page-appleogz .iphone-image {
    position: relative;
    z-index: 11;
    width: 300px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

body.page-template-page-appleogz .iphone-image:hover {
    transform: scale(1.05);
}

@keyframes float-effect {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(1deg); 
    }
}

body.page-template-page-appleogz .product-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

body.page-template-page-appleogz .product-text p {
    font-size: 1.3rem;
    color: #86868b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

body.page-template-page-appleogz .product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

body.page-template-page-appleogz .product-img {
    width: 250px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

body.page-template-page-appleogz .product-img:hover {
    transform: translateY(-10px) scale(1.05);
}

body.page-template-page-appleogz .ipad-img {
    width: 280px;
}

body.page-template-page-appleogz .airpods-img {
    width: 200px;
}

body.page-template-page-appleogz .macbook-img {
    width: 320px;
}

body.page-template-page-appleogz .watch-img {
    width: 180px;
}

body.page-template-page-appleogz .innovation-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

body.page-template-page-appleogz .innovation-section p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
}

/* Animasyonlar */
body.page-template-page-appleogz .fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp-effect 1s ease forwards;
}

@keyframes fadeUp-effect {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page-template-page-appleogz .product-section:nth-child(2) { 
    animation-delay: 0.2s; 
}
body.page-template-page-appleogz .product-section:nth-child(3) { 
    animation-delay: 0.4s; 
}
body.page-template-page-appleogz .product-section:nth-child(4) { 
    animation-delay: 0.6s; 
}
body.page-template-page-appleogz .product-section:nth-child(5) { 
    animation-delay: 0.8s; 
}

/* Mobile Responsive - DÜZELTİLMİŞ */
@media (max-width: 768px) {
    body.page-template-page-appleogz .hero-section {
        min-height: 85vh;
        padding: 2rem 0;
        padding-top: 60px;
    }
    body.page-template-page-appleogz .cta-button {
    min-height: 44px;
    min-width: 44px;
    z-index: 101;
}
    body.page-template-page-appleogz .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }
    body.page-template-page-appleogz .hero-image {
    z-index: 12;
}

    body.page-template-page-appleogz .hero-text {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    body.page-template-page-appleogz .hero-title {
        font-size: 2.8rem;
        text-align: center;
    }

    body.page-template-page-appleogz .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
        max-width: 90%;
    }

    body.page-template-page-appleogz .iphone-image {
        width: 240px;
    }

    body.page-template-page-appleogz .product-section,
    body.page-template-page-appleogz .product-section:nth-child(even) {
        padding: 4rem 0;
    }

    body.page-template-page-appleogz .product-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    body.page-template-page-appleogz .product-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    body.page-template-page-appleogz .product-text h2 {
        font-size: 2.4rem;
        text-align: center;
    }

    body.page-template-page-appleogz .product-text p {
        font-size: 1.2rem;
        text-align: center;
        max-width: 90%;
    }

    body.page-template-page-appleogz .product-img {
        width: 200px;
    }

    body.page-template-page-appleogz .ipad-img {
        width: 220px;
    }

    body.page-template-page-appleogz .airpods-img {
        width: 160px;
    }

    body.page-template-page-appleogz .macbook-img {
        width: 240px;
    }

    body.page-template-page-appleogz .watch-img {
        width: 140px;
    }

    body.page-template-page-appleogz .innovation-section {
        padding: 5rem 0;
    }

    body.page-template-page-appleogz .innovation-content {
        padding: 0 1rem;
    }

    body.page-template-page-appleogz .innovation-section h2 {
        font-size: 2.8rem;
    }

    body.page-template-page-appleogz .innovation-section p {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    body.page-template-page-appleogz .hero-title {
        font-size: 2.2rem;
    }

    body.page-template-page-appleogz .hero-subtitle {
        font-size: 1.1rem;
    }

    body.page-template-page-appleogz .iphone-image {
        width: 180px;
    }

    body.page-template-page-appleogz .product-text h2 {
        font-size: 2rem;
    }

    body.page-template-page-appleogz .product-text p {
        font-size: 1.1rem;
    }

    body.page-template-page-appleogz .product-img {
        width: 160px;
    }

    body.page-template-page-appleogz .ipad-img {
        width: 180px;
    }

    body.page-template-page-appleogz .airpods-img {
        width: 120px;
    }

    body.page-template-page-appleogz .macbook-img {
        width: 180px;
    }

    body.page-template-page-appleogz .watch-img {
        width: 100px;
    }
}


/* LAYOUT DÜZELTMELERİ SON */
/* ==========================================================================
   FOOTER STYLES - WordPress Apple Theme
   ========================================================================== */

/* Main Footer */
.site-footer {
    background: var(--background-dark);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 4em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Content Grid */
.footer-content {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Widget Styles */
.footer-widget h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-widget p {
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-widget a {
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
    border-color: var(--primary-color);
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
    padding-left: 0;
}

.footer-menu a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-menu a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: white;
    padding-left: 25px;
}

.footer-menu a:hover::before {
    transform: translateX(3px);
}

/* Recent Posts in Footer */
.recent-posts-footer {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-posts-footer li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-posts-footer li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts-footer a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
    transition: var(--transition);
}

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

.recent-posts-footer .post-date {
    font-size: 13px;
    color: #888;
}

/* Contact Info in Footer */
.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    margin-bottom: 12px;
    color: #a0a0a0;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.contact-info li:last-child {
    margin-bottom: 0;
}

/* Footer Bottom */
.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 14px;
}

.site-info p {
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.site-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.site-info a:hover {
    color: white;
    opacity: 0.8;
}

.theme-credit {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.7;
}

/* Back to Top Button (Footer'da oluşturulan) */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.back-to-top:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

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

.footer-widget {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-widget:nth-child(3) { animation-delay: 0.3s; }
.footer-widget:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
        margin-top: 2em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .site-info {
        padding-top: 20px;
        font-size: 13px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 15px 15px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .footer-widget h3 {
        font-size: 1.1rem;
    }
    
    .footer-widget h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        gap: 10px;
    }
    
    .site-info {
        font-size: 12px;
    }
    
    .site-info p {
        margin-bottom: 8px;
    }
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    .site-footer {
        background: #0a0a0a;
    }
    
    .footer-widget a:hover {
        color: var(--secondary-color);
    }
    
    .social-link:hover {
        background: var(--secondary-color);
    }
}

/* Print Styles */
@media print {
    .site-footer,
    .back-to-top {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .site-footer {
        background: #000000;
        border-top: 2px solid #ffffff;
    }
    
    .footer-widget a {
        color: #ffffff;
    }
    
    .social-link {
        background: #ffffff;
        color: #000000;
        border: 2px solid #ffffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .footer-widget,
    .social-link,
    .back-to-top,
    .footer-menu a {
        animation: none;
        transition: none;
    }
    
    .social-link:hover,
    .back-to-top:hover {
        transform: none;
    }
}
/* ==========================================================================
   ASTRA CHILD THEME - FOOTER CSS FIX
   Footer arka planını siyah yapmak ve yazıları beyaz yapmak için
   ========================================================================== */

/* Astra'nın kendi footer stillerini override et */
.site-footer,
.apple-custom-footer,
#colophon {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 60px 20px 30px !important;
    margin-top: 4em !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Footer içeriği - force dark theme */
.site-footer *,
.apple-custom-footer *,
#colophon * {
    color: #ffffff !important;
}

/* Footer Content Grid */
.footer-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

/* Footer Widget Styles - Override Astra */
.footer-widget,
.footer-widget h3,
.footer-widget h4,
.footer-widget h5,
.footer-widget h6 {
    color: #ffffff !important;
    background: transparent !important;
}

.footer-widget h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    position: relative !important;
    border-bottom: none !important;
}

.footer-widget h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    background: #007AFF !important;
}

.footer-widget p {
    color: #a0a0a0 !important;
    line-height: 1.8 !important;
    margin-bottom: 15px !important;
}

.footer-widget a {
    color: #a0a0a0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-widget a:hover {
    color: #007AFF !important;
}

/* Social Links */
.social-links {
    display: flex !important;
    gap: 15px !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
}

.social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.social-link:hover {
    background: #007AFF !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3) !important;
    border-color: #007AFF !important;
}

/* Footer Menu */
.footer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-menu li {
    margin-bottom: 12px !important;
    padding-left: 0 !important;
}

.footer-menu a {
    color: #a0a0a0 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    position: relative !important;
    padding-left: 20px !important;
}

.footer-menu a::before {
    content: '›' !important;
    position: absolute !important;
    left: 0 !important;
    color: #007AFF !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.footer-menu a:hover {
    color: #ffffff !important;
    padding-left: 25px !important;
}

.footer-menu a:hover::before {
    transform: translateX(3px) !important;
}

/* Recent Posts in Footer */
.recent-posts-footer {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.recent-posts-footer li {
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.recent-posts-footer li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.recent-posts-footer a {
    color: #e0e0e0 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    display: block !important;
    margin-bottom: 5px !important;
    transition: all 0.3s ease !important;
}

.recent-posts-footer a:hover {
    color: #007AFF !important;
}

.recent-posts-footer .post-date {
    font-size: 13px !important;
    color: #888888 !important;
}

/* Contact Info in Footer */
.contact-info {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-info li {
    margin-bottom: 12px !important;
    color: #a0a0a0 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    line-height: 1.6 !important;
}

.contact-info li:last-child {
    margin-bottom: 0 !important;
}

/* Footer Bottom */
.site-info {
    text-align: center !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #888888 !important;
    font-size: 14px !important;
}

.site-info p {
    margin: 0 0 10px 0 !important;
    line-height: 1.6 !important;
    color: #888888 !important;
}

.site-info a {
    color: #007AFF !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.site-info a:hover {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.theme-credit {
    margin-top: 10px !important;
    font-size: 13px !important;
    opacity: 0.7 !important;
    color: #666666 !important;
}

/* Override any Astra color schemes */
.ast-separate-container .site-footer,
.ast-plain-container .site-footer,
.ast-page-builder-template .site-footer,
.ast-fluid-width-layout .site-footer {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #007AFF !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 20px !important;
    cursor: pointer !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 999 !important;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3) !important;
}

.back-to-top:hover {
    background: #0056CC !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4) !important;
}

.back-to-top.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer,
    .apple-custom-footer {
        padding: 40px 20px 20px !important;
        margin-top: 2em !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 30px !important;
    }
    
    .social-links {
        justify-content: center !important;
        gap: 12px !important;
    }
    
    .social-link {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .site-info {
        padding-top: 20px !important;
        font-size: 13px !important;
    }
    
    .back-to-top {
        width: 45px !important;
        height: 45px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .site-footer,
    .apple-custom-footer {
        padding: 30px 15px 15px !important;
    }
    
    .footer-content {
        gap: 25px !important;
        margin-bottom: 25px !important;
    }
    
    .footer-widget {
        text-align: center !important;
    }
    
    .footer-widget h3 {
        font-size: 1.1rem !important;
    }
    
    .footer-widget h3::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .social-links {
        gap: 10px !important;
    }
    
    .site-info {
        font-size: 12px !important;
    }
    
    .site-info p {
        margin-bottom: 8px !important;
    }
}

/* Astra'nın widget stillerini override et */
.footer-widget .widget,
.footer-widget .widget-title,
.footer-widget .textwidget {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Astra button stillerini override et */
.footer-widget .wp-block-button__link,
.footer-widget .button,
.footer-widget input[type="submit"] {
    background: #007AFF !important;
    color: #ffffff !important;
    border: none !important;
}

.footer-widget .wp-block-button__link:hover,
.footer-widget .button:hover,
.footer-widget input[type="submit"]:hover {
    background: #0056CC !important;
    color: #ffffff !important;
}