/* Diorra Gems - Custom Styles */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #8b4513;
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Luxury Typography */
.luxury-title {
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.luxury-subtitle {
    font-weight: 400;
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.product-price.original {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1rem;
}

/* Buttons */
.btn-luxury {
    background: var(--gradient-gold);
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    color: var(--text-dark);
}

.btn-outline-luxury {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Cart Badge */
#cart-count {
    animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Product Gallery */
.product-gallery {
    border-radius: 15px;
    overflow: hidden;
}

.gallery-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    border-color: var(--secondary-color);
}

/* Form Styling */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Testimonials */
.testimonial-card {
    background: var(--gradient-dark);
    color: var(--text-light);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
}

/* Footer */
footer {
    background: var(--gradient-dark) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--text-dark) !important;
    transform: translateY(-3px);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .luxury-title {
        font-size: 2rem;
    }
    
    .product-card .card-img-top {
        height: 200px;
    }
}

/* Admin Panel Styles */
.admin-sidebar {
    background: var(--gradient-dark);
    min-height: 100vh;
    color: var(--text-light);
}

.admin-sidebar .nav-link {
    color: var(--text-light);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-color);
}

.admin-content {
    padding: 30px;
}

.stats-card {
    background: var(--gradient-gold);
    border-radius: 15px;
    padding: 25px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Table Styling */
.table-luxury {
    background: white;
    border-radius: 15px;
    overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-luxury th {
    background: var(--gradient-dark);
    color: var(--text-light);
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-luxury td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

/* Alert Styling */
.alert-luxury {
    border-radius: 15px;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: var(--text-dark);
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--gradient-dark);
    color: var(--text-light);
    border-radius: 15px 15px 0 0;
}

/* Pagination */
.pagination .page-link {
    border-radius: 10px;
    margin: 0 5px;
    border: 2px solid #e9ecef;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
} 
