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

/* Layout Utilities */
.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-hero {
    padding-top: 128px;
    padding-bottom: 80px;
    text-align: center;
    margin-bottom: 64px;
}

.contact-hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(40px);
}

.contact-hero p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    font-weight: 600;
    opacity: 0;
    transform: translateY(40px);
}

/* Artistic Grid */
.contact-grid-section {
    position: relative;
    margin-bottom: 160px; /* Increased to prevent conflict with map */
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: repeat(12, 1fr);
        align-items: start;
        gap: 64px;
    }
    
    .art-image-wrapper {
        grid-column: span 7;
    }
}

.art-image-wrapper {
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
    transform: scale(1.05);
}

.art-image-wrapper img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.form-card-wrapper {
    opacity: 0;
    transform: translateX(80px);
    margin-top: 0;
}

@media (min-width: 1024px) {
    .form-card-wrapper {
        grid-column: span 5;
        margin-left: 0;
        margin-top: 0;
        position: relative;
    }
}

/* Form Styles */
.contact-card {
    background: var(--color-bg-cream);
    padding: 50px 60px;
    border: 1px solid rgba(26, 64, 49, 0.1);
    box-shadow: 0 30px 60px rgba(26, 64, 49, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .contact-card {
        height: 650px;
    }
}

.contact-card h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 0.2em;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-text-primary);
    padding: 8px 0;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-bottom-width: 2px;
}

.form-textarea {
    height: 100px;
    resize: none;
}

.btn-submit {
    width: 100%;
    background: var(--color-text-primary);
    color: var(--color-text-white);
    padding: 16px 24px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    transition: all 0.5s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background: var(--color-gold);
}

/* Info Section */
.info-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .info-section {
        grid-template-columns: repeat(12, 1fr);
    }
    
    .address-info-wrapper {
        grid-column: span 5;
    }
    
    .map-wrapper {
        grid-column: span 7;
    }
}

.address-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    opacity: 0;
    transform: translateX(-40px);
}

.contact-group h3 {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(181, 132, 68, 0.8);
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-group h3::before {
    content: '';
    width: 32px;
    height: 1px;
    background: rgba(181, 132, 68, 0.3);
}

.address-text {
    font-size: 30px;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.opening-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(26, 64, 49, 0.6);
}

/* Mini Cards Grid */
.mini-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .mini-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .card-email {
        grid-column: span 2;
    }
}

.contact-card-mini {
    display: block;
    padding: 20px;
    border: 1px solid rgba(26, 64, 49, 0.05);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 2px;
}

.contact-card-mini:hover {
    border-color: var(--color-gold);
    background: #fff;
    box-shadow: 0 15px 30px rgba(181, 132, 68, 0.08);
    transform: translateY(-5px);
}

.card-icon {
    color: var(--color-gold);
    margin-bottom: 8px;
    transition: transform 0.5s;
}

.contact-card-mini:hover .card-icon {
    transform: scale(1.1);
}

.card-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.card-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Map Styling */
.map-wrapper {
    height: 550px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(40px);
}

.stylized-map {
    width: 100%;
    height: 100%;
    filter: grayscale(1) contrast(1.2) invert(1) hue-rotate(180deg) brightness(0.9);
}

.map-pearl {
    position: absolute;
    top: 40%;
    left: 30%;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.map-pearl-inner {
    width: 8px;
    height: 8px;
    background: var(--color-text-primary);
    border-radius: 50%;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .contact-card {
        padding: 40px;
        border-width: 4px;
    }
    
    .art-image-wrapper img {
        height: 400px;
    }
    
    .form-card-wrapper {
        margin-top: -60px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .address-info-wrapper {
        text-align: center;
    }
    
    .contact-group h3 {
        justify-content: center;
    }
    
    .contact-group h3::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .contact-card {
        padding: 24px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .address-text {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero h1,
    .contact-hero p,
    .art-image-wrapper,
    .form-card-wrapper,
    .address-info-wrapper,
    .map-wrapper {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .contact-card-mini,
    .form-input,
    .btn-submit {
        transition: none !important;
        transform: none !important;
    }
    
    .map-pearl {
        animation: none !important;
    }
}

