/* ============================================================
   CONTACT PAGE STYLING
   ============================================================ */

/* ---------- HERO BANNER ---------- */
.contact-hero {
    position: relative;
    height: 380px;
    background: linear-gradient(135deg, #1d1d1d 0%, #282828 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.contact-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 20px;
}

.contact-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: fadeInDown 0.7s ease both;
}

.contact-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 15px;
    color: #ffffff;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.contact-hero h1 span {
    color: #e63946;
}

.contact-hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* ---------- SECTION COMMON ---------- */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #282828;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-section-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-accent-line {
    width: 50px;
    height: 3px;
    background: #e63946;
    margin-bottom: 15px;
}

/* ---------- CONTACT INFO CARDS ---------- */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: #e63946;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before {
    transform: scaleY(1);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-info-card:hover .contact-card-icon {
    background: #e63946;
}

.contact-card-icon i {
    font-size: 20px;
    color: #282828;
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-card-icon i {
    color: #ffffff;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #282828;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 4px;
}

.contact-card-content p:last-child {
    margin-bottom: 0;
}

.contact-card-content a {
    color: #555;
    transition: color 0.2s ease;
    text-decoration: none;
}

.contact-card-content a:hover {
    color: #e63946;
}

/* ---------- CONTACT FORM ---------- */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeaea;
}

#contactform fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

#contactform label {
    display: block;
    margin-bottom: 18px;
    width: 100%;
}

#contactform input[type="text"],
#contactform input[type="email"],
#contactform input[type="tel"],
#contactform textarea {
    width: 100%;
    height: 50px;
    padding: 12px 18px;
    background: #fcfcfc;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#contactform input::placeholder,
#contactform textarea::placeholder {
    color: #888;
    opacity: 0.8;
}

#contactform input:focus,
#contactform textarea:focus {
    background: #ffffff;
    border-color: #282828;
    box-shadow: 0 0 0 3px rgba(40, 40, 40, 0.08);
    outline: none;
}

#contactform textarea {
    height: 150px;
    resize: vertical;
    padding-top: 14px;
}

/* Validation states */
#contactform input.error,
#contactform textarea.error {
    border-color: #e63946 !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15) !important;
}

/* Checkbox KVKK style */
.contact-legal-consent {
    margin-top: 5px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.contact-legal-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #e63946;
    cursor: pointer;
    flex-shrink: 0;
}

.contact-legal-consent input[type="checkbox"].error {
    outline: 2px solid #e63946;
    outline-offset: 1px;
}

.contact-legal-consent .legalConsentCheckbox {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.contact-legal-consent .legalConsentCheckbox:hover {
    color: #e63946;
    text-decoration: underline;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    height: 52px;
    background: #282828;
    color: #ffffff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.contact-submit-btn:hover {
    background: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.35);
    color: #ffffff;
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn.disabled,
.contact-submit-btn:disabled {
    background: #cccccc !important;
    color: #888888 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.8;
}

/* Result Message */
#result {
    padding: 30px;
    background: #f3faf6;
    border: 1px solid #d4edda;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 0.5s ease both;
}

#result h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #155724;
    margin: 0 0 10px;
}

#result p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #155724;
    margin: 0;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .contact-hero { height: 320px; }
    .contact-hero h1 { font-size: 38px; }
    .contact-section { padding: 60px 0; }
    .contact-form-wrapper { padding: 30px 20px; margin-top: 40px; }
}
