/* AMP Marketing Intelligence - Main Stylesheet */
/* Color Palette: AMP Red (#FF4B4B) & White */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #2B2B2B;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF4B4B;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2B2B2B 0%, #FF4B4B 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero .hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #F5F5F5;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2B2B2B;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 75, 75, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #FF4B4B;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
    background-color: #fff;
}

.form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2B2B2B;
}

.form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

form {
    max-width: 700px;
    margin: 0 auto;
    background: #F5F5F5;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2B2B2B;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF4B4B;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #FF4B4B;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #E63939;
    transform: translateY(-2px);
}

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

/* Thank You Message - PROMINENT VERSION */
.thank-you-message {
    max-width: 900px;
    margin: 3rem auto;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    padding: 4rem 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 75, 75, 0.2);
    border: 3px solid #FF4B4B;
    animation: slideDown 0.6s ease-out;
}

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

.success-icon {
    width: 120px;
    height: 120px;
    background-color: #FF4B4B;
    color: white;
    font-size: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease-out 0.2s both;
    box-shadow: 0 8px 20px rgba(255, 75, 75, 0.3);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.thank-you-message h3 {
    color: #FF4B4B;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.thank-you-message p {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.thank-you-message a {
    color: #FF4B4B;
    text-decoration: none;
    font-weight: 600;
}

.thank-you-message a:hover {
    text-decoration: underline;
}

.new-request-btn {
    margin-top: 2.5rem;
    padding: 1rem 3rem;
    background-color: #FF4B4B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
}

.new-request-btn:hover {
    background-color: #E63939;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 75, 0.4);
}

/* Footer */
footer {
    background-color: #2B2B2B;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-left p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FF4B4B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .features h2,
    .form-section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    /* Thank You Message - Mobile */
    .thank-you-message {
        margin: 2rem auto;
        padding: 2.5rem 1.5rem;
    }

    .success-icon {
        width: 100px;
        height: 100px;
        font-size: 3.5rem;
    }

    .thank-you-message h3 {
        font-size: 2rem;
    }

    .thank-you-message p {
        font-size: 1.1rem;
    }

    .new-request-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Google Maps Autocomplete Fixes */
/* Prevent autocomplete from blocking input */
.pac-container {
    z-index: 10000 !important;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin-top: 2px;
}

.pac-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-query {
    font-weight: 600;
    color: #333;
}

/* Ensure input stays responsive during autocomplete */
#locationAddress {
    position: relative;
    z-index: 1;
}

/* Fix for autocomplete blocking input */
input.pac-target-input {
    outline: none !important;
}

input.pac-target-input:focus {
    outline: 2px solid #FF4B4B !important;
    outline-offset: 0;
}