/* ============================================
   Thanmayee Nootakki - Portfolio Styles
   Pure CSS, no frameworks
   ============================================ */

/* CSS Custom Properties */
:root {
    --color-bg: #fafafa;
    --color-text: #333;
    --color-text-light: #666;
    --color-accent: #888;
    --color-border: #eee;
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --gap: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

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

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

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

.hero-image {
    width: 280px;
    height: 350px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.hero h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero .tagline {
    font-size: 1rem;
    color: var(--color-text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero .bio {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.hero .contact {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.hero .contact .separator {
    margin: 0 0.75rem;
    color: var(--color-border);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
    width: 1px;
    height: 30px;
    background-color: var(--color-accent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   Gallery Section - Masonry Layout
   ============================================ */
.gallery {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    column-count: 4;
    column-gap: var(--gap);
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--gap);
    overflow: hidden;
    border-radius: 4px;
    background-color: #e0e0e0;
}

.gallery-item img {
    width: 100%;
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

/* ============================================
   Footer
   ============================================ */
footer {
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    border-top: 1px solid var(--color-border);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 3;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-image {
        width: 220px;
        height: 280px;
    }

    .gallery-grid {
        column-count: 2;
    }

    .gallery {
        padding: 3rem 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }

    .hero .tagline {
        font-size: 0.85rem;
    }

    .hero-image {
        width: 180px;
        height: 230px;
    }

    .hero .contact {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero .contact .separator {
        display: none;
    }

    .gallery {
        padding: 2rem 1rem;
    }

    .gallery-grid {
        column-count: 2;
        column-gap: 0.75rem;
    }

    .gallery-item {
        margin-bottom: 0.75rem;
    }
}
