/* ========================================
   ANALOG HELL - Photography Portfolio Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

h1, h2, h3 {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    line-height: 1.2;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 2px solid #000;
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.header__logo {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 24px;
    letter-spacing: 2px;
    color: #000;
}

.header__logo:hover {
    text-decoration: none;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    transition: opacity 0.2s;
}

.nav__link:hover {
    text-decoration: none;
    opacity: 0.6;
}

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

.menu-toggle__line {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    transition: 0.3s;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    padding: 120px 0;
    border-bottom: 2px solid #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero__inner {
    text-align: center;
    max-width: 800px;
}

.hero__title {
    font-size: clamp(36px, 6vw, 72px);
    margin-bottom: 24px;
    color: #fff;
}

.hero__subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.hero__cta {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid #000;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
}

.hero__cta:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

/* ========================================
   About
   ======================================== */
.about {
    padding: 80px 0;
    border-bottom: 2px solid #000;
}

.about__inner {
    max-width: 700px;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.about__content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about__youtube {
    display: inline-block;
    margin-top: 16px;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

.about__youtube:hover {
    text-decoration: none;
    opacity: 0.6;
}

/* ========================================
   Blog
   ======================================== */
.blog {
    padding: 80px 0;
}

.blog__inner h2 {
    font-size: 36px;
    margin-bottom: 48px;
    text-align: center;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

/* Blog Item */
.post {
    display: flex;
    flex-direction: column;
}

.post__image {
    margin-bottom: 20px;
    border: 2px solid #000;
    aspect-ratio: 4 / 3;
}

.post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Square format */
.post--square .post__image {
    aspect-ratio: 1 / 1;
}

/* High/portrait format */
.post--portrait .post__image {
    aspect-ratio: 3 / 4;
}

.post__caption {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.post__title {
    font-size: 24px;
    margin-bottom: 12px;
}

.post__excerpt {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.post__link {
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

.post__link:hover {
    text-decoration: none;
    opacity: 0.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    border-top: 2px solid #000;
    padding: 48px 0 24px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.footer__logo {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 2px;
}

.footer__tagline {
    font-size: 14px;
    margin-top: 4px;
}

.footer__social {
    display: flex;
    gap: 24px;
}

.footer__social-link {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__social-link:hover {
    text-decoration: none;
    opacity: 0.6;
}

.footer__bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 2px solid #000;
}

.footer__bottom p {
    font-size: 13px;
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 900px) {
    .blog__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .header__inner {
        padding: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: -16px;
        margin-right: -16px;
        background: #fff;
        border-bottom: 2px solid #000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.is-open {
        max-height: 300px;
    }

    .nav__list {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .nav__link {
        font-size: 16px;
    }

    .hero {
        padding: 80px 0;
        background-attachment: scroll;
        min-height: 60vh;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .about {
        padding: 60px 0;
    }

    .blog {
        padding: 60px 0;
    }

    .blog__inner h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .post__title {
        font-size: 20px;
    }

    .footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
