:root {
    --bg-color: #FDFDFB;
    --text-color: #1A1A1A;
    --accent-color: #C5A059;
    --secondary-color: #707070;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

h1, h2, h3, .logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 0.2rem;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* Header & Nav */
header {
    padding: 2rem 4rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(253, 253, 251, 0.8);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    cursor: pointer;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    transition: var(--transition);
    position: relative;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content em {
    font-style: italic;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 400px;
    margin-bottom: 2.5rem;
}

.hero-image-wrapper {
    flex: 1;
    height: 80vh;
    overflow: hidden;
    position: relative;
    clip-path: inset(0 0 0 0);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--text-color);
    color: #fff;
    border: 1px solid var(--text-color);
}

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

.btn-text {
    padding-left: 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--accent-color);
}

/* Collection Grid */
.collection {
    padding: 10rem 10%;
}

.section-header {
    margin-bottom: 5rem;
}

.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.7rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.grid-item {
    cursor: pointer;
}

.item-img {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f0f0f0;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

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

.grid-item:hover .product-img {
    transform: scale(1.05);
}

.item-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.item-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    padding: 5rem 10%;
    border-top: 1px solid #eee;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: #999;
}

.socials a {
    color: #999;
    text-decoration: none;
    margin-left: 2rem;
}

/* Philosophy Section */
.philosophy {
    padding: 10rem 10%;
    background: #fff;
    overflow: hidden;
}

.philosophy-layout {
    display: flex;
    align-items: center;
    gap: 10%;
}

.philosophy .text-block {
    flex: 1;
}

.philosophy .text-block h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.philosophy .text-block p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    max-width: 500px;
}

.philosophy-stats {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
}

.stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--secondary-color);
}

.image-block {
    flex: 1;
}

.floating-img-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.main-phil-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: url('assets/hero.png') center/cover no-repeat;
    z-index: 2;
    transition: var(--transition);
}

.sub-phil-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: url('assets/phil-detail.png') center/cover no-repeat;
    z-index: 3;
    border: 15px solid #fff;
    transition: var(--transition);
}

.phil-accent-box {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 60%;
    height: 60%;
    border: 1px solid var(--accent-color);
    z-index: 1;
}

.philosophy-layout:hover .main-phil-img {
    transform: translate(-20px, 20px);
}

.philosophy-layout:hover .sub-phil-img {
    transform: translate(20px, -20px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 10rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}
