/* Tüm focus outline'ları kaldır */
*, *:focus, *:active, *:visited {
    outline: none !important;
    box-shadow: none !important;
}

button, input, textarea, select, a {
    outline: none !important;
    box-shadow: none !important;
}

button:focus, input:focus, textarea:focus, select:focus, a:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* İletişim Sayfası - Özel Stiller */

/* Hamburger menu stilleri */
.hamburger-line {
    transition: all 0.3s ease;
    display: block;
}
.hamburger-line-top {
    width: 19px;
    transform-origin: left;
    margin-right: 9px;
}
.hamburger-line-middle {
    width: 28px;
    transform-origin: center;
}
.hamburger-line-bottom {
    width: 19px;
    transform-origin: right;
    margin-left: 9px;
}
.hamburger-container:hover .hamburger-line {
    width: 28px;
}

/* Mobil menü animasyonları */
#mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Form özel stilleri */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Smooth scroll davranışı */
html {
    scroll-behavior: smooth;
}

/* Form success/error mesajları için */
.form-message {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Contact card hover effects */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Loading spinner için */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero section animasyonları */
.hero-text {
    animation: fadeInUp 1s ease-out;
}

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

/* Contact info kartları için stagger animasyon */
.contact-info > div {
    animation: fadeInLeft 0.8s ease-out;
}

.contact-info > div:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info > div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form field focus states */
input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Responsive video/image handling */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text h1 span {
        font-size: 4rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gray-50 {
        background-color: #ffffff;
    }
    
    .text-gray-600 {
        color: #000000;
    }
    
    .border-gray-300 {
        border-color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode hazırlığı */
@media (prefers-color-scheme: dark) {
    /* Dark mode stilleri buraya eklenebilir */
}

/* Print stilleri */
@media print {
    nav,
    footer,
    .cta-section {
        display: none;
    }
    
    .contact-form {
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}
