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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background-color: #f1efe7;
    padding: 20px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    font-family: 'Fredoka', sans-serif;
    letter-spacing: -0.05em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #333;
    color: white;
}

.btn-primary:hover {
    background-color: #555;
}

.btn-secondary {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background-color: #333;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: #f1efe7;
    color: #333;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Lead Form Section */
.lead-form {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.form-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.form-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: #666;
}

/* Tally Form */
.tally-form {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom Form (Alternative) */
.custom-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #333;
}

/* Booking Section */
.booking {
    padding: 80px 0;
    background-color: white;
}

.booking-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.booking-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.booking-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: #666;
}

.cal-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cal-iframe {
    border: none;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.faq-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.faq-content p {
    font-size: 1.125rem;
    margin-bottom: 50px;
    color: #666;
}

.faq-items {
    text-align: left;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-item.active .faq-question {
    background-color: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Legal Pages Styles */
.legal-content, .contact-content {
    padding: 80px 0;
    background-color: #f8f9fa;
    min-height: 60vh;
}

.legal-wrapper, .contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-wrapper h1, .contact-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.legal-date {
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.legal-section p {
    line-height: 1.6;
    color: #666;
}

.legal-section a {
    color: #333;
    text-decoration: underline;
}

.legal-footer {
    margin-top: 40px;
    text-align: center;
}

/* Contact Page Styles */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-method h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-method p {
    color: #666;
    margin-bottom: 20px;
}

.contact-link {
    color: #333;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-info p {
    color: #666;
    line-height: 1.6;
}

.contact-footer {
    margin: 30px 0;
}

.contact-footer h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-footer ul {
    list-style: none;
    padding: 0;
}

.contact-footer li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.contact-footer li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.nav-link:hover {
    background-color: #f8f9fa;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-image {
        width: 32px;
        height: 32px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-content h2,
    .booking-content h2,
    .faq-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .lead-form,
    .booking,
    .faq {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .custom-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

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

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e1e5e9;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: #333;
}

.modal-body {
    padding: 0;
}

.modal-body .tally-form {
    border-radius: 0;
    box-shadow: none;
}

/* Form Validation Styles */
.form-group input:invalid {
    border-color: #dc3545;
}

.form-group input:valid {
    border-color: #28a745;
}