/* ==========================================
   CONOR PARLE PORTFOLIO - MAIN STYLESHEET
   ========================================== */

/* CSS Variables */
:root {
    --bg: #0a0a0a;
    --bg-elevated: #141414;
    --bg-card: #1a1a1a;
    --text: #f5f5f5;
    --text-muted: #888;
    --text-dim: #555;
    --accent: #e8ff47;
    --accent-dim: #c4d93c;
    --accent-glow: rgba(232, 255, 71, 0.15);
    --border: #2a2a2a;
    --border-light: #333;
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.6s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* Grain Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width var(--transition-medium);
}

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

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    background: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition-medium);
}

/* ==========================================
   PAGE HEADERS
   ========================================== */

.page-header {
    padding: 10rem 6rem 5rem;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, var(--accent-glow) 0%, transparent 50%);
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    max-width: 800px;
}

.page-header-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.2s forwards;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
}

.page-header h1 em {
    font-style: italic;
    color: var(--accent);
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.6s forwards;
}

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

section {
    padding: 6rem;
}

.section-alt {
    background: var(--bg-elevated);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.section-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-top: 0.5rem;
}

/* ==========================================
   HERO SECTION (Homepage)
   ========================================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 6rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.6s forwards;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.hero-shape {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--accent) 0%, #9fff47 50%, #47ffa5 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 15s ease-in-out infinite;
    filter: blur(60px);
    opacity: 0.4;
}

.hero-image-frame {
    position: absolute;
    width: 320px;
    height: 400px;
    border: 2px solid var(--border);
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
}

.hero-initials {
    font-family: var(--font-display);
    font-size: 6rem;
    font-style: italic;
    color: var(--accent);
    opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: bounce 2s ease infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ==========================================
   BUTTONS & CTAs
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(232, 255, 71, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn svg {
    transition: transform var(--transition-medium);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    transition: gap var(--transition-medium);
}

.btn-link:hover {
    gap: 1rem;
}

/* ==========================================
   CARDS
   ========================================== */

.card {
    padding: 2.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================
   SERVICES GRID
   ========================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ==========================================
   PROJECTS
   ========================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-elevated) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    overflow: hidden;
    position: relative;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-content {
    padding: 2rem;
}

.project-card-meta {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1.5rem;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    padding: 0.4rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Featured Project (Large) */
.project-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.project-featured .project-card-image {
    aspect-ratio: auto;
    min-height: 400px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.project-featured .project-card-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-featured h3 {
    font-size: 2rem;
}

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

.timeline {
    position: relative;
    max-width: 900px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    padding-left: 3rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0.5rem;
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==========================================
   SKILLS
   ========================================== */

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.skills-category h3 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    padding: 0.75rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    transition: all var(--transition-medium);
}

.skill-item:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

/* Skill Bars */
.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.skill-bar-header span:first-child {
    font-weight: 500;
}

.skill-bar-header span:last-child {
    color: var(--text-muted);
}

.skill-bar-track {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1s ease;
}

.skill-bar-fill.animated {
    transform: scaleX(1);
}

/* ==========================================
   ABOUT PAGE
   ========================================== */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    padding: 4rem 6rem 6rem;
}

.about-image {
    position: relative;
}

.about-image-frame {
    aspect-ratio: 4/5;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    font-family: var(--font-display);
    font-size: 8rem;
    font-style: italic;
    color: var(--accent);
    opacity: 0.6;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-content h2 em {
    font-style: italic;
    color: var(--accent);
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-medium);
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    padding: 4rem 6rem 6rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-info h2 em {
    font-style: italic;
    color: var(--accent);
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.contact-method:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 50%;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
}

.contact-method-content {
    flex: 1;
}

.contact-method-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-medium);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    transition: all var(--transition-medium);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

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

footer {
    padding: 3rem 6rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition-medium);
}

.footer-links a:hover {
    color: var(--accent);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

@media (max-width: 1200px) {
    .services-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .project-featured .project-card-image {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        min-height: 250px;
    }
}

@media (max-width: 1024px) {
    nav {
        padding: 1.25rem 2rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 8rem 2rem 4rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        display: none;
    }

    section,
    .page-header {
        padding: 5rem 2rem;
    }
    
    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-featured {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
