/* ================================================
   LOISTE STUDIO - WOW FACTOR CONTACT PAGE
   Premium Editorial Design Showcasing Design Excellence
   ================================================ */

/* ============================================
   BASE VARIABLES & UTILITIES
   ============================================ */
:root {
    --bronze-gradient: linear-gradient(135deg, #C19467 0%, #D4A574 100%);
    --paper-texture: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuODUiIG51bU9jdGF2ZXM9IjQiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNub2lzZSkiIG9wYWNpdHk9IjAuMDMiPjwvcmVjdD48L3N2Zz4=');
}

@media (min-width: 992px) {
    body {
        background: #f6f5ec;
    }
}

/* ============================================
   1. BREADCRUMB NAVIGATION
   ============================================ */
.contact-breadcrumb {
    padding-top: 12rem;
    padding-bottom: 2rem;
}

.breadcrumb-nav {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-brown-muted);
}

.breadcrumb-nav a {
    color: var(--color-brown-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--neutral-dark);
}

.breadcrumb-separator {
    margin: 0 1rem;
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--color-charcoal);
}

/* ============================================
   2. DECORATIVE BACKGROUND LETTER
   ============================================ */
.decorative-letter {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: clamp(25rem, 35vw, 45rem);
    font-weight: 100;
    color: var(--neutral-dark);
    opacity: 0.02;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* ============================================
   3. HERO SECTION - ASYMMETRIC LAYOUT
   ============================================ */
.contact-section {
    margin-top: 0;
    padding-top: 4rem;
    position: relative;
    overflow: hidden;
}

.contact-hero-section {
    position: relative;
    z-index: 1;
}

.contact-header {
    max-width: 950px;
    text-align: center;
    margin: 0 auto 4rem;
    position: relative;
    padding: 4rem 2rem;
    border-radius: 40px;
    /* Subtle highlight to separate text from complex background */
    background: radial-gradient(circle at center, rgba(246, 245, 236, 0.4) 0%, transparent 80%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Premium Typography Treatment */
.contact-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 2.5rem 0 3.5rem;
}

.title-thin {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 100;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    /* Improved contrast */
    line-height: 1;
    text-shadow: 0 1px 4px rgba(246, 245, 236, 0.5);
}

.title-bold {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 10vw, 11rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    background: var(--bronze-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.contact-description {
    font-size: 2rem;
    line-height: 1.7;
    font-weight: 300;
    color: var(--color-charcoal);
    /* Improved contrast */
    max-width: 700px;
    margin: 0 auto 3rem;
    text-shadow: 0 1px 3px rgba(246, 245, 236, 0.5);
}

/* Decorative Divider */
.decorative-divider {
    margin: 0 auto;
    display: block;
    opacity: 0.6;
}

/* ============================================
   4. CONTACT GRID LAYOUT
   ============================================ */
/* Postcard styling is handled in css/postcard-contact.css */

/* ============================================
   9. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .contact-content-grid {
        grid-template-columns: 1fr 340px;
        gap: 6rem;
    }
}

@media (max-width: 991px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .decorative-letter {
        font-size: 25rem;
        top: -40px;
    }

    .contact-header {
        padding: 3rem 1.5rem;
        margin-bottom: 6rem;
    }

    .title-thin {
        font-size: 4.5rem;
    }

    .title-bold {
        font-size: 7rem;
    }

    .form-card {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-breadcrumb {
        padding-top: 8rem;
    }

    .contact-section {
        padding-top: 2rem;
    }

    .contact-header {
        margin-bottom: 5rem;
        border-radius: 24px;
    }

    .decorative-letter {
        display: none;
        /* Cleaner mobile look */
    }

    .title-thin {
        font-size: 3.6rem;
    }

    .title-bold {
        font-size: 5rem;
    }

    .contact-description {
        font-size: 1.7rem;
        line-height: 1.6;
    }

    .form-card {
        padding: 2.5rem 2rem;
        margin-bottom: 1.5rem;
    }

    .floating-label .form-input,
    .floating-label .form-textarea {
        font-size: 1.6rem;
    }

    .floating-label .form-label {
        font-size: 1.5rem;
    }

    .contact-info {
        gap: 2.5rem;
    }

    .contact-info-item {
        padding: 2.2rem;
    }

    .map-section {
        margin-top: 6rem;
        padding: 4rem 0;
    }

    .map-section h2 {
        font-size: 3.2rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 2.5rem 1.2rem;
    }

    .title-thin {
        font-size: 2.8rem;
    }

    .title-bold {
        font-size: 3.8rem;
    }

    .contact-description {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .floating-label .form-input,
    .floating-label .form-textarea {
        font-size: 1.5rem;
        padding: 0.8rem 0;
    }

    .floating-label .form-label {
        font-size: 1.4rem;
        top: 0.8rem;
    }

    .premium-submit-button {
        padding: 1.6rem 2.5rem;
        font-size: 1.3rem;
    }

    .info-icon {
        width: 36px;
        height: 36px;
    }

    .contact-quote {
        padding: 2rem 1.5rem;
    }

    .contact-quote p {
        font-size: 1.4rem;
    }

    .map-section h2 {
        font-size: 2.6rem;
    }

    /* Subtle background adjustment for small screens */
    body::before {
        opacity: 0.25;
    }
}

/* ============================================
   10. ACCESSIBILITY & INTERACTIONS
   ============================================ */

/* Smooth Reveal Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease-out backwards;
}

.reveal[data-delay="200ms"] {
    animation-delay: 0.2s;
}

.reveal[data-delay="400ms"] {
    animation-delay: 0.4s;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid var(--color-bronze);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}