/* Global Styles */
:root {
    --primary-color: #8a5a44;
    --secondary-color: #d4b59e;
    --dark-color: #333333;
    --light-color: #f8f5f2;
    --text-color: #4a4a4a;
    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'Montserrat', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn {
    border-radius: 0;
    padding: 10px 25px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-dark {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.section-title {
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

.section-divider {
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Header */
header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin: 0;
    font-weight: 500;
}

.navbar-nav .nav-link {
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    color: var(--dark-color);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.header-icons a {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.header-icons a:hover {
    color: var(--primary-color);
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Navigation */
.category-nav {
    background-color: var(--light-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.category-nav .nav-link {
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem;
    color: var(--dark-color);
}

.category-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
}

.hero-image {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Favorite Categories Section */
.favorite-categories {
    padding: 80px 0;
}

.category-card {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.category-image {
    position: relative;
    overflow: hidden;
}

.category-image img {
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.category-content {
    text-align: center;
    color: white;
}

.category-content h3 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Featured Collections */
.collection-card {
    margin-bottom: 30px;
}

.collection-image {
    position: relative;
    overflow: hidden;
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.collection-image:hover .collection-overlay {
    opacity: 1;
}

.collection-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collection-title {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 500;
}

.collection-price {
    color: var(--primary-color);
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-container {
    position: relative;
}

.gallery-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px;
    font-family: var(--heading-font);
}

/* About Section */
.about-section {
    background-color: var(--light-color);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Instagram Section */
.instagram-handle {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.instagram-item {
    position: relative;
    overflow: hidden;
}

.instagram-item img {
    transition: all 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.05);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--dark-color);
}

.newsletter-form .form-control {
    border-radius: 0;
    height: 50px;
    border: none;
}

.newsletter-form .btn {
    height: 50px;
}

/* Footer */
.footer {
    background-color: var(--light-color);
    padding-top: 60px;
    padding-bottom: 30px;
}

.footer-title {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-color);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social a {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.footer-social a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.85rem;
}

.payment-methods {
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    display: none;
    animation: slideIn 0.3s ease-out forwards;
}

.cart-notification-content {
    display: flex;
    align-items: center;
}

.cart-notification-content i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.cart-notification-content p {
    margin: 0;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.chat-button:hover {
    background-color: var(--dark-color);
}

/* Currency Selector */
.currency-selector {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    width: 80px;
}

.currency-selector .form-select {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    background-color: white;
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.breadcrumb {
    background-color: transparent;
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* Contact Form */
.contact-form .form-control {
    border-radius: 0;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

/* Cart Page */
.cart-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 15px;
}

.cart-table td {
    vertical-align: middle;
    padding: 15px;
}

.cart-product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

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

.cart-product-price {
    color: var(--primary-color);
    font-weight: 500;
}

.cart-quantity {
    width: 100px;
}

.cart-remove {
    color: #dc3545;
    cursor: pointer;
}

.cart-summary {
    background-color: var(--light-color);
    padding: 30px;
}

.cart-summary-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-summary-total {
    font-size: 1.2rem;
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

/* Checkout Page */
.checkout-section {
    padding: 60px 0;
}

.checkout-form .form-control {
    border-radius: 0;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.checkout-form label {
    font-weight: 500;
    margin-bottom: 8px;
}

.checkout-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-content h3 {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-image {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .currency-selector {
        bottom: 90px;
    }
    
    .category-content h3 {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .cart-table tbody td {
        display: block;
        text-align: right;
        padding: 10px;
    }
    
    .cart-table tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
    }
    
    .cart-product-img {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .hero-image {
        height: 50vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .collection-title {
        font-size: 0.9rem;
    }
    
    .gallery-caption {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}