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

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #FAFAFA;
    --text-color: #090816;
    --text-light: #555555;
    --accent-red: #da1705;
    --accent-gold: #da1705;
    --white: #FFFFFF;
    --border-color: #EAEAEA;
    --radius-soft: 12px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.text-gradient {
    background: linear-gradient(90deg, #ff4d4d, #da1705);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}
.feature-item {
    padding: 30px 20px;
    transition: var(--transition);
}
.feature-item:hover {
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 2.5rem;
    color: #da1705;
    margin-bottom: 25px;
    display: block;
}
.feature-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

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

ul {
    list-style: none;
}



/* FLOATING HEADER */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    color: var(--white);
    transition: padding 0.3s;
}

/* Dark text for white inner pages */
header.dark-text {
    color: var(--text-color);
}
header.dark-text .logo-img {
    filter: invert(1);
}
header.dark-text a {
    color: var(--text-color);
}

/* Scrolled state */
header.scrolled {
    position: fixed;
    padding: 15px 50px;
    background: rgba(9, 8, 22, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--white) !important;
    animation: slideDown 0.4s ease forwards;
}
header.scrolled a {
    color: var(--white) !important;
}
header.scrolled.dark-text .logo-img {
    filter: none;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo-img {
    height: 45px;
    transition: all 0.4s ease;
    filter: none !important; /* Remove any filter */
}
header.scrolled .logo-img {
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    color: var(--white);
    font-weight: 500;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: var(--transition);
}
.nav-links a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}
.cart-icon {
    position: relative;
    font-size: 1.3rem;
    color: var(--white);
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--accent-red);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* HERO SLIDER ADJUSTMENT */
.hero-slider {
    margin-top: 0;
    height: 100vh;
}

/* PAGE HEADERS (FOR OTHER PAGES) */
.page-header {
    padding: 160px 50px 80px;
    text-align: center;
    background: #FAFAFA;
    color: var(--text-color);
    margin-bottom: 0;
}
.page-title {
    font-size: 4rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    background: linear-gradient(90deg, #ff4d4d, #da1705);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

body {
    padding-top: 0; /* Let hero slider go to top */
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 40px;
    transition: var(--transition);
    border: 1px solid transparent;
    font-weight: 600;
}
.btn-primary {
    background: var(--text-color);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-red);
    box-shadow: 0 10px 25px rgba(218, 23, 5, 0.3);
    transform: translateY(-3px);
}
.btn-outline {
    border-color: #fff;
    color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* SECTIONS */
section {
    padding: 120px 50px;
    max-width: 1400px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 70px;
    position: relative;
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-red);
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* PRODUCT CARD */
.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.product-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    background-color: #fcfcfc;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-info {
    padding: 30px 0 10px;
    text-align: center;
}
.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
}
.product-price {
    font-weight: 700;
    color: var(--accent-red);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* CART TABLE */
.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
    background: var(--white);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.cart-table th {
    background: #f8f8f8;
    padding: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-color);
}
.cart-table td {
    padding: 35px 25px;
    border-bottom: 1px solid var(--border-color);
}

/* FOOTER SOCIAL ICONS */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--accent-red);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    header { padding: 20px 30px; }
    header.scrolled { padding: 15px 30px; }
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #090816;
        flex-direction: column;
        padding-top: 100px;
        transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        box-shadow: -15px 0 50px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .nav-links a { padding: 20px 40px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.1rem; }
    section { padding: 80px 30px; }
    .page-title { font-size: 3rem; }
}

/* ENTRANCE ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* INSTAGRAM FEED */
.instagram-feed {
    padding: 100px 0;
    max-width: 100%;
}
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}
.insta-item {
    aspect-ratio: 1/1;
    overflow: hidden;
}
.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.insta-item:hover img {
    transform: scale(1.1);
}

/* FOOTER */
footer {
    background: var(--white);
    padding: 60px 50px 20px;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
}
.footer-col ul li a:hover {
    color: var(--accent-red);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.8rem;
}

/* SCROLL TO TOP */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--text-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}
#scrollToTop:hover {
    background: var(--accent-gold);
    transform: translateY(-5px);
}

@media (max-width: 900px) {
    header { padding: 15px 20px; }
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #090816;
        flex-direction: column;
        padding-top: 80px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .nav-links a { padding: 15px 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    section { padding: 60px 20px; }
    .footer-content { flex-direction: column; gap: 30px; }
}
