/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 105, 75, 0.1);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8b694b;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8b694b;
}

/* Page layout for subpages */
.page-content {
    margin-top: 80px;
}

/* Hero sections for subpages */
.hero-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254, 254, 254, 0.8) 0%, rgba(251, 247, 240, 0.6) 50%, rgba(139, 105, 75, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #5a5a5a;
    font-weight: 300;
}

/* Content layout */
.info-section {
    padding: 80px 0;
    background-color: #fefefe;
}

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

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.main-content {
    line-height: 1.7;
}

.main-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 24px;
    line-height: 1.2;
}

.main-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 32px 0 16px;
}

.main-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 24px 0 12px;
}

.main-content p {
    color: #5a5a5a;
    margin-bottom: 16px;
}

.benefits-list {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
}

.benefits-list li {
    color: #5a5a5a;
    padding: 8px 0 8px 24px;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b694b;
    font-weight: bold;
}

.main-content ul:not(.benefits-list) {
    color: #5a5a5a;
    margin-bottom: 16px;
    padding-left: 20px;
}

.main-content ol {
    color: #5a5a5a;
    margin-bottom: 16px;
    padding-left: 20px;
}

/* Sidebar components */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.booking-card,
.price-card,
.info-card,
.medical-card,
.testimonial-card,
.postpartum-card,
.support-card,
.weather-info,
.benefits-card,
.tech-support,
.early-bird {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px -5px rgba(139, 105, 75, 0.15);
    border: 1px solid rgba(139, 105, 75, 0.1);
}

.booking-card h3,
.price-card h4,
.info-card h4,
.medical-card h4,
.testimonial-card h4,
.postpartum-card h4,
.support-card h4,
.weather-info h4,
.benefits-card h4,
.tech-support h4,
.early-bird h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.booking-card p,
.price-card p,
.info-card p,
.medical-card p,
.testimonial-card p,
.postpartum-card p,
.support-card p,
.weather-info p,
.benefits-card p,
.tech-support p,
.early-bird p {
    color: #5a5a5a;
    margin-bottom: 16px;
    line-height: 1.6;
}

.cta-button {
    background-color: #8b694b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background-color: #9d7a5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(139, 105, 75, 0.3);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 105, 75, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item span {
    color: #5a5a5a;
    font-size: 0.9rem;
}

.price-item strong {
    color: #8b694b;
    font-weight: 600;
    font-size: 1.1rem;
}

.price-item.special strong {
    font-size: 1.25rem;
    color: #2c2c2c;
}

.price-note {
    font-size: 0.8rem;
    color: #8b694b;
    margin-top: 12px;
}

.info-card ul,
.medical-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li,
.medical-card li {
    color: #5a5a5a;
    padding: 4px 0 4px 16px;
    position: relative;
    font-size: 0.9rem;
}

.info-card li::before,
.medical-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b694b;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #5a5a5a;
    margin: 0 0 16px 0;
    padding: 0;
    border: none;
    line-height: 1.6;
}

