/* ====================================
   Contact Page Premium Styles
   ==================================== */

/* Section Label */
.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 5rem;
    padding-bottom: 2rem;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    color: var(--secondary-text);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Content Wrapper */
.contact-content-wrapper {
    position: relative;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: start;
}

/* Info Cards */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.05) 0%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(-5px);
}

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

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.info-card:hover .info-icon {
    background: var(--accent-color);
    color: #000;
    transform: rotate(5deg) scale(1.1);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a {
    color: var(--secondary-text);
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--accent-color);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.action-btn svg {
    transition: transform 0.3s ease;
}

.action-btn:hover svg {
    transform: scale(1.1);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.btn-map {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-map:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Form Wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        rgba(212, 175, 55, 0.3) 100%);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: right;
    color: #fff;
}

.form-header p {
    color: var(--secondary-text);
    font-size: 0.95rem;
    text-align: right;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--accent-color);
}

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

/* Submit Button */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(-3px) rotate(-15deg);
}

/* Map Section */
.map-container {
    position: relative;
    margin-top: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(10, 10, 10, 0.7) 70%,
        transparent 100%);
    z-index: 5;
    text-align: center;
}

.map-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.map-header p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.5s ease;
}

.map-container:hover iframe {
    filter: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
    cursor: pointer;
}

.map-overlay span {
    opacity: 0;
    background: var(--accent-color);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px);
}

.map-container:hover .map-overlay span {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .info-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .action-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .action-btn {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .section-label {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .contact-grid {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .info-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .form-header p {
        text-align: center;
    }

    .map-container iframe {
        height: 350px;
    }

    .map-header {
        padding: 1.5rem;
    }

    .map-header h2 {
        font-size: 1.5rem;
    }
}

/* Animation for form submission (optional - can be used with JS) */
@keyframes submitSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.form-submitted {
    animation: submitSuccess 0.4s ease;
}

/* Loading state for button */
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
