/* LuxurGold - Luxurious Golden Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Golden Color Palette */
    --gold-primary: #D4AF37;
    --gold-light: #F7E98E;
    --gold-dark: #B8860B;
    --gold-deep: #8B6914;
    --gold-accent: #FFE135;
    
    /* Neutral Colors */
    --black-elegant: #1A1A1A;
    --gray-dark: #2C2C2C;
    --gray-medium: #666666;
    --gray-light: #F5F5F5;
    --white-pure: #FFFFFF;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(212, 175, 55, 0.15);
    --shadow-medium: 0 8px 30px rgba(212, 175, 55, 0.25);
    --shadow-strong: 0 15px 50px rgba(212, 175, 55, 0.35);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F7E98E  50%, #D4AF37 100%);
    --gradient-gold-dark: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #B8860B 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0.3) 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--black-elegant);
    background: var(--white-pure) !important;
    overflow-x: hidden;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gold-primary);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-medium);
}

.logo-icon::before {
    content: '◆';
    font-size: 24px;
    color: var(--white-pure);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--black-elegant);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.language-switch {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switch:hover {
    background: var(--gold-primary);
    color: var(--white-pure);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-bar {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/zlataky-cz-S6cWf7TIk9U-unsplash.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white-pure);
    z-index: 3;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--white-pure);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--white-pure);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--white-pure);
    transform: translateY(-3px);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black-elegant);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gold Prices Table */
.prices-section {
    background: var(--gray-light);
}

.price-table-container {
    background: var(--white-pure);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table thead {
    background: var(--gradient-gold);
    color: var(--white-pure);
}

.price-table th,
.price-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.price-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.price-table td {
    font-weight: 500;
}

.price-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.price-value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--gold-dark);
}

.buyback-price {
    color: var(--gold-primary);
    font-weight: 700;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white-pure);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white-pure);
    box-shadow: var(--shadow-medium);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black-elegant);
}

.feature-desc {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--black-elegant);
    color: var(--white-pure);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.footer-section p,
.footer-section div {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-pure);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-dark);
    color: var(--gray-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: flex; /* Changed from none to flex */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .logo-title {
        font-size: 24px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top: 4px solid var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gold particle effect */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.gold-particle {
    position: absolute;
    color: var(--gold-primary);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

/* Shariah Compliance and Delivery Styles */
.shariah-delivery-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(184, 134, 11, 0.1) 100%);
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.shariah-compliance, 
.delivery-locations {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shariah-compliance:hover, 
.delivery-locations:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.highlight-title {
    color: var(--gold-dark);
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.highlight-text {
    color: var(--gray-dark);
    line-height: 1.6;
    font-size: 1.05rem;
}

.gold-text {
    color: var(--gold-dark);
    font-weight: 600;
}

/* Last updated and refresh button styles */
.last-updated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.last-updated i {
    color: var(--gold-medium);
}

/* Refresh button */
.refresh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    margin-left: 0.8rem;
    background: linear-gradient(to bottom right, var(--gold-light), var(--gold-primary));
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    color: var(--black-elegant);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    background: linear-gradient(to bottom right, var(--gold-primary), var(--gold-dark));
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: var(--white-pure);
}

.refresh-button:active {
    /* transform: translateY(1px); */
}

.refresh-button i {
    font-size: 0.9rem;
}

.refresh-button.loading i {
    animation: spin 1s infinite linear;
}