/* CSS Reset and Variables */
:root {
    --bg-dark: #0f0f0f;
    --bg-card: #161616;
    --bg-card-hover: #1d1d1d;
    --accent-red: #9d6f5e;
    --accent-red-hover: #876659;
    --text-primary: #f0f0f0;
    --text-secondary: #949494;
    --border-color: #252525;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

@keyframes buttonPress {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.97);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heroParallax {
    from {
        transform: scale(0.95) translateY(10px);
        opacity: 0.6;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 0;
    }
}

@keyframes heroTitleScroll {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(-60px) scale(0.97);
        opacity: 0.3;
    }
}

@keyframes heroContentReveal {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-40px);
        opacity: 0.2;
    }
}

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

@keyframes badgeGlow {
    from {
        box-shadow: 0 2px 8px rgba(157, 111, 94, 0.3), inset 0 0 0 rgba(157, 111, 94, 0.2);
    }
    to {
        box-shadow: 0 4px 16px rgba(157, 111, 94, 0.6), inset 0 0 12px rgba(157, 111, 94, 0.4);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.80);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.logo span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-red);
    margin-top: -2px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s var(--ease-out-quint), transform 0.2s var(--ease-out-quint);
    position: relative;
}

nav a:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-red);
    transition: width 0.3s var(--ease-out-quart);
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s var(--ease-out-quint), 
                box-shadow 0.2s var(--ease-out-quint),
                transform 0.1s var(--ease-out-quint),
                border-color 0.2s var(--ease-out-quint),
                color 0.2s var(--ease-out-quint);
    position: relative;
}

.btn:active {
    animation: buttonPress 0.15s var(--ease-out-quint);
}

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

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    box-shadow: 0 4px 12px rgba(157, 111, 94, 0.25);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    box-shadow: 0 2px 8px rgba(157, 111, 94, 0.1);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.hero-buttons {
    animation: fadeInUp 0.6s var(--ease-out-quart) 0.65s both;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1627918451152-0cb261a868f0?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 0;
    overflow: hidden;
}

/* Scroll-driven parallax effect on hero */
@supports (animation-timeline: scroll()) {
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, rgba(157, 111, 94, 0.1) 0%, transparent 70%);
        animation: heroParallax linear forwards;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
        pointer-events: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 15, 15, 0.75) 0%, rgba(15, 15, 15, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 0 2rem;
    margin-left: 10%;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-red);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s var(--ease-out-quart) 0.2s both;
}

@supports (animation-timeline: scroll()) {
    .hero-subtitle {
        animation: fadeInUp 0.6s var(--ease-out-quart) 0.2s both, heroContentReveal linear forwards;
        animation-timeline: auto, view();
        animation-range: auto, entry 50% cover 20%;
    }
}

