:root {
    --color-bg-deep: #1C0F0A;
    --color-bg-dark: #0D0D0D;
    --color-gold: #C9A84C;
    --color-cream: #F5ECD7;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-height: 80px;
}

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

body {
    background-color: var(--color-bg-dark);
    color: var(--color-cream);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

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

/* Global Header */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.1em;
}

.desktop-nav {
    display: none;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    .hamburger {
        display: none;
    }
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-btn {
    background: none;
    border: none;
    color: var(--color-cream);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.cart-btn:hover {
    color: var(--color-gold);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hamburger */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-cream);
    transition: var(--transition-smooth);
}

.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-deep);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-menu.is-active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav .nav-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

/* Global Footer */
.global-footer {
    background-color: var(--color-bg-deep);
    padding: 6rem 5% 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand h2 {
    color: var(--color-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.footer-brand p {
    color: rgba(245, 236, 215, 0.7);
    max-width: 300px;
}

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

.link-group h3 {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.link-group a {
    display: block;
    margin-bottom: 0.8rem;
    color: rgba(245, 236, 215, 0.7);
}

.link-group a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(245, 236, 215, 0.5);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a:hover {
    color: var(--color-gold);
}

/* App Content Area */
#app-content {
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    opacity: 1;
    transition: opacity 0.3s ease;
}

#app-content.fade-out {
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

/* View Specific Styles Base */
.view-container {
    animation: fadeIn 0.5s ease forwards;
}

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