/* === FONTS === */
/* Imported in base.html */

/* === VARIABLES === */
:root {
  --primary: #000000;
  --accent: #C5A059;
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --muted: #F5F5F5;
  --border: #E5E5E5;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --container-max: 1400px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    text-transform: uppercase;
}

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

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

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

/* === LAYOUT === */
.header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    letter-spacing: 5px;
}

.header__logo span {
    font-weight: 300;
    display: block;
    font-size: 0.7rem;
    letter-spacing: 10px;
    margin-top: -5px;
    text-align: center;
}

.header__nav-list {
    display: flex;
    gap: 2rem;
}

.header__nav-link {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.header__actions {
    display: flex;
    gap: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header__menu-toggle {
    display: none;
}

.footer {
    padding: 5rem 0 2rem;
    background: var(--muted);
    margin-top: 5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer__logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.footer__title {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer__links li, .footer__contact p {
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.footer__social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.85rem;
}

.footer__bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.7rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === HOME === */
.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero__content {
    text-align: center;
    color: white;
}

.hero__title {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: reveal 1.5s ease-out;
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === CATALOG === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem 2rem;
}

.product-card {
    position: relative;
    transition: transform 0.4s ease;
}

.product-card__image-wrap {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--muted);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.product-card__price {
    font-size: 0.9rem;
    color: #666;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* === MOBILE === */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero__title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }
    .header__menu-toggle {
        display: block;
        background: none;
        border: none;
        width: 25px;
        height: 15px;
        position: relative;
    }
    .header__menu-toggle span {
        display: block;
        height: 1px;
        background: var(--primary);
        margin-bottom: 5px;
    }
    .footer__grid {
        grid-template-columns: 1fr;
    }
}
