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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --text-dark: #1a1a2e;
    --background: #0a0a0f;
    --card-bg: rgba(26, 26, 46, 0.6);
    --serif-font: 'Cormorant Garamond', serif;
    --sans-font: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans-font);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

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

/* Animated Background Canvas */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(233, 69, 96, 0.1);
}

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

.logo {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.hero-logo {
    display: block;
    margin: 0 auto 2rem;
    max-width: 300px;
    height: auto;
}

.hero-title {
    font-family: var(--serif-font);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--highlight-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: #ff5577;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border: 2px solid var(--highlight-color);
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-button-secondary:hover {
    background: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Sections */
section {
    padding: 6rem 0;
}

.intro {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Mission Section */
.mission {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.2) 0%, rgba(233, 69, 96, 0.1) 100%);
}

.mission-statement {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

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

.pillar {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
    transition: all 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 10px 40px rgba(233, 69, 96, 0.2);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--highlight-color);
}

.pillar h3 {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pillar p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 69, 96, 0.3);
}

.expertise-card h3 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.3) 0%, rgba(233, 69, 96, 0.2) 100%);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(233, 69, 96, 0.1);
}

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

.footer-col h4 {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-col p,
.footer-col ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--highlight-color);
}

.footer-link {
    color: var(--highlight-color) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Page Hero (for interior pages) */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--serif-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

/* About Page */
.about-intro,
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.philosophy-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
}

.philosophy-item h3 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

/* Team Section */
.team-members {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-member {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
}

.member-image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-image-placeholder svg {
    width: 120px;
    height: 120px;
    color: rgba(255, 255, 255, 0.3);
}

.member-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-family: var(--serif-font);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--highlight-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.member-bio p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Values Section */
.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.value-item h3 {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Services Page */
.services-overview {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-detail {
    padding: 4rem 0;
}

.service-detail.alt {
    background: var(--card-bg);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.service-detail.alt .service-content {
    grid-template-columns: 300px 1fr;
}

.service-text h2 {
    font-family: var(--serif-font);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-size: 1.5rem;
}

.service-features li strong {
    color: var(--text-primary);
}

.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100px;
    height: 100px;
    color: var(--text-primary);
}

.engagement-models {
    background: var(--card-bg);
}

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

.model-card {
    background: rgba(15, 52, 96, 0.3);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
}

.model-card h3 {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

.model-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    width: 40px;
    height: 40px;
    color: var(--highlight-color);
    flex-shrink: 0;
}

.contact-item h3 {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.consultation-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
    margin-top: 2rem;
}

.consultation-info h3 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.consultation-info ul {
    list-style: none;
}

.consultation-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.consultation-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
}

/* Contact Form */
.contact-form-container {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--sans-font);
    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: var(--highlight-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--highlight-color);
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.submit-button:hover {
    background: #ff5577;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.1);
}

.faq-item h3 {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(233, 69, 96, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .service-content,
    .service-detail.alt .service-content {
        grid-template-columns: 1fr;
    }

    .team-member {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pillars,
    .expertise-grid,
    .philosophy-grid,
    .models-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    section {
        padding: 3rem 0;
    }

    .member-image-placeholder {
        width: 200px;
        height: 200px;
    }
}