@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #A67C52;
    --primary-light: #C4A484;
    --dark: #1A1A1A;
    --dark-muted: #333333;
    --light: #FDFCF8;
    --surface: #FFFFFF;
    --text: #1A1A1A;
    --text-muted: #666666;
    --accent: #D4A373;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --spacing: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Animations */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(253, 252, 248, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

header.scrolled {
    height: 65px;
    background: rgba(253, 252, 248, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--dark-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.cta-nav {
    background: var(--dark);
    color: white !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-nav:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.cta-nav::after { display: none; }

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: url('assets/images/hero.png') center/cover no-repeat;
    background-attachment: fixed;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
    animation: revealUp 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 100%;
    font-weight: 300;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
}

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

.btn-primary:hover {
    background: #8e653d;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(166, 124, 82, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-5px);
}

/* Stats Section */
.stats {
    padding: 5rem 5%;
    display: flex;
    justify-content: space-around;
    background: var(--surface);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about-img img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.about-img::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary);
    z-index: -1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Catalog Grid */
.catalog {
    padding: 8rem 5%;
    background: #f8f8f8;
}

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

.catalog-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.catalog-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-img {
    height: 400px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: var(--text-muted);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Cards */
.features {
    padding: 8rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 4rem 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.feature-card svg {
    margin-bottom: 2rem;
    transition: var(--transition);
}

.feature-card:hover svg {
    color: var(--accent);
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    background: white;
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item .icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form {
    background: #FAFAFA;
    padding: 4rem;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(166, 124, 82, 0.1);
}

/* Footer */
footer {
    padding: 6rem 5% 3rem;
    background: #0D0D0D;
    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    opacity: 0.5;
    line-height: 1.8;
}

.footer-nav h4 {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

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

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    opacity: 0.4;
}

/* Utilities */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--dark-muted);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

@media (max-width: 768px) {
    .about, .contact {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    header {
        padding: 0 5%;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
