
/* Contact Page Luxury Styles */

:root {
    --gold-primary: var(--theme-color-buttons, #FF8C00);
    --gold-dark: #b36200;
    --gold-light: #ffd8a8;
    --dark-bg: var(--theme-color-main, #001D2F);
    --dark-card: var(--theme-color-main, #002b45);
    --text-light: #ffffff;
    --text-dark: var(--theme-color-text, #1F2937);
    --grey-text: #6c757d;
}

.eagleride-contact-page.luxury-theme {
    background-color: var(--theme-color-page-bg, #fffaec);
    font-family: 'Inter', sans-serif;
    padding-bottom: 0; /* Map is full width at bottom */
}

/* Hero Section */
.luxury-hero {
    position: relative;
    background: var(--dark-bg) !important;
    color: #fff;
    padding: 120px 0 100px;
    text-align: center;
    overflow: hidden;
    margin-bottom: -50px; /* Overlap with content */
}

.luxury-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1562519819-016930ada31b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Luxury Car Interior or similar */
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

.luxury-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 0;
}

.luxury-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.luxury-hero .hero-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.luxury-hero p {
    font-size: 1.2rem;
    color: var(--grey-text);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Main Layout */
.main-contact-container {
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Luxury Card */
.luxury-card {
    background: #fff;
    border-radius: 4px; /* Sharper corners for elegance */
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top: 3px solid var(--gold-primary);
}

.luxury-card.dark-mode {
    background: var(--dark-bg) !important;
    color: var(--text-light);
    border-top: 3px solid var(--gold-dark);
}

.luxury-card .card-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.luxury-card h2, 
.luxury-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.luxury-card.dark-mode h3 {
    color: var(--gold-primary);
}

.luxury-card p {
    color: #666;
}

.luxury-card.dark-mode p {
    color: var(--grey-text);
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.half {
    flex: 1;
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    background: #fcfcfc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold-primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.luxury-btn {
    background: var(--theme-color-buttons-gradient, linear-gradient(135deg, #ff8c00 0%, #b36200 100%));
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.luxury-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.luxury-btn:disabled,
.luxury-btn.disabled,
.luxury-btn.processing {
    background: #6c757d; /* Grey color for processing */
    cursor: not-allowed;
    opacity: 0.9;
    transform: none;
    box-shadow: none;
}

/* Info Sidebar */
.contact-sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex: 1; /* Pushes social badges to bottom if needed, or just fills space */
}

.social-badges-section {
    margin-top: auto; /* Ensures it stays at bottom if card stretches */
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.info-list li {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.luxury-card.dark-mode .icon-box {
    background: rgba(255, 140, 0, 0.15);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-content span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey-text);
    margin-bottom: 5px;
}

.info-content strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.luxury-card.dark-mode .info-content strong {
    color: var(--text-light);
}

/* Social Badges */
.social-badges-section h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.social-badges {
    display: flex;
    gap: 15px;
}

.social-badge {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--grey-text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-badge:hover {
    background: var(--gold-primary);
    color: #fff;
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.social-badge span {
    font-size: 1.2rem;
}

/* Full Width Map */
.map-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto 50px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.map-header-card {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #fff;
    padding: 20px 30px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 4px solid var(--gold-primary);
    max-width: 300px;
}

.map-header-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.map-header-card p {
    margin: 0;
    color: var(--grey-text);
    font-size: 0.9rem;
}

.full-width-map-section {
    position: relative;
    width: 100%;
    height: 500px;
    filter: none; /* Removed grayscale */
}

.full-width-map-section:hover {
    filter: none;
}

/* Stats Counter Section */
.luxury-stats-container {
    margin-bottom: 40px;
}

.luxury-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Remove old dividers/backgrounds */
.luxury-stats-grid::before {
    display: none;
}

.stat-item {
    background: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--gold-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.15);
}

.stat-item:not(:last-child)::after {
    display: none;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 768px) {
    /* Hero Section */
    .luxury-hero {
        padding: 80px 0 60px;
    }
    
    .luxury-hero h1 {
        font-size: 2.5rem;
    }

    .luxury-hero .hero-subtitle {
        font-size: 0.8rem;
    }

    .luxury-hero p {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Stats Section */
    .luxury-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Cards & Layout */
    .luxury-card {
        padding: 30px 20px;
    }

    .luxury-card h2,
    .luxury-card h3 {
        font-size: 1.5rem;
    }

    /* Sidebar Info */
    .info-list {
        margin: 20px 0;
    }

    .info-list li {
        margin-bottom: 20px;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 15px;
    }

    .info-content strong {
        font-size: 0.95rem;
    }

    .info-content span {
        font-size: 0.75rem;
    }

    /* Social Badges */
    .social-badge {
        width: 35px;
        height: 35px;
    }

    .social-badge span {
        font-size: 1rem;
    }

    /* Form Elements */
    .luxury-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .map-header-card {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
        padding: 20px;
    }
}

/* Utilities */
.contact-message {
    padding: 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
}
.contact-message.success {
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-dark);
}
.contact-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}
