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

:root {
    --bg: #F9F9F8;
    --mineral: #1C1C1E;
    --accent: #A5A58D; /* Muted sage/olive */
    --text-main: #2C2C2E;
    --text-muted: #636366;
    --white: #FFFFFF;
    --line: rgba(28, 28, 30, 0.08); /* Subtle lines instead of borders */
    --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* --- Organic Texture --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%2 noiseFilter)'/%3E%3C/svg%3E");
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition) 0.3s;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1320px;
    z-index: 1000;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--mineral);
    transition: all 0.5s var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Specific style for when on top of Hero */
header.on-hero {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: none;
}

header.scrolled {
    top: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--mineral);
    border-color: var(--line);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* --- Organic Floating Shapes --- */
.shape {
    position: fixed;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.2;
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite alternate ease-in-out;
}

.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: #C5D8A1; bottom: 10%; left: -50px; animation-delay: -5s; }

@keyframes float {
    from { transform: translate(0, 0) rotate(0); }
    to { transform: translate(50px, 100px) rotate(30deg); }
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--transition);
}

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

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 10s ease-out;
}

.hero:hover .hero-img {
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- Content Sections --- */
section {
    padding: 160px 0;
}

.section-head {
    margin-bottom: 80px;
}

.section-head h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.accent-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 2rem;
}

/* --- Premium Grid --- */
.mineral-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.grid-item {
    grid-column: span 6;
}

.grid-item.wide {
    grid-column: span 12;
}

.photo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    clip-path: inset(0 0 0 0); /* For reveal animation */
    transition: clip-path 1.2s var(--transition);
}

.reveal.active .photo-card {
    clip-path: inset(0 0 0 0);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--transition);
}

.photo-card:hover img {
    transform: scale(1.1);
}

/* --- Magnetic Hover Effect for Buttons --- */
.btn-minimal {
    display: inline-block;
    padding: 20px 40px;
    background: var(--mineral);
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 40px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s var(--transition);
}

.btn-minimal:hover {
    background: var(--accent);
}

/* --- Footer --- */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--line);
}

@media (max-width: 1024px) {
    header {
        width: calc(100% - 40px);
        top: 20px;
    }
    .nav-links {
        display: none;
    }
    .hero h1 { font-size: 4rem; }
    .grid-item { grid-column: span 12; }
}

/* Admin Styles */
.admin-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.admin-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.admin-form input, .admin-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    font-family: inherit;
}
