:root {
    --bg-dark: #0f0f11;
    --bg-card: #18181b;
    --bg-light: #ffffff;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent: #d92626; /* Redphoto signature red */
    --accent-hover: #b91c1c;
    --border: #27272a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 17, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 14px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 44px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent);
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background: var(--accent-hover);
    color: #fff !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: url('assets/marriage.png') center/cover no-repeat;
    margin-top: 72px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,15,17,0.92) 0%, rgba(15,15,17,0.65) 60%, rgba(15,15,17,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.subtitle {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-card);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0.95;
}

.category-tag {
    background: rgba(15, 15, 17, 0.85);
    color: #ff4d4d;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 4px;
}

.item-overlay h3 {
    font-size: 1.35rem;
    margin: 4px 0 12px;
}

.view-btn {
    align-self: flex-start;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Services */
.services-section {
    background: var(--bg-card);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-dark);
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.service-number {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About */
.about-section {
    border-bottom: 1px solid var(--border);
}

.accent-label {
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.about-text h2 {
    font-size: 2.2rem;
    margin: 8px 0 4px;
}

.role {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.studio-info {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
}

.studio-info a {
    color: var(--text-main);
    text-decoration: none;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-list {
    list-style: none;
    margin: 24px 0;
}

.contact-list li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.contact-list a {
    color: var(--text-main);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #fff;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.social-links a:hover {
    border-color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-card);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.full-width {
    width: 100%;
}

.form-feedback {
    color: #4ade80;
    font-size: 0.9rem;
    text-align: center;
}

/* Footer */
footer {
    background: #09090b;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 36px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

#lightboxCaption {
    margin-top: 14px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}