/* ───────────────────────────────────────────
   Sergiu Munteanu Photography — Style Sheet
   ─────────────────────────────────────────── */

/* Color Scheme */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --text-white: #f5f5f5;
    --text-gray: #999999;
    --text-muted: #666666;
    --accent: #c9a96e;          /* warm gold */
    --accent-hover: #dfc088;
    --border-subtle: #2a2a2a;
    --transition: 0.35s ease;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ───────────────────────────── */
.navbar {
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-white);
}

.nav-menu {
    display: flex;
    gap: 2.2rem;
}

.nav-menu a {
    color: var(--text-gray);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition);
}

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/1.jpeg');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.4);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.7) 100%
    );
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ── Buttons ──────────────────────────────── */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ── Section Styles ───────────────────────── */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-white);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: var(--accent);
    margin: 1rem auto 3rem;
}

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

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text-white);
}

/* ── Services Section ─────────────────────── */
.services {
    background-color: var(--bg-primary);
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.service-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ── Portfolio / Gallery Section ──────────── */
.portfolio {
    background-color: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.15);
    opacity: 1;
    transition: opacity var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 0;
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition), filter var(--transition);
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

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

.contact-intro {
    text-align: center;
    color: var(--text-gray);
    max-width: 500px;
    margin: -1rem auto 3rem;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn-primary {
    align-self: flex-start;
}

/* ── Footer ───────────────────────────────── */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-brand {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-white);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-gray);
    transition: color var(--transition), border-color var(--transition);
}

.footer-socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Lightbox ──────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.lightbox-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
}

/* ── Responsive Design ────────────────────── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
    }

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

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 0.75rem;
    }

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

    .gallery-item img {
        height: 260px;
    }

    .form-group {
        flex-direction: column;
    }

    .contact-form .btn-primary {
        align-self: stretch;
        text-align: center;
    }

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

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

    .nav-brand {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 0.7rem;
    }
}
