/*
Theme Name: jgaffphoto
Theme URI: https://jgaffphoto.com
Description: Custom WordPress theme for jgaffphoto Visual Anthropology photography portfolio
Author: jgaffphoto
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jgaffphoto
*/

/*
============================================
IMAGE GUIDELINES FOR THIS WEBSITE
============================================

HERO IMAGE (Home Page):
- Aspect Ratio: 16:9 (landscape)
- Recommended Size: 1200px × 675px (or 1600px × 900px for high-res displays)
- File Format: JPEG
- File Size: Keep under 300KB for fast loading

PROJECT IMAGES (Grid):
- Aspect Ratio: 1:1 (square)
- Recommended Size: 800px × 800px (or 1000px × 1000px)
- File Format: JPEG
- File Size: Keep under 200KB each

GENERAL GUIDELINES:
- Resolution: 72 PPI is sufficient for web display
- Use image compression tools (TinyJPG, ImageOptim, or Photoshop's "Save for Web")
- Aim for quality 80-85% for JPEG
- Total page weight should ideally be under 2-3MB
- File Formats: JPEG for photos, PNG for transparency, WebP for modern browsers

============================================
*/

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

body {
    font-family: 'Courier New', Courier, monospace;
    background: white;
    color: #111827;
}

.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: 1152px;
    margin: 0 auto;
}

h1 {
    font-size: 1.875rem;
    font-weight: bold;
    cursor: pointer;
}

h1 a {
    color: #111827;
    text-decoration: none;
}

.subtitle {
    font-size: 0.875rem;
    color: #111827;
    margin-top: 0.25rem;
}

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

nav a,
nav button {
    padding: 0.5rem 1rem;
    border: none;
    background: white;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    border-right: 1px solid #e5e7eb;
    transition: background 0.2s;
    color: #111827;
    text-decoration: none;
    display: inline-block;
}

nav a:hover,
nav button:hover {
    background: #f3f4f6;
}

nav a:last-child,
nav button:last-child {
    border-right: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    border: 2px solid #111827;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    border-right: none;
    display: block;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-btn::after {
    content: " ▼";
    font-size: 0.7rem;
}

/* Main Content */
main {
    min-height: 60vh;
}

/* Home Section */
.hero-section {
    background: white;
    padding: 3rem 1.5rem;
}

.hero-image {
    border: 2px solid #111827;
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #d1d5db, #9ca3af, #6b7280);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-image span {
    color: white;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    font-weight: bold;
}

.hero-text {
    text-align: center;
    padding: 2rem 0;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    color: #111827;
    font-size: 1.265rem;
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 auto;
}

.hero-tagline span {
    letter-spacing: 0.10em;
}

/* Projects Section */
.projects-section {
    background: #f9fafb;
    padding: 4rem 1.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #111827;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border: 2px solid #111827;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.project-image {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.project-image:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.project-title {
    padding: 1rem;
    border-top: 2px solid #111827;
}

.project-title h3 {
    font-size: 1.125rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* About/Content Section */
.content-section {
    background: white;
    padding: 4rem 1.5rem;
}

.content-area {
    max-width: 56rem;
    margin: 0 auto;
}

.content-area p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-area p:first-of-type {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
}

/* Contact Section */
.contact-section {
    background: #f9fafb;
    padding: 4rem 1.5rem;
}

.contact-content {
    max-width: 48rem;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border: 2px solid #111827;
    padding: 2rem;
    margin-top: 2rem;
}

.contact-form p {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    color: #111827;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #111827;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

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

.form-group textarea {
    resize: none;
}

.submit-btn {
    padding: 0.75rem 2rem;
    background: #111827;
    color: white;
    border: 2px solid #111827;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #374151;
}

/* Footer */
footer {
    background: #111827;
    color: white;
    border-top: 4px solid #374151;
    padding: 1.5rem;
}

.footer-content {
    max-width: 1152px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.footer-nav a {
    background: none;
    border: none;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #d1d5db;
}

.copyright {
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

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

/* WordPress specific */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}