/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact-Specific Variables */
:root {
    --bg-contact: #fcfcfc;
}

/* ========================================
   HERO SECTION
   ======================================== */
.contact-hero {
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-contact);
    position: relative;
}

.hero-text-content {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   CAROUSEL STYLING
   ======================================== */
.carousel-outer {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    z-index: 1;
}

.carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-item {
    width: 280px;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #eee;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item:nth-child(even) {
    height: 340px;
    margin-top: 20px;
}

/* ========================================
   ANNOTATIONS
   ======================================== */
.annotation {
    position: absolute;
    z-index: 3;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    pointer-events: none;
}

.annotation-start {
    top: 220px;
    left: 20%;
    transform: rotate(-10deg);
}

.annotation-reply {
    bottom: 120px;
    right: 15%;
    transform: rotate(5deg);
}

.annotation svg {
    display: block;
    margin-bottom: 5px;
    opacity: 0.3;
}

/* ========================================
   FORM SECTION
   ======================================== */
.contact-form-section {
    padding: 120px 0;
    background: #fff;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.form-reassurance {
    position: sticky;
    top: 120px;
}

.form-reassurance h2 {
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -1px;
}

.form-reassurance p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-container {
    background: #fff;
    padding: 0;
}

.contact-form-container .form-group {
    margin-bottom: 24px;
}

.contact-form-container label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-form-container input,
.contact-form-container select,
.contact-form-container textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.05);
}

.contact-form-container .btn-submit {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    background: var(--text-primary);
    color: #fff;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.contact-form-container .btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   INFO BLOCK
   ======================================== */
.studio-info-block {
    padding-top: 60px;
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 60px;
}

.info-item h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 12px;
}

.info-item p,
.info-item a {
    font-size: 15px;
    color: var(--text-primary);
    text-decoration: none;
}

/* ========================================
   MAP SECTION
   ======================================== */
.contact-map-section {
    padding: 0;
    background: #fff;
}

.contact-map-embed {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   CTA SECTION
   ======================================== */
.contact-cta-section {
    padding: 100px 0;
    background: var(--bg-contact);
    text-align: center;
}

.contact-cta-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-section .btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--text-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-cta-section .btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 900px) {
    .form-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .form-reassurance {
        position: static;
    }

    .studio-info-block {
        flex-direction: column;
        gap: 40px;
    }

    .contact-hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .annotation-start,
    .annotation-reply {
        display: none;
    }
}

@media (max-width: 600px) {
    .carousel-item {
        width: 220px;
        height: 300px;
    }

    .carousel-item:nth-child(even) {
        height: 260px;
    }
}