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

:root {
    --bg-light: #f7f7f5;
    --text-dark: #1a1816;
    --text-medium: #4a4745;
    --accent-green: #00e5b8;
    --accent-pink: #ffab99;
    --accent-peach: #ffb8a8;
    --white: #ffffff;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 17px;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-light) 60%, var(--white) 100%);
}

.gradient-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center, var(--accent-pink) 0%, var(--accent-peach) 25%, var(--accent-green) 55%, transparent 85%);
    opacity: 0.35;
    filter: blur(70px);
    top: -20%;
    left: 0;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-info {
    position: relative;
    z-index: 2;
}

.name {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
}

.tagline {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-medium);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    text-align: left;
}

/* About Section */
.about {
    background-color: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-image {
    margin-top: 52px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-intro {
    font-size: 18px;
    font-weight: 400;
}

.about-details strong {
    font-weight: 500;
    color: var(--text-dark);
}

.headshot-placeholder {
    width: 70%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-peach) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 14px;
    opacity: 0.6;
}

/* Industry Section */
.industry {
    position: relative;
}

.industry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.industry .container {
    position: relative;
    z-index: 2;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.industry-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid rgba(26, 24, 22, 0.08);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.industry-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.industry-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Portfolio Section */
.portfolio {
    background: var(--white);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.portfolio .container {
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-6px);
}

.portfolio-item:hover .portfolio-preview {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.portfolio-preview {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    border: 1px solid rgba(26, 24, 22, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 181, 167, 0.2) 0%, rgba(0, 168, 150, 0.2) 100%);
    color: var(--text-medium);
    font-size: 14px;
}

.portfolio-item h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.portfolio-item p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    text-align: left;
    padding: 80px 0 240px 0;
    background: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.01) 2px, rgba(0,0,0,0.01) 4px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-message {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 100%;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Liquid Glass Buttons */
.glass-button {
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* PDF Modal */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 24, 22, 0.95);
    backdrop-filter: blur(10px);
}

.pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 4px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    font-weight: 300;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: var(--text-medium);
}

.pdf-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 4px;
}

.pdf-controls button {
    padding: 10px 20px;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pdf-controls button:hover {
    background: var(--text-medium);
}

.pdf-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#pageInfo {
    font-size: 14px;
    color: var(--text-dark);
}

#pdfCanvas {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .industry-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

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

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .glass-button {
        width: 100%;
        max-width: 300px;
    }
}
