/* 
 * Rose Violet - Main Stylesheet
 * Inspired by ISHI jewelry design
 */

:root {
    /* Colors */
    --primary: #a67c52;
    --primary-dark: #8a6642;
    --secondary: #2c3e50;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans', sans-serif;
}

/* Global Styles */
html, body {
    height: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    background-color: var(--light);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn {
    border-radius: 0;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Container width adjustment for larger screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Header Styles */
.top-bar {
    background-color: var(--white);
    padding: 8px 0;
    color: var(--gray);
    font-size: 13px;
    border-bottom: 1px solid var(--light-gray);
}

.top-bar a {
    color: var(--gray);
}

.top-bar a:hover {
    color: var(--primary);
}

.main-header {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 2px;
}

.logo img.navbar-logo {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img.navbar-logo:hover {
    transform: scale(1.05);
}

.main-nav {
    border-bottom: 1px solid var(--light-gray);
}

.navbar-nav {
    padding: 10px 0;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark) !important;
}

.nav-item.active .nav-link,
.nav-link:hover {
    color: var(--primary) !important;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.navbar-toggler {
    border: none;
    background: none;
    padding: 0;
    font-size: 20px;
}

.cart-icon {
    font-size: 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-bottom: 60px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 100%;
}

.hero-title {
    font-size: 48px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Collection Section */
.collection-section {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

.product-card {
    margin-bottom: 30px;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img img {
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark);
}

.product-price {
    font-size: 16px;
    color: var(--gray);
}

.sale-price {
    color: var(--primary);
    font-weight: 500;
}

.regular-price {
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 14px;
}

/* Instagram banner */
.instagram-link {
    display: inline-block;
    font-size: 40px;
    color: var(--primary);
    transition: all 0.3s;
}

.instagram-link:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Footer Styles */
.footer {
    background-color: var(--white);
    color: var(--dark);
    padding-top: 60px;
    border-top: 1px solid var(--light-gray);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
}

.footer h4 {
    margin-bottom: 20px;
    color: var(--dark);
}

.footer a {
    color: var(--gray);
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--light-gray);
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    background-color: var(--white);
    border-top: 1px solid var(--light-gray);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    z-index: 99;
    transition: all 0.3s;
    opacity: 0;
}

.back-to-top.show {
    bottom: 20px;
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Product Page Styles */
.product-detail {
    padding: 60px 0;
}

.product-detail-img {
    background-color: var(--secondary-color);
    margin-bottom: 30px;
}

.product-detail-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 400;
}

.product-detail-price {
    margin: 0.8rem 0;
}

.product-description {
    margin-bottom: 30px;
}

/* Category Page Styles */
.category-header {
    background-color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.category-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.category-description {
    max-width: 700px;
    margin: 0 auto;
}

/* Search Modal */
.modal-content {
    border-radius: 0;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 20px;
    letter-spacing: 0.05em;
}

/* Product Status Badges */
.badge {
    font-size: 12px;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 0;
    letter-spacing: 0.05em;
}

/* Media Queries */
@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .collection-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 14px;
    }
}

/* Luxury Design Elements */
.luxury-section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #333;
}

.decorative-line {
    height: 1px;
    width: 100px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 1.5rem auto;
    position: relative;
}

.decorative-line span {
    display: block;
    height: 5px;
    width: 40px;
    background-color: #d4af37; /* Gold color */
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
}

/* Category Cards */
.category-card {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.category-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    background-color: #f8f8f8;
}

.category-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-card:hover .category-img-wrapper img {
    transform: scale(1.05);
}

.view-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.category-card:hover .view-btn {
    transform: translateY(0);
}

.category-title {
    font-size: 1.1rem;
    margin-top: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #333;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: #d4af37; /* Gold color on hover */
}

/* Product Cards - Luxury Style */
.product-card-luxury {
    margin-bottom: 1.5rem;
    transition: none;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.product-card-luxury:hover {
    transform: none;
}

.product-card-luxury .product-overlay {
    background-color: rgba(0, 0, 0, 0.1);
}

.product-card-luxury .view-btn {
    display: none;
}

.product-card-luxury .product-link {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.product-card-luxury .product-img-wrapper {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    padding-top: 100% !important; /* This creates a 1:1 aspect ratio */
    background-color: #f8f9fa !important;
}

.product-card-luxury .product-img-wrapper img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.product-card-luxury .product-info {
    padding: 0.75rem 0;
    background-color: transparent;
    text-align: center;
    margin-top: 1rem;
}

.product-card-luxury .product-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333;
    transition: color 0.3s ease;
}

.product-card-luxury:hover .product-title {
    color: #d4af37; /* Gold color on hover */
}

.product-card-luxury .product-category {
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.product-card-luxury .product-price {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Override any existing product-image styles */
.product-card-luxury .product-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Adjust row and column spacing for product grid */
.row.g-4, .row.g-3 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.col-6.col-md-4.col-lg-3 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Luxury Button Styles */
.btn-outline-dark {
    border: 1px solid #333;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 12px 30px;
}

.btn-outline-dark:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .luxury-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .product-title, .category-title {
        font-size: 0.9rem;
    }
}

/* Product Page New Layout Styles */
.main-image-container {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.product-detail-category a {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #888;
    text-decoration: none;
}

.order-form {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 450px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.order-form .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.order-form .form-control,
.order-form .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.order-form .form-text {
    font-size: 0.75rem;
}

.order-form .mb-3 {
    margin-bottom: 0.75rem !important;
}

.order-form button {
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background-color: #333;
}

.order-form .trust-badges-container {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

.order-form .trust-badge-item {
    padding: 0.5rem 0.25rem;
    margin-bottom: 10px;
    width: 50%;
    font-size: 0.85rem;
}

.order-form .trust-badge-item i {
    font-size: 1rem;
    color: #999;
    margin-bottom: 0.4rem;
}

.order-form .trust-badge-item p {
    font-size: 0.75rem;
    color: #666;
}

@media (min-width: 576px) {
    .order-form .trust-badge-item {
        font-size: 0.75rem;
    }
}

.share-buttons .btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.7rem;
    border-color: #ddd;
}

@media (max-width: 767.98px) {
    .order-form {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .trust-badge-item {
        padding: 0.5rem;
    }
    
    .trust-badge-item i {
        font-size: 1rem;
    }
}

/* Free Shipping Badge */
.free-shipping-badge {
    display: block;
    background-color: #d4af37;
    color: white;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    animation: shimmer 2s infinite;
    text-align: center;
    margin: 0 auto;
}

.free-shipping-badge i {
    font-size: 1rem;
    animation: slide 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-color: #d4af37;
    }
    50% {
        background-color: #e5c860;
    }
    100% {
        background-color: #d4af37;
    }
}

@keyframes slide {
    0% {
        transform: translateX(-3px);
    }
    50% {
        transform: translateX(3px);
    }
    100% {
        transform: translateX(-3px);
    }
}

/* Centered Logo in Navbar */
.navbar-brand-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.navbar-logo {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Adjust navbar height for logo */
.navbar {
    padding: 0.2rem 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
} 