@supports (animation-timeline: scroll()) {
    .hero-title {
        animation: fadeInUp 0.6s var(--ease-out-quart) 0.35s both, heroTitleScroll linear forwards;
        animation-timeline: auto, view();
        animation-range: auto, entry 40% cover 15%;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    animation: fadeInUp 0.6s var(--ease-out-quart) 0.35s both;
    margin-bottom: 1.5rem;
}

.highlight {
    color: transparent;
 

@supports (animation-timeline: scroll()) {
    .hero-description {
        animation: fadeInUp 0.6s var(--ease-out-quart) 0.5s both, heroContentReveal linear forwards;
        animation-timeline: auto, view();
        animation-range: auto, entry 60% cover 25%;
    }
}   -webkit-text-stroke: 1px var(--text-primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.6s var(--ease-out-quart) 0.5s both;
    margin-bottom: 2.5rem;
}

/* Features */
.features {
    padding: 4rem 0;
    background: #0a0a0a;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.feature-card {
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out-quart) forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

@supports (animation-timeline: scroll()) {
    .feature-card {
        animation: fadeInUp 0.6s var(--ease-out-quart) forwards, productCardStagger linear forwards;
        animation-timeline: auto, view();
        animation-range: auto, entry 15% cover 25%;
    }
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Products Section */
.products {
    padding: 6rem 0;
}

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

@supports (animation-timeline: scroll()) {
    .section-header {
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
    }
    
    .section-header h2 {
        animation: fadeInUp 0.6s var(--ease-out-quart) forwards;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
    }
    
    .section-header p {
        animation: fadeInUp 0.6s var(--ease-out-quart) 0.1s forwards;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
    }
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-style: italic;
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out-quart) forwards;
}

@supports (animation-timeline: scroll()) {
    .product-card {
        animation: fadeInUp 0.6s var(--ease-out-quart) forwards, productCardStagger linear forwards;
        animation-timeline: auto, view();
        animation-range: auto, entry 20% cover 30%;
    }
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(157, 111, 94, 0.3);
}

.product-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

@supports (animation-timeline: scroll()) {
    .product-image {
        animation: productImageReveal linear forwards;
        animation-timeline: view();
        animation-range: entry 30% cover 40%;
    }
}

@keyframes productImageReveal {
    from {
        transform: scale(1.08) translateY(15px);
        filter: brightness(0.9);
    }
    to {
        transform: scale(1) translateY(0);
        filter: brightness(1);
    }
}

.product-card:hover .product-image {
    transform: scale(1.03);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;, badgeGlow 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(157, 111, 94, 0.3);
}

@supports (animation-timeline: scroll()) {
    .product-badge {
        animation: pulse 2s ease-in-out infinite, badgeGlow 3s ease-in-out infinite, productCardStagger linear forwards;
        animation-timeline: auto, auto, view();
        animation-range: auto, auto, entry 20% cover 30%;
    }
    color: white;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(157, 111, 94, 0.3);
}

.product-info {
    padding: 2rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    height: 45px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-red);
}

.product-price small {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
}

.btn-icon {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: background-color 0.2s var(--ease-out-quint),
                border-color 0.2s var(--ease-out-quint),
                color 0.2s var(--ease-out-quint),
                transform 0.2s var(--ease-out-quint),
                box-shadow 0.2s var(--ease-out-quint);
}

.product-card:hover .btn-icon {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #0a0a0a;
}

@supports (animation-timeline: scroll()) {
    .about-content h2 {
        animation: fadeInUp 0.6s var(--ease-out-quart) forwards;
        animation-timeline: view();
        animation-range: entry 10% cover 30%;
    }
    
    .about-content p {
        animation: fadeInUp 0.6s var(--ease-out-quart) 0.1s forwards;
        animation-timeline: view();
        animation-range: entry 10% cover 30%;
    }
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.about-image-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    padding: 1rem;
}

@supports (animation-timeline: scroll()) {
    .about-image-wrapper {
        animation: imageWrapperReveal linear forwards;
        animation-timeline: view();
        animation-range: entry 20% cover 35%;
    }
}

@keyframes imageWrapperReveal {
    from {
        transform: scale(0.95) translateY(20px);
        opacity: 0.8;
        border-color: rgba(157, 111, 94, 0);
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
        border-color: var(--border-color);
    }
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.4s var(--ease-out-quart), transform 0.4s var(--ease-out-quart);
}

.about-image-wrapper:hover .about-img {
    filter: grayscale(10%);
    transform: scale(1.02);
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

@supports (animation-timeline: scroll()) {
    footer {
        --stagger-delay: 0.05s;
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        animation: fadeInUp 0.6s var(--ease-out-quart) forwards;
        animation-timeline: view();
        animation-range: entry 10% cover 30%;
    }
}

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

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.2s var(--ease-out-quint), transform 0.2s var(--ease-out-quint);
}

.footer-links a:hover {
    color: var(--accent-red);
    transform: translateX(4px);
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav, .nav-actions {
        display: none; /* simple mobile hide for now */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
