@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-color: #050505;
    --text-color: #f8f8f8;
    --text-muted: #888888;
    --accent-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 80px;
}

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

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

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

/* Custom Cursor */
.cursor-dot, .cursor-circle {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s ease-out;
}

body:hover .cursor-dot, body:hover .cursor-circle {
    opacity: 1;
}

/* Noise Texture - CSS Only */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3%3C/filter%3%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3%3C/svg%3%3E");
    opacity: 0.15;
    z-index: 9998;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    height: 60px;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 500;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    margin-bottom: 20px;
    line-height: 0.9;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.1);
    transition: transform 10s ease-out;
}

.hero:hover .hero-image-bg img {
    transform: scale(1.0);
}

/* Gallery Section */
.section-title {
    padding: 100px 5% 40px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    padding: 0 5% 100px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.gallery-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-info {
    opacity: 1;
    transform: translateY(0);
}

.gallery-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.gallery-name {
    font-size: 1.5rem;
    margin-top: 5px;
}

/* About Section */
.about {
    padding: 15vw 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 30px;
    line-height: 1.1;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
}

.about-image {
    aspect-ratio: 3/4;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

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

button {
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 20px 40px;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 20px;
    transition: var(--transition);
}

button:hover {
    background: #ccc;
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}
