/* Custom Premium CSS - Ella Theme Inspired */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #000000;
    --primary-hover: #333333;
    --secondary: #ffffff;
    --secondary-light: #f8f8f8;
    --accent: #d3b771; /* Elegant Gold */
    --accent-hover: #c3a65e;
    --background: #ffffff;
    --card-bg: #ffffff;
    --text-main: #232323;
    --text-muted: #4b5563; /* Improved contrast */
    --success: #28a745;
    --danger: #dc3545;
    --border-color: #ebebeb;
    --font-sans: 'Jost', sans-serif;
}

[data-theme="dark"] {
    --primary: #ffffff;
    --primary-hover: #cccccc;
    --secondary: #1a1a1a;
    --secondary-light: #121212;
    --accent: #d3b771;
    --accent-hover: #e0ca91;
    --background: #000000;
    --card-bg: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #9ca3af; /* Improved contrast */
    --border-color: #333333;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Premium Navigation Bar */
.navbar-custom {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.navbar-custom .navbar-brand {
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.navbar-custom .navbar-brand span {
    color: var(--text-main);
}
.navbar-custom .navbar-brand span.accent {
    color: var(--accent);
}
.navbar-custom .navbar-brand small {
    color: var(--text-muted) !important;
    font-weight: 400;
}
.navbar-custom .nav-link {
    color: var(--text-main);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--accent);
}

/* Dropdown styling */
.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.dropdown-item {
    font-size: 14px;
    padding: 8px 20px;
    color: var(--text-main);
}
.dropdown-item:hover {
    background-color: var(--secondary-light);
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    color: var(--text-main);
    padding: 100px 0;
    position: relative;
    background-color: var(--secondary-light);
    border-bottom: 1px solid var(--border-color);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}
.hero-title span {
    color: var(--text-main);
}

/* Premium Buttons */
.btn-primary-custom {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 0; /* Square buttons for premium feel */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background: var(--primary);
    color: var(--background);
}
.btn-accent-custom {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    transition: all 0.3s ease;
}
.btn-accent-custom:hover {
    background: var(--text-main);
    color: var(--background);
    border-color: var(--text-main);
}

/* Glassmorphic & Modern Cards -> Changed to Clean Minimal Cards */
.premium-card, .card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    color: var(--text-main);
}
.premium-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--text-main);
}

/* Service & Feature Cards */
.icon-container {
    width: 64px;
    height: 64px;
    background: transparent;
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.premium-card:hover .icon-container {
    background: var(--text-main);
    color: var(--background);
    border-color: var(--text-main);
    transform: scale(1.05);
}

/* Shop Layout Cards */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none !important;
    text-align: center;
}
.product-card:hover {
    box-shadow: none;
    border-color: transparent;
}
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
    width: 100%;
    background-color: var(--secondary-light);
    margin-bottom: 1rem;
}
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.product-card:hover .product-image {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--text-main);
    color: var(--background);
    font-weight: 500;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 10px;
    z-index: 2;
}

.product-card .card-body {
    padding: 0 !important;
}
.product-card h6 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}
.product-card .price {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}
.product-card .add-to-cart-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: var(--text-main);
    color: var(--background);
    border: none;
    padding: 10px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.product-image-wrapper:hover .add-to-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.product-card .add-to-cart-btn:hover {
    background: var(--accent);
}


/* Testimonial Card */
.testimonial-card {
    background: var(--secondary-light);
    border-radius: 0;
    padding: 3rem 2rem;
    border: none;
    text-align: center;
    position: relative;
}
.testimonial-card .fa-star {
    color: var(--accent);
    font-size: 14px;
}

/* Footer Section */
.footer-section {
    background-color: var(--secondary-light);
    color: var(--text-main);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--border-color);
}
.footer-title {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--text-main);
}
.footer-section .fa-brands {
    color: var(--text-main);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.footer-section .fa-brands:hover {
    background: var(--text-main);
    color: var(--background);
}

/* Premium Forms */
.form-control {
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    font-size: 15px;
    color: var(--text-main) !important;
    background: #111111 !important;
    transition: all 0.3s ease;
}
.form-control:focus {
    box-shadow: 0 0 0 2px rgba(211, 183, 113, 0.2);
    border-color: var(--accent);
    background: #000000 !important;
}
.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}
.form-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 5px;
}
/* Fix webkit autofill colors for dark mode */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--card-bg) inset !important;
    -webkit-text-fill-color: var(--text-main) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Micro-animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animated-element {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Utilities */
.text-muted {
    color: var(--text-muted) !important;
}
.text-white {
    color: var(--text-main) !important;
}
.bg-dark {
    background-color: var(--background) !important;
}
.text-slate-600 {
    color: #475569 !important;
}
.text-slate-800 {
    color: #1e293b !important;
}
[data-theme="dark"] .text-slate-600 {
    color: #94a3b8 !important;
}
[data-theme="dark"] .text-slate-800 {
    color: #f1f5f9 !important;
}
