/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header Styles */
.main-header {
    background: var(--gradient-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--secondary-gold);
    text-decoration: none;
}

.top-bar a:hover {
    color: #fff;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-gold);
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--secondary-gold);
    letter-spacing: 1px;
}

.main-nav .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 10px 15px !important;
    position: relative;
    transition: all 0.3s;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
    color: var(--primary-gold) !important;
}

.main-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.main-nav .navbar-nav .nav-link:hover::after,
.main-nav .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    background: var(--dark-bg);
    border: 1px solid var(--primary-gold);
    border-radius: 0;
}

.dropdown-item {
    color: #fff;
    padding: 10px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--primary-gold);
    color: #000;
}

/* Hero Slider */
.hero-slider {
    height: 80vh;
    overflow: hidden;
}

.slider-image {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slider-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 1;
}

.carousel-caption h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Metal Rates */
.metal-rates {
    background: var(--gradient-dark);
    color: #fff;
}

.rate-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
    height: 100%;
}

.rate-card:hover {
    transform: translateY(-5px);
}

.rate-card.gold-rate {
    border-top: 4px solid var(--primary-gold);
}

.rate-card.silver-rate {
    border-top: 4px solid #C0C0C0;
}

.rate-card.diamond-rate {
    border-top: 4px solid #b9f2ff;
}

.rate-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--secondary-gold);
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-gold);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-badge.featured {
    background: var(--gradient-dark);
    color: #fff;
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    height: 3em;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.product-price {
    margin: 15px 0;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-view, .btn-enquiry {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-view:hover {
    background: var(--primary-gold);
    color: #000;
}

.btn-enquiry {
    background: var(--gradient-gold);
    color: #000;
}

.btn-enquiry:hover {
    background: var(--gradient-dark);
    color: #fff;
}

/* Category Cards */
.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    text-decoration: none;
    color: inherit;
}

.category-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-content {
    padding: 20px;
    background: #fff;
}

.category-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.view-link {
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.view-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.category-card:hover .view-link i {
    transform: translateX(5px);
}

/* Buttons */
.btn-gold {
    background: var(--gradient-gold);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: var(--gradient-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: #000;
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Footer */
.main-footer {
    background: var(--gradient-dark);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-links h5 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* Product Detail Page */
.product-detail-page {
    padding: 60px 0;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border: 2px solid var(--primary-gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding-left: 40px;
}

.product-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.product-meta-info {
    background: rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 600;
    color: #666;
}

.meta-value {
    color: #333;
    font-weight: 500;
}

/* Admin Styles */
.admin-sidebar {
    background: var(--gradient-dark);
    color: #fff;
    min-height: 100vh;
    padding: 0;
}

.admin-sidebar .logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar .nav-link {
    color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
}

.admin-sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
}

.dashboard-stats .stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.dashboard-stats .stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.stat-icon.gold {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #000;
}

.stat-icon.silver {
    background: linear-gradient(135deg, #C0C0C0, #E8E8E8);
    color: #000;
}

.stat-icon.diamond {
    background: linear-gradient(135deg, #b9f2ff, #a0d8ef);
    color: #000;
}

.stat-icon.users {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
    
    .slider-image {
        height: 60vh;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-info {
        padding-left: 0;
        margin-top: 30px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}




/* Collections Page */
.collections-page .filters-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.filters-card .list-group-item {
    border: none;
    padding: 12px 15px;
    color: #666;
    background: transparent;
}

.filters-card .list-group-item:hover,
.filters-card .list-group-item.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
    color: #D4AF37;
    border-left: 3px solid #D4AF37;
}

.view-grid, .view-list {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    background: #fff;
}

.view-grid.active, .view-list.active {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #000;
}

.products-grid.list-view .col-xl-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.products-grid.list-view .product-card {
    flex-direction: row;
}

.products-grid.list-view .product-image {
    width: 200px;
    height: 200px;
}

.products-grid.list-view .product-details {
    flex: 1;
    padding: 20px;
}

.product-badge.discount {
    background: linear-gradient(135deg, #ff4444, #ff6666);
    color: #fff;
}

/* Contact Page */
.contact-page .contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-page .contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #000;
    font-size: 1.2rem;
}

.contact-page .contact-details h5 {
    color: #333;
    margin-bottom: 5px;
}

.contact-page .contact-details p {
    color: #666;
    margin: 0;
}

.contact-page .contact-details a {
    color: #666;
    text-decoration: none;
}

.contact-page .contact-details a:hover {
    color: #D4AF37;
}

.social-media .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-media .social-icon:hover {
    transform: translateY(-3px);
}

.social-media .facebook {
    background: #3b5998;
}

.social-media .instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-media .whatsapp {
    background: #25D366;
}

.social-media .youtube {
    background: #FF0000;
}

.contact-form-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container {
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

/* About Page */
.about-page .about-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-page .about-hero-image img {
    transition: transform 0.5s;
}

.about-page .about-hero-image:hover img {
    transform: scale(1.05);
}

.about-page .features-list .feature-item {
    display: flex;
    align-items: center;
}

.about-page .features-list .feature-item i {
    font-size: 1.2rem;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card .value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #D4AF37;
    font-size: 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #D4AF37, #FFD700);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 60px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card .team-image {
    height: 200px;
    overflow: hidden;
}

.team-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card .team-info {
    padding: 20px;
}

.certification-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.certification-card:hover {
    transform: translateY(-5px);
}

.certification-card .certification-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #D4AF37;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 60px;
    }
    
    .timeline-year {
        margin-bottom: 20px;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-image {
        width: 100%;
        height: 200px;
    }
}