/* ================================
   CONTACT PAGE SPECIFIC STYLES
   ================================ */

/* ===== LOGO SUBTITLE ===== */
.logo-subtitle {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-light);
    text-align: center;
    margin-top: -5px;
}

/* ===== CONTACT HERO ===== */
.contact-hero {
    height: 350px;
    background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
                url('https://images.pexels.com/photos/4202388/pexels-photo-4202388.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ===== MAP SECTION ===== */
.map-section {
    background-color: var(--white);
}

.map-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.container-contact {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 80px;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background-color: var(--white);
}

.form-header {
    margin-bottom: 40px;
}

.form-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.form-title {
    font-size: clamp(32px, 4vw, 42px);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    background-color: transparent;
    font-size: 14px;
    font-family: var(--font-primary);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
    font-size: 14px;
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    padding: 16px 45px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
    font-family: var(--font-primary);
    font-weight: 600;
}

.btn-submit:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== CONTACT INFO ===== */
.contact-info-wrapper {
    background-color: var(--accent-color);
    padding: 60px 50px;
}

.info-block {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-block:last-child {
    border-bottom: none;
}

.info-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 400;
}

.info-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 5px;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section-contact {
    padding: 80px 0;
    background-color: var(--bg-cream);
    text-align: center;
}

.newsletter-brand {
    margin-bottom: 25px;
}

.newsletter-logo {
    font-size: 28px;
    letter-spacing: 4px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.newsletter-tagline {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.newsletter-title {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 30px;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: var(--white);
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 14px;
    outline: none;
    font-family: var(--font-primary);
}

.btn-newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background-color: var(--text-dark);
}

/* ===== FOOTER CONTACT ===== */
.footer-contact {
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    display: block;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Social Links */
.footer-social {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: 2px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== FORM VALIDATION STATES ===== */
.form-input.error,
.form-textarea.error {
    border-bottom-color: #e74c3c;
}

.form-input.success,
.form-textarea.success {
    border-bottom-color: #27ae60;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* ===== LOADING STATE ===== */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container-contact {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 250px;
    }

    .map-container {
        height: 350px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-wrapper {
        padding: 40px 30px;
    }

    .info-block {
        flex-direction: column;
        gap: 15px;
        padding: 25px 0;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-social {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 32px;
    }

    .form-title {
        font-size: 28px;
    }

    .map-container {
        height: 300px;
    }

    .contact-info-wrapper {
        padding: 30px 20px;
    }

    .info-content h3 {
        font-size: 16px;
    }

    .info-content p {
        font-size: 13px;
    }

    .btn-submit {
        width: 100%;
        padding: 14px;
    }

    .newsletter-logo {
        font-size: 22px;
    }

    .newsletter-title {
        font-size: 24px;
    }
}

/* ===== ACCESSIBILITY ===== */
.form-input:focus-visible,
.form-textarea:focus-visible,
.btn-submit:focus-visible,
.btn-newsletter:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== SMOOTH TRANSITIONS ===== */
.form-input,
.form-textarea,
.btn-submit,
.info-block,
.footer-links a,
.social-icons a {
    transition: all 0.3s ease;
}

/* ===== CUSTOM SCROLLBAR ===== */
.form-textarea::-webkit-scrollbar {
    width: 6px;
}

.form-textarea::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

.form-textarea::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.form-textarea::-webkit-scrollbar-thumb:hover {
    background: var(--text-dark);
}