/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* Homepage styles */
.homepage {
    background-color: #DD402B;
    color: white;
    height: 100vh;
    overflow: hidden;
}

.homepage-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.brand-name {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #000;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
    color: #000;
}

/* Homepage footer */
.homepage-footer {
    width: 100%;
    padding: 1rem 0;
    margin-top: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.footer-link:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Legal pages styles */
.legal-page {
    background-color: white;
    color: #333;
    min-height: 100vh;
    line-height: 1.8;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.legal-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #DD402B;
    margin-bottom: 0.5rem;
}

.legal-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* Table of contents */
.toc {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.toc h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #DD402B;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: #333;
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toc a:hover {
    color: #DD402B;
    background-color: rgba(221, 64, 43, 0.1);
    padding-left: 1rem;
}

/* Legal content */
.legal-content {
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #DD402B;
    margin: 2rem 0 1rem 0;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.legal-content h2:first-child {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    font-weight: 700;
    color: #DD402B;
}

.legal-content em {
    font-style: italic;
    color: #666;
}

/* Legal page footer */
.legal-footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #eee;
}

.legal-footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-footer-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.legal-footer-link:hover {
    color: #DD402B;
    background-color: rgba(221, 64, 43, 0.1);
}

.legal-footer-link:focus {
    outline: 2px solid #DD402B;
    outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
    /* Homepage mobile adjustments */
    .homepage {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .homepage-container {
        height: auto;
        min-height: 100vh;
        padding: 1rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .brand-name {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
        margin-bottom: 0.3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .footer-nav {
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Legal pages mobile adjustments */
    .legal-container {
        padding: 1rem;
    }
    
    .legal-header {
        padding-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .toc {
        padding: 1.5rem;
    }
    
    .legal-footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .legal-title {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
}

/* Print styles */
@media print {
    .homepage-footer,
    .legal-footer,
    .skip-link {
        display: none;
    }
    
    .legal-page {
        background: white;
    }
    
    .legal-content h2 {
        page-break-after: avoid;
    }
}


/* Contact page styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info h2 {
    color: #DD402B;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: #DD402B;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #333;
}

.contact-item a {
    color: #DD402B;
    text-decoration: none;
}

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

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-family: inherit;
    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: #DD402B;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: #DD402B;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: #DD402B;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #c23621;
}

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

/* Contact page responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }
}



/* Thank you page styles */
.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.thank-you-message h2 {
    color: #DD402B;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.thank-you-message p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #c23621;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #DD402B;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

