/* [1] Contact Sayfası Özel CSS */

/* [1.1] Active menü link stili */
.nav-bar .main-menu a.active {
    color: #87cefa !important;
    text-shadow: 0 0 10px #87cefa;
    transform: translateY(-2px);
}

/* [2] Contact Main Container */
.contact-main {
    background: linear-gradient(135deg, #e6f7ff 0%, #cce6ff 100%);
    min-height: 100vh;
}

/* [3] Contact Banner */
.contact-banner {
    background: linear-gradient(135deg, #1e90ff 0%, #0056b3 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 0;
}

.contact-banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-banner-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* [4] Contact Content Container */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* [5] Contact Sections */
.contact-section {
    background: white;
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(30, 144, 255, 0.1);
    border-left: 5px solid var(--ping);
}

.contact-section h2 {
    color: var(--ping);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--ping);
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* [6] Location Section */
.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-main h3 {
    color: #0056b3;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fbff 0%, #e6f7ff 100%);
    border-radius: 10px;
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.detail-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.detail-item span:last-child {
    color: #333;
    font-weight: 500;
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    border-radius: 15px;
}

/* [7] Contact Info Section */
.contact-info {
    text-align: center;
}

.instructor-info h3 {
    color: var(--ping);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.instructor-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* [8] Form Section */
.form-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.form-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* [8.1] Form Messages */
.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #c3e6cb;
    text-align: center;
    box-shadow: 0 3px 10px rgba(21, 87, 36, 0.1);
}

.warning-message {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #ffeaa7;
    text-align: center;
    box-shadow: 0 3px 10px rgba(133, 100, 4, 0.1);
}

.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #f5c6cb;
    text-align: center;
    box-shadow: 0 3px 10px rgba(114, 28, 36, 0.1);
}

/* [8.1.1] Form Success Actions */
.form-success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.new-request-btn,
.home-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.new-request-btn {
    background: linear-gradient(135deg, var(--ping) 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.new-request-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
}

.home-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

/* [8.2] Form Styling */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e1ecf4;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ping);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-group .error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* [8.3] Submit Button */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background: linear-gradient(135deg, var(--ping) 0%, #0056b3 100%);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* [9] Responsive Design */

/* [9.1] Tablet */
@media (max-width: 1024px) {
    .contact-content {
        padding: 0 1rem;
    }
    
    .contact-section {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .location-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-banner-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-banner-subtitle {
        font-size: 1.2rem;
    }
}

/* [9.2] Mobile */
@media (max-width: 768px) {
    
    /* [9.2.1] Banner Mobile */
    .contact-banner {
        padding: 2rem 1rem;
    }
    
    .contact-banner-content h1 {
        font-size: 2rem;
    }
    
    .contact-banner-subtitle {
        font-size: 1.1rem;
    }
    
    /* [9.2.2] Content Mobile */
    .contact-content {
        padding: 0 1rem;
    }
    
    .contact-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .contact-section h2 {
        font-size: 1.6rem;
    }
    
    /* [9.2.3] Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    /* [9.2.4] Location Mobile */
    .location-details {
        gap: 0.8rem;
    }
    
    .detail-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    .detail-item .icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* [9.3] Large Mobile */
@media (max-width: 480px) {
    .contact-banner {
        padding: 1.5rem 0.5rem;
    }
    
    .contact-banner-content h1 {
        font-size: 1.7rem;
    }
    
    .contact-section {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
    }
    
    .submit-btn {
        padding: 0.9rem 1.5rem;
        min-width: 160px;
    }
}

/* [10] Animation for Page Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-section:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-section:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-section:nth-child(3) {
    animation-delay: 0.3s;
}
/* [11] WhatsApp Button - Contact.css sonuna eklenecek */

/* [11.1] Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

/* [11.2] WhatsApp Section in Contact Info */
.whatsapp-contact {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact h3 {
    color: white !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.whatsapp-contact p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.whatsapp-btn {
    display: inline-block;
    background: white;
    color: #25d366;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #128c7e;
    text-decoration: none;
}

/* [11.3] Mobile WhatsApp Adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-contact {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .whatsapp-contact h3 {
        font-size: 1.3rem;
    }
    
    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .whatsapp-contact {
        padding: 1rem;
    }
}