/* ===== CONTACT PAGE STYLES ===== */

/* Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    margin-top: var(--navbar-height);
    background-color: var(--dark-brown);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9) 0%, rgba(139, 69, 19, 0.8) 100%);
    z-index: 1;
}

.contact-header {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.contact-header h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--white);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.3);
    min-width: 150px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Contact Content */
.contact-content {
    padding: 6rem 0;
    background-color: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* Contact Information */
.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
}

.company-info {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border);
}

.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
}

.info-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.info-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
}

.info-header h2 {
    font-family: var(--font-display);
    color: var(--dark-brown);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.info-tagline {
    color: #000000 !important;
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 0.5rem;
    text-align: center !important;
    padding-top: 1rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.detail-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-gold);
}

.detail-card i {
    font-size: 1.8rem;
    color: var(--primary-gold);
    min-width: 30px;
    text-align: center;
    margin-top: 0.3rem;
}

.detail-content h4 {
    color: var(--dark-brown);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detail-content p,
.detail-content a {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0.2rem 0;
    transition: color 0.3s ease;
}

.detail-content a:hover {
    color: var(--primary-gold);
}

.qr-code {
    margin: 2.5rem 0;
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border: 1px dashed var(--border);
}

.qr-code p {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.qr-image {
    max-width: 150px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-family: var(--font-display);
    color: var(--dark-brown);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--gray-800);
    background-color: var(--gray-50);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background-color: var(--white);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    grid-column: 1 / -1;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
    font-weight: 400;
}

.form-checkbox a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-checkbox a:hover {
    color: var(--primary-gold-dark);
    text-decoration: underline;
}

.btn-submit {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: white;
    border: none;
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-primary);
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

/* Opening Hours */
.opening-hours {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
    padding: 5rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.opening-hours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 0.05;
    z-index: 1;
}

.opening-hours .container {
    position: relative;
    z-index: 2;
}

.opening-hours h2 {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.opening-hours p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hours-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hours-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
}

.hours-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    font-family: var(--font-display);
}

.hours-item p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: var(--white);
    opacity: 0.9;
}

.hours-item .time {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 0.5rem;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .contact-hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 70vh;
        min-height: 600px;
    }
    
    .contact-header h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1.2rem 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .company-info,
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .opening-hours h2 {
        font-size: 2rem;
    }
}

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

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Success Message */
.form-success {
    display: none;
    background: #2ecc71;
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Map Container */
.map-container {
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    margin-top: 0px !important;
    margin-bottom: 0;
    box-shadow: none;
    border: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: white;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Body fix para eliminar espaço preto */
body {
    background: white !important;
}

main {
    background: white !important;
}

/* Map Mobile Fixes */
@media (max-width: 768px) {
    .map-container {
        height: 250px !important;
        margin-top: 0px !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
        background: white !important;
    }
    
    .contact-content {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 200px !important;
        margin-top: 0px !important;
        background: white !important;
    }
    
    .contact-content {
        padding: 2rem 0 !important;
    }
}
