/*
 * CinemaPointer Contact Page Stylesheet
 * Premium Dark Cinema Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
    --bg-dark: #070708;
    --bg-card: rgba(18, 18, 22, 0.72);
    --bg-card-hover: rgba(24, 24, 30, 0.82);
    --bg-input: rgba(10, 10, 12, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    
    --accent-primary: #f5a623;
    --accent-secondary: #d4890f;
    --accent-hover: #c07a0c;
    
    --primary-color: var(--accent-primary);
    --primary-dark: var(--accent-secondary);
    --primary-gradient: linear-gradient(135deg, #ffc14a 0%, #d4890f 100%);
    --primary-glow: rgba(245, 166, 35, 0.35);
    --accent-gold: var(--accent-primary);
    
    --text-white: #ffffff;
    --text-muted: #8e8e96;
    --text-light-muted: #b3b3b8;
    --font-main: 'Outfit', system-ui, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Background spotlight effect */
.bg-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(to bottom, rgba(7, 7, 9, 0.85), rgba(7, 7, 9, 0.95)), url('../images/cinema_theater_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Spotlight Overlay to match mockup precisely */
.bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 800px at 70% 30%, rgba(249, 169, 38, 0.06), transparent 80%),
                radial-gradient(circle 600px at 30% 70%, rgba(234, 146, 5, 0.03), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Typography */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Header / Navigation */
header {
    width: 100%;
    padding: 24px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.logo svg,
.logo img,
.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.nav-icon:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

.btn-signup {
    background-color: var(--accent-gold);
    color: #000000;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(249, 169, 38, 0.2);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-signup:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 16px rgba(249, 169, 38, 0.35);
    transform: translateY(-2px);
}

/* Main Grid Layout */
.main-content {
    padding-top: 140px;
    padding-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

/* Left Column Info */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.info-section h1 span {
    display: block;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-desc {
    color: var(--text-light-muted);
    font-size: 1.05rem;
    max-width: 440px;
    line-height: 1.65;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(249, 169, 38, 0.1);
    color: var(--primary-color);
}

.method-icon svg {
    width: 20px;
    height: 20px;
}

.method-details .method-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.method-details .method-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
}

.method-details .method-value:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Decorative Overlapping Squares (Wireframe) */
.decor-shapes {
    position: relative;
    width: 140px;
    height: 140px;
    margin-top: 24px;
}

.decor-square {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(249, 169, 38, 0.2);
    border-radius: 16px;
    transform: rotate(15deg);
    transition: var(--transition-smooth);
}

.decor-square:nth-child(2) {
    border-color: rgba(249, 169, 38, 0.15);
    transform: rotate(35deg) translate(10px, 10px);
}

.decor-shapes:hover .decor-square:nth-child(1) {
    transform: rotate(20deg) scale(1.05);
    border-color: rgba(249, 169, 38, 0.4);
}

.decor-shapes:hover .decor-square:nth-child(2) {
    transform: rotate(45deg) translate(12px, 12px) scale(1.05);
    border-color: rgba(249, 169, 38, 0.35);
}

/* Right Column - Glassmorphic Form Card */
.form-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.form-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 
                0 0 40px rgba(249, 169, 38, 0.02);
}

/* Form Styles */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
}

.form-control-wrapper {
    position: relative;
    width: 100%;
}

.form-control {
    width: 100%;
    background-color: #121216;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: var(--font-main);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.form-control:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: #16161b;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: #070709;
    box-shadow: 0 0 0 4px rgba(249, 169, 38, 0.25);
}

.form-group:focus-within .form-label {
    color: var(--primary-color);
}

/* Custom Select styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 48px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

select.form-control:focus + .select-arrow {
    color: var(--primary-color);
    transform: translateY(-50%) rotate(180deg);
}

/* Textarea specifically */
textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Form Errors & Warnings styling */
.error-msg {
    font-size: 0.8rem;
    color: #ff5e5e;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.form-group.has-error .form-control {
    border-color: #ff5e5e;
    box-shadow: 0 0 0 4px rgba(255, 94, 94, 0.1);
}

.form-group.has-error .error-msg {
    display: block;
}

/* Submit Button */
.btn-submit {
    grid-column: span 2;
    background: var(--primary-gradient);
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: var(--transition-smooth);
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--primary-glow);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
}

.btn-submit:hover::after {
    left: 125%;
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #2d2d35;
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

/* Spinner for Submit Loader */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

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

/* Form Response Notification */
.form-notification {
    grid-column: span 2;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    margin-bottom: 8px;
    animation: fadeIn 0.4s ease-out;
}

.form-notification.success {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.form-notification.error {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mid Footer Explore Banner */
.explore-banner-wrapper {
    margin-top: 40px;
    margin-bottom: 80px;
}

.explore-banner {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.explore-banner:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
}

.explore-banner h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.explore-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.explore-banner:hover .explore-link svg {
    transform: translateX(4px);
}

/* Footer Section */
footer {
    background-color: #030305;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-col .logo {
    font-size: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.newsletter-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-box p {
    color: var(--text-light-muted);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    width: 100%;
}

.newsletter-input {
    flex-grow: 1;
    background-color: #121216;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: #16161b;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    background-color: #070709;
    box-shadow: 0 0 0 4px rgba(249, 169, 38, 0.25);
}

.btn-subscribe {
    background-color: var(--accent-gold);
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-subscribe:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

/* Footer Bottom Layout */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.desktop-link {
    color: #3b82f6;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.desktop-link:hover {
    color: #60a5fa;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .info-section {
        align-items: center;
        text-align: center;
    }
    
    .info-desc {
        max-width: 100%;
    }
    
    .decor-shapes {
        display: none; /* Hide visual clutter on tablets */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col:last-child {
        grid-column: span 2;
    }
    
    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 110px;
    }

    .info-section h1 {
        font-size: 2.8rem;
    }

    .form-card {
        padding: 32px 24px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .btn-submit {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col:last-child {
        grid-column: span 1;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .btn-subscribe {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 16px;
    }
    
    .nav-links {
        gap: 8px;
    }

    .info-section h1 {
        font-size: 2.3rem;
    }
    
    .explore-banner {
        padding: 24px 16px;
    }
}
