@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');
/* Animation */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

.animate-fade-in.delay-100 {
    animation-delay: 0.2s;
}

.animate-fade-in.delay-200 {
    animation-delay: 0.4s;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.navbar-slide {
    animation: slideDown 0.5s ease-out forwards;
}
/* Modern Styles */
:root {
  --cream: #F5F1E8;
  --warm-beige: #E8D9C5;
  --rust: #B38A58;
  --dark-brown: rgba(58, 46, 38, 0.9);
--ivory: #FFFDF5;
  --shadow: rgba(179, 138, 88, 0.15);
}
body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--cream);
    color: rgba(58, 46, 38, 0.9);
line-height: 1.8;
    letter-spacing: 0.02em;
}
.font-serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--rust);
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.candle-flicker {
  animation: flicker 3s ease-in-out infinite alternate;
}
/* Elegant Buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    opacity: 0.1;
}
.btn-primary {
    background: linear-gradient(135deg, var(--rust), #9C6D3D);
    border: 1px solid var(--rust);
    color: var(--ivory);
    box-shadow: 0 4px 15px rgba(179, 138, 88, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(179, 138, 88, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--rust);
    color: var(--dark-brown);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(179, 138, 88, 0.1);
    box-shadow: 0 4px 15px rgba(179, 138, 88, 0.1);
    transform: translateY(-3px);
}
.btn-outline:hover {
    box-shadow: 0 4px 20px var(--shadow);
}
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.top-nav-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.top-nav-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
/* Modern Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(248, 243, 237, 0.9);
    border-bottom: 1px solid rgba(220, 199, 170, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.nav-link {
    position: relative;
    color: var(--dark-brown);
    font-weight: 500;
    transition: all 0.3s ease;
}

.dark .nav-link {
    color: #f3f4f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rust);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.dark .nav-logo {
    color: #f3f4f6;
}

.nav-toggle {
    color: #1a1a1a;
}

.dark .nav-toggle {
    color: #f3f4f6;
}
/* Glow effect for candles */
.candle-glow {
    position: relative;
}
.candle-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(248, 194, 145,0.2) 0%, rgba(248, 194, 145,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.candle-glow:hover::after {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--espresso);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--flame);
}
/* Admin Panel Styles */
.admin-card {
    @apply bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 text-center flex flex-col items-center;
}

.admin-card i {
    @apply text-[#B38A58] mb-4;
}

.admin-card h3 {
    @apply text-xl font-serif font-bold text-[#7A6D5D];
}

.admin-form {
    @apply bg-white p-8 rounded-xl shadow-lg mb-12;
}

.admin-form label {
    @apply block text-sm font-medium text-amber-700 mb-2;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    @apply w-full px-4 py-3 bg-[#F5E9D9] border border-[#B38A58] rounded-lg focus:ring-[#B38A58] focus:border-[#B38A58] text-[#3A2E26] placeholder-[#A08B77];
}

.admin-form button {
    @apply btn btn-primary w-full py-4 px-6 rounded-lg text-white font-medium;
}

/* Candle glow effects */
@keyframes gentle-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(201, 169, 106, 0.3); }
    50% { box-shadow: 0 0 20px rgba(201, 169, 106, 0.5); }
}

.glow-effect {
    animation: gentle-glow 4s ease-in-out infinite alternate;
}

/* Image hover effects */
.product-image {
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
}

.product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(201, 169, 106, 0.4);
}
/* Section styling */
.section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--cream), var(--warm-beige));
    border-top: 1px solid rgba(220, 199, 170, 0.2);
    border-bottom: 1px solid rgba(220, 199, 170, 0.2);
}
