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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 180, 160, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    font-size: 24px;
    font-weight: 600;
    color: #8b0000;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8b0000;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 64px;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b6b6b;
    margin-bottom: 32px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf9f7, #f5f5f5);
}

.services h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: #6b6b6b;
    max-width: 800px;
    margin: 0 auto 64px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin: 64px 0;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 24px 24px 16px;
}

.service-card p {
    color: #6b6b6b;
    margin: 0 24px 24px;
    line-height: 1.6;
}

.services-conclusion {
    text-align: center;
    font-size: 18px;
    color: #6b6b6b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 64px;
    letter-spacing: -0.5px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial {
    background: #faf9f7;
    border-radius: 16px;
    padding: 32px;
    border-left: 4px solid #e8b4a0;
}

.testimonial-content p {
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 24px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author strong {
    color: #2c2c2c;
    font-weight: 600;
}

.testimonial-author span {
    color: #8b8b8b;
    font-size: 14px;
    margin-left: 8px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf9f7, #f5f5f5);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 40px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.contact-info p {
    font-size: 18px;
    color: #6b6b6b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item strong {
    color: #2c2c2c;
    font-weight: 600;
}

.contact-item a {
    color: #8b0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #a52a2a;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 32px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a4a4a;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

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

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

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

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e8b4a0;
}

.footer-brand p {
    color: #b8b8b8;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e8b4a0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e8b4a0;
}

.footer-bottom {
    border-top: 1px solid #4a4a4a;
    padding-top: 32px;
    text-align: center;
    color: #8b8b8b;
}

/* Legal Sections */
.legal-section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.legal-section.active {
    display: block;
}

.legal-section .container {
    background: white;
    margin: 40px auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 800px;
    position: relative;
}

.legal-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 32px;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 32px 0 16px;
}

.legal-section p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content h2 {
        font-size: 48px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .hero {
        padding: 100px 16px 64px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .services h2,
    .testimonials h2 {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .legal-section .container {
        margin: 20px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .services h2,
    .testimonials h2 {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .submit-button {
        font-size: 16px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #8b0000;
    outline-offset: 2px;
}