/* Athyn Insights Website Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.2;
}

h1 {
    font-size: clamp(48px, 8vw, 120px);
    letter-spacing: 2px;
}

h2 {
    font-size: clamp(36px, 5vw, 64px);
}

h3 {
    font-size: clamp(28px, 4vw, 48px);
}

p {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.8;
    color: #4a4a4a;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 3vw 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

header.scrolled .logo {
    color: #1a1a1a;
}

nav {
    display: flex;
    gap: 2.5vw;
    align-items: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease, color 0.3s ease;
}

header.scrolled nav a {
    color: #1a1a1a;
}

nav a:hover {
    opacity: 0.7;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

header.scrolled .menu-toggle {
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    white-space: pre-wrap;
    margin-bottom: 20px;
}

/* Content Section */
.content-section {
    padding: 8vw 4vw;
    background: #f8f8f8;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h3 {
    margin-bottom: 2vw;
    color: #1a1a1a;
    white-space: pre-wrap;
}

.content-section p {
    margin-bottom: 1.5vw;
    max-width: 800px;
    white-space: pre-wrap;
}

/* Quote Section */
.quote-section {
    padding: 6vw 4vw;
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1vw;
    padding: 0 2vw;
}

.quote-attribution {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #666666;
    font-style: normal;
}

/* Services Accordion */
.services-accordion {
    margin-top: 4vw;
}

.accordion-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2vw;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5vw 3vw;
    background: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #f8f8f8;
}

.accordion-header h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    margin: 0;
    color: #1a1a1a;
    font-weight: 400;
}

.accordion-icon {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 300;
    color: #1a1a1a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 2vw;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 3vw;
}

.accordion-header[aria-expanded="true"] + .accordion-content {
    max-height: 2000px;
    padding: 0 3vw 2.5vw 3vw;
}

.accordion-content p {
    margin-bottom: 1.5vw;
    color: #4a4a4a;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
    margin-top: 4vw;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: #ffffff;
    padding: 3vw;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.team-member h3 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 1vw;
    color: #1a1a1a;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-member .role {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #666666;
    margin-bottom: 1.5vw;
    font-weight: 500;
}

.team-member p {
    text-align: left;
    margin-bottom: 1vw;
}

.team-member .quote {
    font-size: clamp(16px, 2vw, 18px);
    margin-top: 1.5vw;
    padding: 0;
    text-align: center;
}

/* Contact Section */
.contact-info-simple {
    margin-top: 4vw;
    margin-bottom: 4vw;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-simple p {
    margin-bottom: 2vw;
    line-height: 1.8;
    font-size: clamp(16px, 2vw, 18px);
}

.contact-info-simple strong {
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
}

.contact-info-simple a {
    color: #0066cc;
    text-decoration: none;
}

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

/* Form Styles */
.contact-form {
    background: #ffffff;
    padding: 4vw;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2vw;
}

.form-group label {
    display: block;
    margin-bottom: 0.5vw;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1vw;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

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

.btn {
    background: #1a1a1a;
    color: #ffffff;
    padding: 1vw 2.5vw;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #333333;
}

/* Technologies List */
.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
    margin-top: 2vw;
}

.tech-tag {
    background: #e8e8e8;
    padding: 0.5vw 1.5vw;
    border-radius: 20px;
    font-size: 14px;
    color: #4a4a4a;
}

/* Footer */
footer {
    padding: 4vw;
    text-align: center;
    background: #1a1a1a;
    color: #ffffff;
    margin-top: 8vw;
}

footer p {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 0.5vw;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

footer a:hover {
    color: #cccccc;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2vw 2.5vw;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: clamp(16px, 1.8vw, 18px);
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
    margin: 2vw 1vw 2vw 0;
    text-align: center;
}

.cta-button:hover {
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.cta-button.secondary {
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.cta-button.secondary:hover {
    background: #1a1a1a;
    color: #ffffff;
}

.cta-section {
    text-align: center;
    margin: 4vw 0;
    padding: 3vw;
    background: #f9f9f9;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .cta-button {
        display: block;
        width: 100%;
        margin: 1.5vw 0;
        padding: 4vw 6vw;
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2vw;
        gap: 2vw;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    nav a {
        color: #1a1a1a;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 48px;
    }

    .content-section {
        padding: 10vw 6vw;
    }

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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
