/* ====================================
   TORRID - Luxury Fashion & Perfume Brand
   Main Stylesheet
   Colors:
   - Royal Gold: #D4AF37
   - Luxury Black: #0B0B0B
   - Dark Gold: #B8962E
   - Soft Gold: #F5D67B
   - Dark Gray: #1A1A1A
   - White Gold Text: #F8F8F8
==================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    background-color: #0B0B0B;
    color: #F8F8F8;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Import luxury fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

p, a, span, li, button, input, textarea {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header Styles */
.header {
    background-color: #0B0B0B;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(11, 11, 11, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 50px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #D4AF37;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-left: 10px;
}

.logo-text span {
    color: #F8F8F8;
    font-weight: 300;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #F8F8F8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: #D4AF37;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-icons a {
    color: #F8F8F8;
    font-size: 20px;
    transition: color 0.3s ease;
    position: relative;
}

.header-icons a:hover {
    color: #D4AF37;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #D4AF37;
    color: #0B0B0B;
    font-size: 12px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #D4AF37;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(11, 11, 11, 0.5), rgba(11, 11, 11, 0.8)), url('../images/about-story.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    color: #D4AF37;
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: #F8F8F8;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title span {
    color: #D4AF37;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #D4AF37;
    color: #0B0B0B;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
}

.btn:hover {
    background-color: transparent;
    color: #D4AF37;
}

.btn-outline {
    background-color: transparent;
    color: #D4AF37;
    border-color: #D4AF37;
}

.btn-outline:hover {
    background-color: #D4AF37;
    color: #0B0B0B;
}

.btn-small {
    padding: 10px 25px;
    font-size: 14px;
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background-color: #0B0B0B;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 48px;
    color: #D4AF37;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 18px;
    color: #F8F8F8;
    max-width: 600px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background-color: #1A1A1A;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.category-icon {
    font-size: 48px;
    color: #D4AF37;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 24px;
    color: #F8F8F8;
    margin-bottom: 10px;
}

.category-card p {
    color: #B8962E;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: #0B0B0B;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    color: #F8F8F8;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #D4AF37;
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #1A1A1A;
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #D4AF37;
    color: #0B0B0B;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(11, 11, 11, 0.9));
    transition: bottom 0.3s ease;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.product-card:hover .product-overlay {
    bottom: 0;
}

.product-overlay a {
    width: 45px;
    height: 45px;
    background-color: #D4AF37;
    color: #0B0B0B;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-overlay a:hover {
    background-color: #B8962E;
    transform: scale(1.1);
}

.product-info {
    padding: 25px 20px;
}

.product-category {
    color: #B8962E;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-title {
    font-size: 20px;
    color: #F8F8F8;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-price {
    font-size: 24px;
    color: #D4AF37;
    font-weight: 600;
}

.product-price .old-price {
    font-size: 16px;
    color: #666;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 300;
}

/* WhatsApp Buy Button */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 0;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-btn i {
    font-size: 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #1A1A1A;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    color: #D4AF37;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    color: #F8F8F8;
    margin-bottom: 10px;
}

.feature-item p {
    color: #B8962E;
    font-size: 14px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(rgba(11, 11, 11, 0.9), rgba(11, 11, 11, 0.9)), url('../images/newsletter-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    color: #D4AF37;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    background-color: #1A1A1A;
    border: 1px solid #D4AF37;
    color: #F8F8F8;
    font-size: 16px;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #B8962E;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: #D4AF37;
    color: #0B0B0B;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #B8962E;
}

/* Footer */
.footer {
    background-color: #0B0B0B;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #D4AF37;
    font-size: 20px;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #F8F8F8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #D4AF37;
}

.footer-col p {
    color: #F8F8F8;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #F8F8F8;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
    color: #B8962E;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Cart Page */
.cart-section {
    padding: 150px 0 100px;
    min-height: 60vh;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    background-color: #1A1A1A;
    color: #D4AF37;
    padding: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 2px solid #D4AF37;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #D4AF37;
}

.cart-product-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-product-info p {
    color: #B8962E;
    font-size: 12px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #1A1A1A;
    border: 1px solid #D4AF37;
    color: #F8F8F8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #D4AF37;
    color: #0B0B0B;
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    background-color: #1A1A1A;
    border: 1px solid #D4AF37;
    color: #F8F8F8;
}

.remove-item {
    color: #ff4444;
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #cc0000;
}

.cart-total {
    background-color: #1A1A1A;
    padding: 30px;
    border: 1px solid #D4AF37;
    max-width: 400px;
    margin-left: auto;
}

.cart-total h3 {
    color: #D4AF37;
    font-size: 24px;
    margin-bottom: 20px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.total-line.grand-total {
    border-top: 1px solid #D4AF37;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #D4AF37;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: #0B0B0B;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
    
    .product-filters {
        gap: 15px;
    }
    
    .filter-btn {
        font-size: 14px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 20px;
    }
}