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

:root {
    --primary-color: #0066cc;
    --secondary-color: #333333;
    --text-primary: #000000;
    --text-secondary: #555555;
    --bg-primary: #fafafa;
    --bg-secondary: #fafafa;
    --bg-dark: #000000;
    --border-color: #e0e0e0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

section {
    padding: 30px 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 250, 250, 0.98);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 40px;
}

.nav-brand {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding-top: 100px;
    padding-bottom: 40px;
    border-bottom: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-text {
    flex: 1;
}

.hero-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
}

/* Buttons */
.btn {
    padding: 0;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: underline;
    transition: all 0.2s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    background: none;
}

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

.btn-primary:hover {
    color: var(--text-primary);
}

.btn-secondary {
    color: var(--primary-color);
}

.btn-secondary:hover {
    color: var(--text-primary);
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.about-text {
    flex: 1;
    width: 100%;
}

.photography-content {
    max-width: 1200px;
    margin: 0 auto;
}

.photography-content .about-text {
    width: 100%;
    max-width: none;
}

.photography-content h3 {
    text-align: center;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.about-text h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.skill-card {
    background-color: var(--bg-primary);
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.skill-card:hover {
    border-color: var(--text-secondary);
}

.skill-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Projects Section */
.projects {
    background-color: var(--bg-primary);
}

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

.project-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.project-card:hover {
    border-color: var(--text-secondary);
}

.project-image {
    width: 100%;
    height: 200px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.project-placeholder {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Photography Thumbnails */
.photo-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-content {
    padding: 1rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.project-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.project-content p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--bg-secondary);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    background-color: var(--bg-primary);
}

.contact-content {
    max-width: 650px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-form {
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 400;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: Georgia, serif;
    background-color: #ffffff;
}

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

.contact-form .btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 8px 16px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    font-family: Georgia, serif;
}

.contact-form .btn-primary:hover {
    background-color: var(--text-secondary);
}

.contact-links {
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-link:hover {
    color: var(--text-primary);
}

.contact-links .contact-link:not(:last-child)::after {
    content: " / ";
    color: var(--text-primary);
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.back-to-top {
    display: block;
    color: var(--primary-color);
    text-decoration: underline;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.back-to-top:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(250, 250, 250, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-photo {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

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