/* CSS Reset & Variables */
:root {
    --primary-color: #2c2925;
    --secondary-color: #f7f5f2;
    --accent-color: #a88d61;
    --text-color: #4a4743;
    --light-bg: #ece9e4;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 400;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(247, 245, 242, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.4s ease;
}

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

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(247, 245, 242, 0.75);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

/* Animations */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

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

/* Sections */
.section {
    padding: 8rem 4rem;
}

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

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Collections Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    position: relative;
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    margin-bottom: 2rem;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.card-info h3 {
    margin-bottom: 1rem;
}

.card-info p {
    margin-bottom: 1.5rem;
}

.link-animate {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 4px;
}

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

.link-animate:hover::after {
    width: 100%;
}

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

/* Heritage Section */
.heritage {
    background-color: var(--light-bg);
    text-align: center;
    padding: 10rem 4rem;
}

.heritage-content {
    max-width: 800px;
    margin: 0 auto;
}

.heritage-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 6rem 4rem 4rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-brand .logo {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(247, 245, 242, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.footer-links h4 {
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(247, 245, 242, 0.7);
    font-size: 0.95rem;
}

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

/* Responsive */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 3.5rem;
    }

    .footer {
        flex-direction: column;
        gap: 4rem;
    }
}

.underline {
    text-decoration: underline;
}