.testimonial-card cite {
    color: #8b694b;
    font-style: normal;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Special sections for subpages */
.schedule-info {
    background-color: rgba(139, 105, 75, 0.05);
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.schedule-info h3 {
    color: #8b694b;
    margin-bottom: 16px;
}

.schedule-info p {
    margin-bottom: 8px;
}

.trimester,
.workshop-day,
.phase,
.type-card {
    background-color: rgba(139, 105, 75, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.trimester h4,
.workshop-day h4,
.phase h4,
.type-card h4 {
    color: #8b694b;
    margin-bottom: 12px;
}

.training-structure,
.online-types {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

/* Contact page specific styles */
.contact-section {
    padding: 80px 0;
    background-color: #fefefe;
}

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

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.contact-info .title {
    color: #8b694b;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item h3 {
    color: #2c2c2c;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: #5a5a5a;
    margin-bottom: 4px;
}

.contact-item small {
    color: #8b694b;
    font-size: 0.9rem;
}

.social-media {
    margin-top: 32px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    color: #8b694b;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #8b694b;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #8b694b;
    color: #ffffff;
}

/* Contact form */
.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 24px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c2c2c;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(139, 105, 75, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b694b;
    box-shadow: 0 0 0 2px rgba(139, 105, 75, 0.1);
}

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

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

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.submit-button {
    background-color: #8b694b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.submit-button:hover {
    background-color: #9d7a5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(139, 105, 75, 0.3);
}

/* FAQ section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fefefe 0%, #fbf7f0 100%);
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 48px;
}

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

.faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px -5px rgba(139, 105, 75, 0.15);
    border: 1px solid rgba(139, 105, 75, 0.1);
}

.faq-item h3 {
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-item p {
    color: #5a5a5a;
    line-height: 1.6;
    margin: 0;
}

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

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

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

/* Hero Section for main page */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254, 254, 254, 0.8) 0%, rgba(251, 247, 240, 0.6) 50%, rgba(139, 105, 75, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #2c2c2c;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    display: block;
    color: #8b694b;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: #5a5a5a;
    font-weight: 300;
    max-width: 768px;
    margin: 0 auto 48px;
    line-height: 1.4;
}

.instructor-info {
    margin-bottom: 48px;
}

.instructor-name {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #2c2c2c;
    font-weight: 300;
    margin-bottom: 16px;
}

.instructor-title {
    font-size: 1.125rem;
    color: #5a5a5a;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary {
    background-color: #8b694b;
    color: #fefefe;
    box-shadow: 0 10px 25px -5px rgba(139, 105, 75, 0.3);
}

.btn-primary:hover {
    background-color: #9d7a5d;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(139, 105, 75, 0.4);
}

.btn-outline {
    border: 2px solid #8b694b;
    color: #8b694b;
    background-color: transparent;
    box-shadow: 0 4px 15px -3px rgba(139, 105, 75, 0.2);
}

.btn-outline:hover {
    background-color: #8b694b;
    color: #fefefe;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 105, 75, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    stroke-width: 2;
}

.full-width {
    width: 100%;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1024px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 105, 75, 0.2);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px -3px rgba(139, 105, 75, 0.1);
    text-align: center;
}

.info-icon {
    width: 32px;
    height: 32px;
    color: #8b694b;
    margin: 0 auto 12px;
    stroke-width: 2;
}

.info-card h3 {
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.875rem;
    color: #5a5a5a;
}

/* About Section */
.about {
    padding: 96px 0;
    background-color: #fefefe;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 32px;
    line-height: 1.2;
}

.section-title.center {
    text-align: center;
}

.highlight {
    color: #8b694b;
    font-weight: 500;
}

.about-text {
    margin-bottom: 32px;
}

.about-text p {
    color: #5a5a5a;
    margin-bottom: 16px;
    line-height: 1.7;
}

.benefits h3 {
    color: #2c2c2c;
    font-weight: 500;
    margin-bottom: 16px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    color: #5a5a5a;
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b694b;
    font-weight: bold;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(139, 105, 75, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    padding: 96px 0;
    background: linear-gradient(180deg, #fefefe 0%, #fbf7f0 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px -5px rgba(139, 105, 75, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 105, 75, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(139, 105, 75, 0.25);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: #8b694b;
    margin-bottom: 24px;
    stroke-width: 1.5;
}

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

.service-card p {
    color: #5a5a5a;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #5a5a5a;
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b694b;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(139, 105, 75, 0.2);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-contact h3,
.footer-links h3,
.footer-cta h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 24px;
}

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

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

.contact-icon {
    width: 20px;
    height: 20px;
    color: #8b694b;
    stroke-width: 2;
}

.contact-item span {
    color: #5a5a5a;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #5a5a5a;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a:hover {
    color: #8b694b;
}

.footer-cta p {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 105, 75, 0.2);
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-size: 0.875rem;
    color: #5a5a5a;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    font-size: 0.875rem;
    color: #5a5a5a;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-links a:hover {
    color: #8b694b;
}

/* Footer for subpages */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    color: #2c2c2c;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-section h4 {
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-section p {
    color: #5a5a5a;
    margin-bottom: 8px;
}

.footer-section a {
    color: #5a5a5a;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8b694b;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 16px;
        font-size: 0.9rem;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }

    .service-card {
        padding: 24px;
    }

    .about {
        padding: 64px 0;
    }

    .services {
        padding: 64px 0;
    }

    .page-content {
        margin-top: 70px;
    }

    .hero-section {
        height: 300px;
    }

    .info-section,
    .contact-section,
    .faq-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 8px;
        font-size: 0.8rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }
}