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

:root {
    --color-midnight: #0A1128;
    --color-gold: #D4AF37;
    --color-cream: #F9F6F0;
    --color-sage: #7C8974;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

/* Typography */
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

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

.btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-midnight);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-midnight);
    color: var(--color-midnight);
}

.btn-outline:hover {
    background-color: var(--color-midnight);
    color: var(--color-cream);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background-color: rgba(249, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 48px;
    box-shadow: 0 4px 20px rgba(10, 17, 40, 0.05);
}

.navbar.solid-bg {
    background-color: var(--color-cream);
    box-shadow: 0 4px 20px rgba(10, 17, 40, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-midnight);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

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

.nav-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--color-gold);
    color: var(--color-midnight);
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('../assets/media__1781951803620.png');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 17, 40, 0.4), rgba(10, 17, 40, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-cream);
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(249, 246, 240, 0.9);
}

/* Section Common */
.section {
    padding: 100px 48px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--color-sage);
    font-size: 1.1rem;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 17, 40, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.product-info {
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-bottom: 24px;
    font-weight: 500;
}

.product-desc {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
    flex: 1;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(3px);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: var(--color-cream);
    z-index: 1002;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
    padding-bottom: 16px;
}

.close-cart {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-midnight);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-empty-message {
    text-align: center;
    color: #888;
    margin-top: 50px;
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--color-gold);
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-btn {
    background: none;
    border: 1px solid #ccc;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-left: auto;
}

.cart-item-remove:hover {
    color: red;
}

.cart-footer {
    border-top: 1px solid rgba(10, 17, 40, 0.1);
    padding-top: 24px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Page Headers */
.page-header {
    padding: 150px 48px 80px;
    text-align: center;
    background: var(--color-midnight);
    color: var(--color-cream);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(10, 17, 40, 0.2);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Layouts */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: #444;
}

/* Footer */
footer {
    background: var(--color-midnight);
    color: var(--color-cream);
    padding: 80px 48px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 64px;
}

.footer-logo {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(249, 246, 240, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

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

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .navbar { padding: 20px; }
    .nav-links { display: none; }
    .products-grid { grid-template-columns: 1fr; }
    .cart-sidebar { width: 100%; right: -100%; }
    .about-grid { grid-template-columns: 1fr; }
}
