/* ============================================
   SURROGACY.IE - CSS STYLESHEET
   Professional, warm color scheme with soft purple/lavender
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #7c3aed;
    --secondary-color: #3b82f6;
    --accent-color: #ec4899;
    --navy: #1e293b;
    --white: #ffffff;
    --light-gray: #f8f8f9;
    --medium-gray: #e2e8f0;
    --dark-gray: #64748b;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background-color: var(--white);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--navy);
}

h5 {
    font-size: 1.1rem;
    color: var(--navy);
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--navy);
    transition: color 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.cta-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.nav-link.cta-nav:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--navy);
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f3e8ff 0%, #f0f9ff 100%);
    padding: 6rem 2rem;
    text-align: center;
}

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

.hero h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 4rem 2rem;
}

.section-alt {
    background-color: var(--light-gray);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    max-width: 800px;
}

/* ============================================
   LAW CARDS GRID
   ============================================ */

.law-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.law-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.law-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.law-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.law-card h4 {
    margin-bottom: 1rem;
}

.law-card p {
    margin-bottom: 0;
}

/* ============================================
   TYPES OF SURROGACY
   ============================================ */

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.type-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.type-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.type-card ul {
    list-style: none;
    margin-left: 0;
}

.type-card li {
    padding-left: 1.5rem;
    position: relative;
}

.type-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.additional-types {
    background-color: #faf5ff;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 4rem;
    width: 2px;
    height: 3rem;
    background-color: var(--primary-light);
}

.step-number {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--dark-gray);
}

/* ============================================
   RIGHTS GRID
   ============================================ */

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rights-card {
    background-color: #f3e8ff;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.rights-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.rights-card ul {
    list-style: none;
    margin-left: 0;
}

.rights-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.rights-card li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.rights-highlight {
    background-color: #faf5ff;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    margin-top: 2rem;
}

.rights-highlight h4 {
    color: var(--primary-dark);
}

/* ============================================
   COSTS TABLE
   ============================================ */

.costs-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.costs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.costs-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.costs-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.costs-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.costs-table tbody tr:hover {
    background-color: var(--light-gray);
}

.costs-total {
    background-color: #f3e8ff;
    font-weight: 700;
}

.costs-notes {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.costs-notes h4 {
    color: var(--primary-dark);
}

.costs-notes ul {
    list-style: none;
    margin-left: 0;
}

.costs-notes li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.costs-notes li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-container {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: var(--light-gray);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--navy);
    transition: background-color 0.3s ease;
}

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

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

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

.faq-answer {
    padding: 1.5rem;
    background-color: var(--white);
    display: none;
    animation: slideDown 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.faq-answer p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 1rem;
}

/* ============================================
   RESOURCES
   ============================================ */

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
}

.resource-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.resource-card ul {
    list-style: none;
    margin-left: 0;
}

.resource-card li {
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.resource-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.resource-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary-light);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 2rem;
}

.disclaimer {
    background-color: rgba(139, 92, 246, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.disclaimer p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-meta {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .law-grid,
    .types-grid,
    .rights-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        padding-left: 0;
    }

    .process-step {
        margin-bottom: 2rem;
    }

    .process-step:not(:last-child):after {
        left: 1.25rem;
    }

    .step-number {
        width: 4rem;
        height: 4rem;
        font-size: 1.25rem;
    }

    .costs-table {
        font-size: 0.9rem;
    }

    .costs-table th,
    .costs-table td {
        padding: 0.75rem 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}
