/*---THROUGH THE LENS - Photography Portfolio Custom Stylesheet---*/

/* --- CSS Variables --- */
:root {
    --cream: #f5f0e8;
    --warm-white: #faf8f4;
    --ink: #1a1612;
    --brown: #5c3d2e;
    --gold: #c9a84c;
    --muted: #8a7c6e;

    --ff-display: 'Playfair Display', Georgia, serif;
    --ff-body: 'DM Sans', Helvetica, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background-color: var(--warm-white);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

em {
    font-style: italic;
    color: var(--brown);
}

strong {
    font-weight: 700;
}

/* --- Reuseable Labels & Titles --- */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--ff-display);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--cream);
    border-bottom: 1px solid rgba(92, 61, 46, 0.15);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-symbol {
    font-size: 1.4rem;
    color: var(--gold);
}
.logo-text {
    font-size: 1rem;
    font-family: var(--ff-display);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Pseudoclass - hover */
.nav-links a:hover {
    color: var(--brown);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:  url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem 4rem 8vw;
}

.hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.hero-title {
    font-family: var(--ff-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(245, 240, 232, 0.78);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.cta-btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background-color: var(--gold);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
}

/* ---Pseudoclass - hover */
.cta-btn:hover {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(245, 240, 232, 0.5);
}

/* --- INTRO SECTION --- */
.intro-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
}

.intro-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start
}

.intro-left {
    min-width: 250px;
}

.intro-heading {
    font-family: var(--ff-display);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
}

.intro-body p {
    margin-bottom: 1.2rem;
    color: #3d3028;
    font-size: 1rem;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    background-color: var(--ink);
    color: var(--cream);
    padding: 6rem 2rem;
}

.gallery-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
    padding-bottom: 1.5rem;
}

.gallery-header .section-title {
    color: var(--cream);
    margin-bottom: 0;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

/* --- Photo Card --- */
.photo-card {
    border-radius: 6px;
    overflow: hidden;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* --- Pseudoclass - hover --- */
.photo-card:hover img {
    opacity:0.85;
}

.photo-info {
    padding: 1rem;
}

.photo-cat {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.photo-title {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream);
}

/* --- INTRO SECTION --- */
.intro-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
}

.intro-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start
}

.intro-left {
    min-width: 280px;
}

.intro-heading {
    font-family: var(--ff-display);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
}

.intro-body p {
    margin-bottom: 1.2rem;
    color: #3d3028;
    font-size: 1rem;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    background-color: var(--ink);
    color: var(--cream);
    padding: 6rem 2rem;
}

.gallery-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
    padding-bottom: 1.5rem;
}

.gallery-header .section-title {
    color: var(--cream);
    margin-bottom: 0;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

/* --- Photo Card --- */
.photo-card {
    border-radius: 6px;
    overflow: hidden;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}       

/* --- Pseudoclass - hover --- */
.photo-card:hover img {
    opacity:0.85;
}   

.photo-info {
    padding: 1rem;
}   

.photo-cat {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.photo-title {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream);
}   

/* --- Favourite List Section --- */
.fav-list-wrap {
    max-width: 1100px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
}

.fav-list-wrap h3 {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.fav-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 3rem;
}
.fav-list li {
    font-size: 0.92rem;
    color: rgba(245, 240, 232, 0.75);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(245, 240, 232, 0.07);
}

.fav-list li strong {
    color: var(--cream);
}

/* ---Bio Section--- */
.bio-section {
    background-color: var(--cream);
    padding: 7rem 2rem;
}

.bio-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.bio-text p {
    margin-bottom: 1.1rem;
    color: #3d3028;
    font-size: 1rem;
}

.bio-facts li {
    font-size: 0.9rem;
    color: var(--brown);
    padding: 0.5rem 0.9rem;
    background-color: rgba(201, 168, 76, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
}

.bio-photo-wrap {
    position: relative;
}

.bio-photo {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    box-shadow: 12px 20px 60px rgba(26, 22, 18, 0.2);
}

.bio-photo-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background-color: var(--gold);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: var(--warm-white);
    padding: 7rem 2rem;
}

.contact-inner {
    max-width: 720px;
    margin: 0 auto;
}

.contact-sub {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1.2rem;
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-overflow: uppercase;
    color: var(--brown);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(92, 61, 46, 0.22);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--ff-body);
    color: var(--ink);
    background-color: var(--cream);
    outline: none;
}

/* --- Pseudoclass - focus --- */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

/* --- Pseudoclass - placeholder --- */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    overflow: auto;
}

.submit-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 0.85rem 2.2rem;
    background-color: var(--gold);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--ink);
    cursor: pointer;
    font-family: var(--ff-body);
}

/* --- Pseudoclass - hover --- */
.submit-btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--ink);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.1rem;
    color: var(--gold);
    font-family: var(--ff-display);
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.3rem;
}
