/* Global Variables & Reset */
:root {
    --color-bg: #fafaf9; /* Stone 50 */
    --color-text: #1c1917; /* Stone 900 */
    --color-primary: #0f172a; /* Slate 900 */
    --color-accent: #f59e0b; /* Amber 500 */
    --color-accent-light: #fcd34d; /* Amber 300 */
    --color-surface: #ffffff;
    --color-surface-dim: #f5f5f4; /* Stone 100 */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.5rem;
    
    --shadow-soft: 0 4px 20px -2px rgba(28, 25, 23, 0.05);
    --shadow-hover: 0 10px 40px -5px rgba(28, 25, 23, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Header */
header {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero {
    padding-top: 4rem;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    position: relative;
    white-space: nowrap;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background-color: var(--color-accent-light);
    z-index: -1;
    opacity: 0.4;
    transform: rotate(-1deg);
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #57534e; /* Stone 600 */
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-visual {
    position: relative;
}

.blob-shape {
    position: absolute;
    z-index: -1;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: linear-gradient(120deg, #fcd34d 0%, #faa935 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.2;
    animation: blob-bounce 10s infinite ease-in-out;
}

@keyframes blob-bounce {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) rotate(0deg); }
    33% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(2%, -2%) rotate(2deg); }
    66% { border-radius: 40% 60% 60% 40% / 50% 60% 30% 60%; transform: translate(-2%, 2%) rotate(-2deg); }
}

.hero-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Features - Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-surface-dim);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.bento-large {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.bento-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-text {
    color: #57534e;
}

/* About Section */
.about {
    background-color: #fffbeb; /* Amber 50 */
    border-radius: var(--radius-lg);
    margin: 4rem 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.polaroid-stack {
    position: relative;
    height: 400px;
}

.polaroid {
    background: white;
    padding: 1rem 1rem 3rem 1rem;
    box-shadow: var(--shadow-soft);
    position: absolute;
    width: 280px;
    transition: transform 0.3s ease;
}

.polaroid img {
    filter: grayscale(20%) contrast(110%);
}

.p1 { transform: rotate(-5deg); z-index: 1; left: 10%; top: 10%; }
.p2 { transform: rotate(5deg); z-index: 2; right: 10%; bottom: 10%; }

.polaroid:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

/* Footer */
footer {
    border-top: 1px solid var(--color-surface-dim);
    padding: 4rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-contact {
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large, .bento-tall {
        grid-column: auto;
        grid-row: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .polaroid-stack {
        height: 300px;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--color-primary); }
input, textarea, select { width: 100%; padding: 0.8rem 1rem; border: 2px solid var(--color-surface-dim); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; transition: all 0.2s ease; background-color: white; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1); }
textarea { resize: vertical; min-height: 120px; }
/* Contact Page Layout */
.contact-hero { background-color: var(--color-primary); color: white; padding: 4rem 0 8rem; text-align: center; }
.contact-hero h1 { color: white; margin-bottom: 1rem; }
.contact-container { max-width: 800px; margin: -4rem auto 4rem; background: white; padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); position: relative; z-index: 2; }
