/* footer.css - Hareketli Footer Bölümü Stilleri - MOBİL UYUMLU */

.footer {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    border-top: 2px solid #FFD700;
    overflow: hidden;
    padding: 60px 20px 20px;
}

/* UÇAN KOD PARÇACIKLARI - Mobilde azalt */
.flying-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.code-particle {
    position: absolute;
    color: rgba(255, 215, 0, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    white-space: nowrap;
    animation: floatCode 15s linear infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

@keyframes floatCode {
    0% {
        transform: translateY(100%) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-500%) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* IŞILDAYAN ALTIN ÇİZGİLER - Mobilde gizle */
.gold-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: goldLineMove 8s linear infinite;
    opacity: 0.3;
    z-index: 2;
}

@keyframes goldLineMove {
    0% {
        transform: translateX(-100%) scaleX(0.5);
        opacity: 0;
    }
    50% {
        transform: translateX(0) scaleX(1);
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%) scaleX(0.5);
        opacity: 0;
    }
}

/* DÖNEN GEZEGENLER - Mobilde gizle */
.orbiting-icons {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 150px;
    height: 150px;
    animation: orbitRotate 20s linear infinite;
    z-index: 3;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* IŞIK HÜZMELERİ - Mobilde gizle */
.light-beams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* PARLAYAN YILDIZLAR - Mobilde azalt */
.twinkling-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
}

/* Footer Grid - MOBİLDE TEK SÜTUN */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: gridFadeIn 1s ease-out;
}

@keyframes gridFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Kolonları */
.footer-col {
    position: relative;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.footer-col:hover {
    background: rgba(255, 215, 0, 0.02);
    transform: translateY(-5px);
}

/* Logo Bölümü */
.footer-logo {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.footer-logo-dot {
    color: #FFD700;
    font-size: 2.5rem;
    line-height: 1;
    margin-left: 2px;
    animation: logoPulse 2s infinite;
    display: inline-block;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 20px #FFD700;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        text-shadow: 0 0 40px #FFD700;
    }
}

/* Footer Açıklama */
.footer-about {
    font-size: 0.95rem;
    color: #CCCCCC;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Footer Başlık */
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FFD700;
}

/* Footer Linkler */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.footer-links a:hover {
    color: #FFD700;
    transform: translateX(10px);
    opacity: 1;
}

.footer-links a i {
    font-size: 0.8rem;
    color: #FFD700;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    transform: rotate(360deg);
}

/* Footer İletişim */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    word-break: break-word;
}

.footer-contact-item:hover {
    opacity: 1;
    transform: translateX(10px);
}

.footer-contact-item i {
    width: 20px;
    color: #FFD700;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-contact-item a:hover {
    color: #FFD700;
}

/* Footer Sosyal Medya */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link:hover {
    background: #FFD700;
    color: #000000;
    transform: translateY(-5px) scale(1.2);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* Haber Bülteni */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 180px;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.8);
}

.newsletter-btn {
    padding: 0.8rem 1.8rem;
    background: transparent;
    border: 2px solid #FFD700;
    border-radius: 30px;
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #FFD700;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Footer Alt */
.footer-bottom {
    position: relative;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #CCCCCC;
    font-size: 0.9rem;
}

.footer-copyright i {
    color: #FFD700;
    margin: 0 5px;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #FFD700;
}

/* Kod Parçacığı Dekorasyonu */
.footer-code-decoration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(255, 215, 0, 0.2);
    writing-mode: vertical-rl;
    pointer-events: none;
    z-index: 5;
}

/* ========== RESPONSIVE TASARIM ========== */

/* Büyük Tablet (1024px ve altı) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .orbiting-icons {
        display: none;
    }
    
    .gold-line-3, .gold-line-4, .gold-line-5 {
        display: none;
    }
}

/* Tablet (768px ve altı) */
@media (max-width: 768px) {
    .footer {
        padding: 40px 15px 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        text-align: center;
        padding: 0.5rem;
    }
    
    .footer-col:hover {
        transform: translateY(-3px);
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-logo-text {
        font-size: 1.8rem;
    }
    
    .footer-logo-dot {
        font-size: 2rem;
    }
    
    .footer-title {
        text-align: center;
        display: block;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
    
    .footer-about {
        text-align: center;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    /* Uçan kodları azalt */
    .code-particle:nth-child(n+5) {
        display: none;
    }
    
    /* Yıldızları azalt */
    .twinkling-stars {
        opacity: 0.3;
    }
    
    /* Işık hüzmelerini gizle */
    .light-beams {
        display: none;
    }
    
    /* Altın çizgileri gizle */
    .gold-line {
        display: none;
    }
    
    .footer-code-decoration {
        display: none;
    }
}

/* Büyük Telefon (480px ve altı) */
@media (max-width: 480px) {
    .footer {
        padding: 30px 12px 12px;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-logo-text {
        font-size: 1.5rem;
    }
    
    .footer-logo-dot {
        font-size: 1.8rem;
    }
    
    .footer-about {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-contact-item {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        gap: 8px;
    }
    
    .footer-contact-item i {
        font-size: 0.9rem;
        width: 18px;
    }
    
    .footer-social {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .footer-social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-social-link:hover {
        transform: translateY(-3px) scale(1.1);
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .newsletter-input {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.8rem;
    }
    
    /* Uçan kodları daha da azalt */
    .code-particle:nth-child(n+3) {
        display: none;
    }
    
    .code-particle {
        font-size: 0.6rem;
    }
}

/* Küçük Telefon (360px ve altı) */
@media (max-width: 360px) {
    .footer {
        padding: 25px 10px 10px;
    }
    
    .footer-logo-text {
        font-size: 1.3rem;
    }
    
    .footer-logo-dot {
        font-size: 1.6rem;
    }
    
    .footer-about {
        font-size: 0.8rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-contact-item {
        font-size: 0.8rem;
    }
    
    .footer-social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
    
    /* Tüm uçan kodları gizle */
    .code-particle {
        display: none;
    }
    
    .twinkling-stars {
        display: none;
    }
}

/* Landscape modu (yatay telefon) */
@media (max-height: 500px) and (orientation: landscape) {
    .footer {
        padding: 30px 20px 15px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-title::after {
        left: 0;
        transform: none;
    }
    
    .footer-links a {
        justify-content: flex-start;
    }
    
    .footer-contact-item {
        justify-content: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .newsletter-form {
        margin-left: 0;
    }
    
    .orbiting-icons {
        display: none;
    }
    
    .gold-line {
        display: none;
    }
}

/* Tablet için özel düzenlemeler */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col:first-child {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-about {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Yüksek çözünürlüklü tabletler */
@media (min-width: 1025px) and (max-width: 1280px) {
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-col {
        padding: 0.8rem;
    }
}