/* Custom Styles for Jewelry Shop */

:root {
    --primary-color: #d4af37;
    --secondary-color: #1a1a1a;
    --accent-color: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
    
    /* Enhanced colorful palette */
    --violet: #6366f1;
    --purple: #a855f7;
    --pink: #ec4899;
    --rose: #f43f5e;
    --orange: #f97316;
    --amber: #f59e0b;
    --emerald: #10b981;
    --cyan: #06b6d4;
    --sky: #0ea5e9;
    --indigo: #6366f1;
    
    /* Gradient combinations */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 76px;
    background: linear-gradient(135deg, #fafafa 0%, #f8f9fa 50%, #ffffff 100%);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.brand-name {
    font-family: 'Playfair Display', serif;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--violet) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(212, 175, 55, 0.2)),
                url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0.3;
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
    }
}

.hero-buttons .btn {
    margin: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.hero-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-3);
    animation: lineExpand 1s ease-out 0.5s forwards;
}

@keyframes lineExpand {
    to {
        width: 80px;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #b8941f);
    color: white;
}

/* Product Cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    overflow: hidden;
    border-radius: 15px;
    background: white;
    position: relative;
    animation: productFadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes productFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--accent-color);
    border-radius: 15px 15px 0 0;
}

.product-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.product-card:hover .product-image-wrapper::before {
    left: 100%;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.15) rotate(2deg);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(168, 85, 247, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--violet);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 25px;
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}

.product-overlay .btn:hover {
    background: var(--gradient-2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    color: var(--primary-color);
}

/* Feature Icons */
.feature-icon {
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--amber);
    filter: drop-shadow(0 10px 20px rgba(212, 175, 55, 0.4));
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 0.05;
}

/* Stat Box */
.stat-box {
    background: var(--accent-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

/* Contact Info */
.contact-icon {
    width: 50px;
    text-align: center;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #20ba5a);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    margin-top: 16px;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Buttons */
.btn-primary {
    background: var(--gradient-2);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.4);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid;
    border-image: var(--gradient-2) 1;
    color: var(--violet);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: var(--gradient-2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.4);
    color: white;
}

.btn-success {
    background-color: #25d366;
    border-color: #25d366;
}

.btn-success:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #b8941f, var(--primary-color));
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.slogan-footer {
    font-size: 1rem;
    color: var(--primary-color) !important;
    font-weight: 500;
}

.footer-heading {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li a {
    transition: all 0.3s ease;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-links li a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    min-width: 20px;
    margin-top: 3px;
}

.footer-contact a {
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-contact a:hover {
    color: var(--primary-color) !important;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.whatsapp-icon {
    background: #25d366;
}

.whatsapp-icon:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.facebook-icon {
    background: #1877f2;
}

.facebook-icon:hover {
    background: #166fe5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
}

.twitter-icon {
    background: #1da1f2;
}

.twitter-icon:hover {
    background: #1a91da;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.slogan-text {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 400;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .slogan-text {
        font-size: 0.65rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .social-links-footer {
        flex-wrap: wrap;
    }
}

/* Floating Particles Animation */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--gradient-2);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.particle:nth-child(1) { left: 10%; width: 6px; height: 6px; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; width: 4px; height: 4px; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; width: 8px; height: 8px; animation-delay: 4s; animation-duration: 10s; }
.particle:nth-child(4) { left: 40%; width: 5px; height: 5px; animation-delay: 1s; animation-duration: 18s; }
.particle:nth-child(5) { left: 50%; width: 7px; height: 7px; animation-delay: 3s; animation-duration: 14s; }
.particle:nth-child(6) { left: 60%; width: 4px; height: 4px; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(7) { left: 70%; width: 6px; height: 6px; animation-delay: 2s; animation-duration: 13s; }
.particle:nth-child(8) { left: 80%; width: 5px; height: 5px; animation-delay: 6s; animation-duration: 11s; }
.particle:nth-child(9) { left: 90%; width: 7px; height: 7px; animation-delay: 4s; animation-duration: 17s; }
.particle:nth-child(10) { left: 95%; width: 4px; height: 4px; animation-delay: 7s; animation-duration: 19s; }

/* Rainbow gradient animation */
.rainbow-text {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 5s ease-in-out infinite;
}

@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.service-card {
    animation: fadeIn 0.5s ease;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

