/* ============================================================================
   INDEX PAGE STYLES - Ana Sayfa Stilleri
   Ana sayfaya özel bileşenler: Hero, About, Contact bölümleri
   ============================================================================ */

/* Login Form */
.login-form {
    display: block;
}

.referral-help, .phone-format-help {
    display: block;
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ffb700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url('taksi-gece.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    background: rgba(255,255,255,0.1);
    padding: 4rem 3rem;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 45px rgba(0,0,0,0.1), 
                0 0 0 1px rgba(255,255,255,0.05),
                inset 0 1px 0 rgba(255,255,255,0.1);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,215,0,0.1), transparent, rgba(255,165,0,0.1), transparent);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    border-radius: 2px;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 3px 10px rgba(0,0,0,0.5), 0 0 20px rgba(255,215,0,0.2);
    }
    50% {
        text-shadow: 0 3px 10px rgba(0,0,0,0.5), 0 0 30px rgba(255,215,0,0.4);
    }
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
    text-align: center;
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.features li {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 1.1rem;
}

/* Modern İletişim Bölümü */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ff8c00" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.contact-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff8c00, #ff6b35);
    border-radius: 2px;
}

.contact-header p {
    font-size: 1.3rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* İletişim Kartları Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* İletişim Kartı */
.contact-card {
    background: white;
    border-radius: 35px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(255, 140, 0, 0.3),
        0 5px 15px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 140, 0, 0.2);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(5deg) rotateY(2deg);
    box-shadow: 
        0 25px 50px rgba(255, 140, 0, 0.4),
        0 10px 25px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 140, 0, 0.4);
}

/* İletişim İçeriği */
.contact-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-shadow: none;
    letter-spacing: 0.5px;
    position: relative;
    line-height: 1.2;
}

.contact-content h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
    border-radius: 1px;
}

.contact-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: none;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Authentication Modal Stilleri */
.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

/* Beni Hatırla Stili */
.remember-me {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    gap: 8px;
    justify-content: flex-start;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
    margin: 0;
    flex-shrink: 0;
}

.remember-me label {
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

/* Cihaz Yetki Badge'leri */
.edit-mode-badge {
    display: inline-block;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

.view-mode-badge {
    display: inline-block;
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

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

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #ff8c00;
    border-bottom-color: #ff8c00;
}

.tab-btn:hover {
    color: #ff8c00;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

/* User Info Stilleri */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.9rem;
}

.logout-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Modal Input Stilleri */
.modal input,
.modal button {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal input:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.modal button {
    background: linear-gradient(45deg, #ff8c00, #ff6b35);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 0.5rem;
}

.modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
    font-size: 1.8rem;
}

/* Referral Help Text */
.referral-help {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Modal Form Spacing */
.modal form {
    margin-top: 1rem;
}

/* Password Field Styles */
.password-field {
    position: relative;
    margin-bottom: 1rem;
}

.password-field input {
    width: 100%;
    padding: 12px 45px 12px 12px;
    margin-bottom: 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.password-field input:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.eye-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1rem;
    color: #999;
    transition: color 0.2s ease;
    user-select: none;
}

.eye-icon:hover {
    color: #ff8c00;
}

/* Responsive Design - İletişim Kartları */
/* Responsive Design - Hero Section */
@media (max-width: 1200px) {
    .hero-content {
        max-width: 700px;
        padding: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
        letter-spacing: 1.2px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        max-width: 700px;
        padding: 0 2rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .hero-content {
        max-width: 600px;
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about {
        padding: 50px 0;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about-content {
        max-width: 600px;
        padding: 0 1.5rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
    }
    
    .contact-header p {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .about {
        padding: 40px 0;
    }
    
    .about h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .features {
        gap: 1rem;
    }
    
    .features li {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 1rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .contact-card {
        padding: 25px 15px;
        border-radius: 25px;
    }
    
    .contact-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
        letter-spacing: 0.8px;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .about {
        padding: 30px 0;
    }
    
    .about h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .about-content {
        padding: 0 0.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .features li {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-card {
        padding: 20px 12px;
        border-radius: 20px;
    }
    
    .contact-content h3 {
        font-size: 1rem;
    }
    
    .contact-content p {
        font-size: 0.85rem;
    }
}
/* Consent Section */
.consent-section {
  background: #fff7f0;
  border: 1px solid #ffe0c2;
  border-radius: 8px;
  padding: 12px;
  margin: 1rem 0;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 8px;
}

.consent-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ff8c00;
  margin-top: 2px;
}

.consent-help {
  display: block;
  color: #666;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  z-index: 9999;
}

.cookie-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cookie-banner a {
  color: #ffcf99;
  text-decoration: underline;
}

.cookie-accept-btn {
  background: linear-gradient(45deg, #ff8c00, #ff6b35);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

/* Footer policy links */
footer a {
  color: #ffcf99;
}