:root {
    --bg-base: #0a0a0c;
    --bg-surface: #141518;
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --accent: #d4af37;
    /* Subtle gold accent */
    --accent-hover: #f3c22b;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-content {
    width: 100%;
    max-width: 1600px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

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

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    animation: slowSpin 20s linear infinite;
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1a1b26 0%, var(--bg-base) 40%);
    animation: rotateBg 30s linear infinite;
    z-index: -1;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container & Filters */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    z-index: 90;
    pointer-events: none;
}

.filters {
    background: rgba(20, 21, 24, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 40px;
    display: inline-flex;
    gap: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-base);
}

/* Masonry Gallery */
.gallery {
    column-count: 4;
    column-gap: 20px;
}

@media (max-width: 1400px) {
    .gallery {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .gallery {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .gallery {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    background: var(--bg-surface);
    transform: translateZ(0);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(0.9) grayscale(10%);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover .gallery-item-title {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-bg {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-secondary);
    font-size: 40px;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* Footer */
footer {
    background: var(--bg-surface);
    padding: 80px 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-content p {
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.social-links a:hover::after {
    width: 100%;
}

.copyright {
    color: #4a4a55 !important;
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
}

/* -----------------------------
   About Section
----------------------------- */
.about-section {
    padding: 100px 40px;
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 30px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 0.8;
}

.profile-photo-container {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.profile-photo-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    pointer-events: none;
}

.profile-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(0.9) grayscale(20%);
}

.profile-photo-container:hover img {
    transform: scale(1.05);
    filter: brightness(1) grayscale(0%);
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* -----------------------------
   Contact Section
----------------------------- */
.contact-section {
    padding: 100px 40px;
    background: var(--bg-base);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 20px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.submit-btn {
    background: var(--accent);
    color: var(--bg-base);
    border: none;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}