/* Contact Page - Dark Cinematic Theme */

:root {
    /* Dark Theme Colors */
    --background: #0a0a0a;
    --foreground: #f5f5f5;
    --card: #1a1a1a;
    --card-foreground: #f5f5f5;
    --primary: #dab900; /* Golden accent */
    --primary-foreground: #0a0a0a;
    --secondary: #2a2a2a;
    --secondary-foreground: #f5f5f5;
    --muted: #1f1f1f;
    --muted-foreground: #a1a1a1;
    --accent: #dab900;
    --accent-foreground: #0a0a0a;
    --border: #2a2a2a;
    --error: #ef4444;
    --success: #22c55e;
    --charcoal: #1a1a1a;
    --warm-light: #dab900;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: #a89100;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(218, 185, 0, 0.4);
}

.btn-primary:disabled {
    background-color: var(--muted);
    color: var(--muted-foreground);
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

/* Section 1: Compact Hero */
.contact-hero {
    position: relative;
    height: 35vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d2d2d 100%);
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(218, 185, 0, 0.02) 2px,
        rgba(218, 185, 0, 0.02) 4px
    );
    animation: filmGrain 8s steps(10) infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

@keyframes filmGrain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out;
    letter-spacing: -0.05em;
    /* Metallic gold gradient */
    background: linear-gradient(
        to bottom,
        #ffd700 0%,      /* bright gold top */
        #ffec8b 20%,     /* lighter highlight */
        #b38d31 50%,     /* mid-tone gold */
        #ffec8b 80%,     /* lighter highlight */
        #ffd700 100%     /* bright gold bottom */
    );

    /* Clip gradient to text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Note: text-fill-color is usually webkit specific, 
       standard is color: transparent when clipping */
    color: transparent; 

    /* Revised Shadow: text-shadow often breaks background-clip. 
       Using filter: drop-shadow instead for a similar, safer effect. */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}


.hero-subline {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeUp 0.98s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section 2: Contact Info + Quick Actions */
.contact-info-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Studio Details */
.studio-details {
    animation: fadeIn 0.8s ease-out;
}

.details-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(218, 185, 0, 0.15), rgba(218, 185, 0, 0.05));
    border-radius: 0.75rem;
    color: var(--primary);
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.detail-text {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.detail-link {
    font-size: 1rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.detail-link:hover {
    color: #a89100;
    text-decoration: underline;
}

.social-links {
    margin-top: 2.5rem;
}

.social-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(218, 185, 0, 0.1);
    border: 1px solid rgba(218, 185, 0, 0.2);
    border-radius: 0.5rem;
    color: var(--primary);
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(218, 185, 0, 0.3);
}

/* Quick Actions */
.quick-actions {
    animation: fadeIn 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

.actions-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.action-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.action-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.6));
    border: 1px solid rgba(218, 185, 0, 0.1);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    backdrop-filter: blur(10px);
}

.action-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(218, 185, 0, 0.2);
    border-color: rgba(218, 185, 0, 0.3);
}

.card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(218, 185, 0, 0.15), rgba(218, 185, 0, 0.05));
    border-radius: 0.75rem;
    color: var(--primary);
    transition: all 0.3s;
}

.action-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(218, 185, 0, 0.25), rgba(218, 185, 0, 0.1));
    transform: scale(1.1);
}

.action-card .card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.action-card .card-description {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section 3: Map Section */
.map-section {
    padding: 0;
    background-color: var(--background);
}

.map-container {
    position: relative;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--background), transparent);
    z-index: 10;
    pointer-events: none;
}

.map-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--background), transparent);
    z-index: 10;
    pointer-events: none;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.3) contrast(1.1) brightness(0.8);
}

.map-static {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-label {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 185, 0, 0.3);
    border-radius: 2rem;
    box-shadow: 0 4px 20px rgba(218, 185, 0, 0.2);
    font-weight: 600;
    color: var(--foreground);
}

.map-label svg {
    color: var(--primary);
}

/* Section 4: Contact Form */
.contact-form-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(42, 42, 42, 0.7));
    border: 1px solid rgba(218, 185, 0, 0.2);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.form-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Form Elements */
.contact-form {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: rgba(42, 42, 42, 0.5);
    color: var(--foreground);
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(218, 185, 0, 0.15);
    background-color: rgba(42, 42, 42, 0.8);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--error);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    display: block;
    font-size: 0.875rem;
    color: var(--error);
    margin-top: 0.5rem;
    min-height: 20px;
}

.helper-text {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

/* File Upload */
.file-upload-wrapper {
    margin-bottom: 0.5rem;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px dashed rgba(218, 185, 0, 0.3);
    border-radius: 0.5rem;
    background-color: rgba(42, 42, 42, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: var(--primary);
    background-color: rgba(218, 185, 0, 0.05);
}

.file-upload-text {
    font-weight: 500;
    color: var(--foreground);
}

.file-name {
    display: block;
    font-size: 0.875rem;
    color: var(--primary);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--foreground);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary);
}

/* Honeypot (Anti-spam) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* Form Actions */
.form-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Success State */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeSlideUp 0.5s ease-out;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    color: var(--success);
}

.success-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Section 5: Alternative Contact */
.alternative-contact {
    padding: 4rem 0;
    background-color: var(--background);
}

.alt-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.alt-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.alt-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.alt-link {
    font-size: 1.125rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.alt-link:hover {
    color: #a89100;
    text-decoration: underline;
}

.alt-separator {
    color: var(--muted-foreground);
}

.alt-note {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
}

.alt-link-inline {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.alt-link-inline:hover {
    color: #a89100;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subline {
        font-size: 1.125rem;
    }
    
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .details-title,
    .actions-title {
        font-size: 1.5rem;
    }
    
    .map-label {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
    
    .alt-title {
        font-size: 1.5rem;
    }
    
    .alt-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .alt-separator {
        display: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #mapEmbed {
        display: none;
    }
    
    #mapFallback {
        display: block !important;
    }
}