/* Reset and base styles */
* {
    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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
header {
    background-color: transparent;
    color: white;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

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

header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0;
    color: white;
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover span {
    background-color: #f0f0f0;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: flex;
    opacity: 1;
}

.menu-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 320px;
    height: 100%;
    margin-left: auto;
    padding: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 0 15px;
}

.menu-overlay.active .menu-content {
    transform: translateX(0);
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    margin: 1.5rem 1.5rem 0 auto;
    padding: 0.5rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.menu-nav {
    padding: 1rem 0;
}

.menu-nav ul {
    list-style: none;
}

.menu-nav li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-nav li:last-child {
    border-bottom: none;
}

.menu-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-nav a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-4px);
    transition: transform 0.3s ease;
}

.menu-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.menu-nav a:hover:before {
    transform: translateX(0);
}

/* Special styling for Home link */
.menu-nav a[href="#home"] {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.menu-nav a[href="#home"]:before {
    background: #ffd700;
}

/* Add icons to menu items */
.menu-nav a:after {
    content: '→';
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.menu-nav a:hover:after {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-background {
    position: relative;
    width: 100%;
    background: url('attached_assets/stock_images/happy_seniors_outdoo_1cdd5fca.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background overlay for readability */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

/* Form Card */
.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    margin: 0 auto;
}

#opt-in-form {
    margin: 0;
}

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

/* Remove labels, use placeholder styling */
label {
    display: none;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
    color: #6c757d;
    font-weight: 400;
}

/* Checkbox styling */
.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400;
    line-height: 1.4;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #667eea;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Submit button */
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

/* Privacy link */
.privacy-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.privacy-link a {
    color: #667eea;
    text-decoration: none;
}

.privacy-link a:hover {
    text-decoration: underline;
}

/* Section styles for menu content */
.section {
    padding: 4rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 8px;
    display: none;
}

.section.active {
    display: block;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Thanks section */
#thanks {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.thank-you-content {
    max-width: 100%;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

#thanks h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 500;
}

.next-steps {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.next-steps li:last-child {
    border-bottom: none;
}

.contact-info {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.contact-info p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

.contact-info strong {
    color: #667eea;
    font-weight: 600;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .form-card {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .menu-content {
        width: 280px;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .form-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .menu-content {
        width: 100%;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
}