/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: #1a1a2e; background: #faf9f7; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Colors */
:root {
  --plum: #4a1942;
  --plum-light: #5d2255;
  --gold: #c9a94d;
  --gold-light: #d4b86a;
  --cream: #faf9f7;
  --foreground: #1a1a2e;
  --muted: #6b6b80;
  --border: #e8e4df;
  --card: #ffffff;
  --secondary: #f5f0eb;
}

/* Top Bar */
.top-bar { background: var(--plum); color: var(--cream); font-size: 13px; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; max-width: 1280px; margin: 0 auto; }
.top-bar-left { display: flex; gap: 24px; }
.top-bar-link { color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.top-bar-link:hover { color: var(--gold); }
.top-bar-right { display: flex; gap: 16px; }
.top-bar-right a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.top-bar-right a:hover { color: var(--gold); }

/* Header */
.main-header { position: sticky; top: 0; z-index: 50; background: rgba(250,249,247,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-content { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 40px; height: 40px; background: var(--plum); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; }
.logo-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; line-height: 1; display: block; color: var(--foreground); }
.logo-subtitle { font-size: 11px; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; }

/* Navigation */
.desktop-nav { display: none; align-items: center; gap: 32px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--foreground); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.mobile-toggle { display: block; background: none; border: none; color: var(--foreground); cursor: pointer; }

/* Mobile Menu */
.mobile-menu { display: none; padding: 16px 24px; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-link { display: block; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--foreground); }
.mobile-link:hover { color: var(--gold); }

/* Buttons */
.btn-gold { background: var(--gold); color: var(--plum); padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; }
.btn-gold:hover { background: var(--gold-light); }
.btn-plum { background: var(--plum); color: var(--cream); padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(201,169,77,0.3); cursor: pointer; }
.btn-plum:hover { background: var(--plum-light); }
.btn-outline { background: transparent; color: var(--plum); padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; border: 1px solid var(--plum); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-outline:hover { background: var(--plum); color: var(--cream); }

/* Sections */
.section-padding { padding: 80px 0; }
.section-plum { background: var(--plum); color: var(--cream); }
.text-center { text-align: center; }
.gold-divider { width: 60px; height: 3px; background: var(--gold); margin: 16px auto 0; }

/* Typography */
.font-heading { font-family: 'Playfair Display', serif; }
.font-body { font-family: 'DM Sans', sans-serif; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-cream { color: var(--cream); }
.text-foreground { color: var(--foreground); }
.tracking-wider { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.7; }

/* Hero Slideshow */
.hero { min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; animation: zoomIn 10s ease-out forwards; }
@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.hero-slide.active img { animation: zoomIn 10s ease-out forwards; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(74,25,66,0.9), rgba(74,25,66,0.7), rgba(74,25,66,0.4)); }
.hero-content-wrapper { position: relative; z-index: 10; width: 100%; }
.hero-content { position: relative; max-width: 1280px; margin: 0 auto; padding: 96px 24px; max-width: 768px; opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; display: none; }
.hero-content.active { opacity: 1; transform: translateY(0); display: block; }
.hero-content .text-gold { animation: fadeInDown 0.8s ease forwards; }
.hero-content h1 { animation: fadeInUp 0.8s ease 0.2s both; }
.hero-content p { animation: fadeInUp 0.8s ease 0.4s both; }
.hero-content div { animation: fadeInUp 0.8s ease 0.6s both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Navigation */
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; background: rgba(255,255,255,0.2); color: white; border: none; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; backdrop-filter: blur(4px); }
.hero-nav:hover { background: rgba(255,255,255,0.3); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Hero Dots */
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 12px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.hero-dot.active { background: var(--gold); transform: scale(1.2); }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 64px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-5 { display: grid; grid-template-columns: 1fr; gap: 32px; }

/* Cards */
.card { background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; }
.card:hover { border-color: rgba(201,169,77,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.card-img { overflow: hidden; aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-category { font-size: 12px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.card-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; margin-top: 4px; }

/* Service Card */
.service-card { text-align: center; padding: 32px; background: var(--card); border-radius: 12px; border: 1px solid var(--border); transition: all 0.3s; }
.service-card:hover { border-color: rgba(201,169,77,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.service-icon { width: 64px; height: 64px; background: rgba(201,169,77,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.service-icon svg { width: 28px; height: 28px; color: var(--gold); }

/* Value Card */
.value-card { text-align: center; padding: 24px; }
.value-icon { width: 56px; height: 56px; background: rgba(201,169,77,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.value-icon svg { width: 24px; height: 24px; color: var(--gold); }

/* Footer */
.footer { background: var(--plum); color: var(--cream); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { width: 40px; height: 40px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--plum); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; }
.footer-logo-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; display: block; }
.footer-logo-subtitle { font-size: 11px; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-heading { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--gold); margin-bottom: 16px; font-size: 16px; }
.footer-link { display: block; font-size: 14px; color: rgba(255,255,255,0.7); padding: 4px 0; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }
.footer-text { font-size: 14px; color: rgba(255,255,255,0.7); padding: 4px 0; }
.footer-contact { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.7); padding: 6px 0; transition: color 0.2s; }
.footer-contact:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--cream); transition: all 0.2s; }
.social-icon:hover { background: var(--gold); color: var(--plum); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom p:last-child { margin-top: 4px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--foreground); }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'DM Sans', sans-serif; background: var(--card); transition: border-color 0.2s; }
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,77,0.1); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }

/* Admin Styles */
.admin-body { background: #f5f5f5; }
.admin-sidebar { position: fixed; left: 0; top: 0; width: 250px; height: 100vh; background: var(--plum); color: var(--cream); padding: 24px; overflow-y: auto; }
.admin-logo { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); margin-bottom: 32px; }
.admin-nav { list-style: none; }
.admin-nav li { margin-bottom: 8px; }
.admin-nav a { display: block; padding: 10px 16px; border-radius: 8px; color: rgba(255,255,255,0.7); transition: all 0.2s; font-size: 14px; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.1); color: var(--gold); }
.admin-content { margin-left: 250px; padding: 32px; }
.admin-card { background: white; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 12px; border-bottom: 2px solid var(--border); font-weight: 600; font-size: 14px; }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.admin-table tr:hover { background: var(--secondary); }
.badge { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.badge-active { background: #d4edda; color: #155724; }
.badge-inactive { background: #f8d7da; color: #721c24; }
.badge-deleted { background: #e2e3e5; color: #383d41; }

/* Login */
.login-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--plum); }
.login-box { background: white; padding: 48px; border-radius: 16px; width: 100%; max-width: 400px; }
.login-title { font-family: 'Playfair Display', serif; font-size: 28px; text-align: center; margin-bottom: 8px; }
.login-subtitle { text-align: center; color: var(--muted); margin-bottom: 32px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* How It Works */
.step { text-align: center; }
.step-number { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--gold); }

/* Clients */
.client-badge { padding: 16px 32px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: rgba(255,255,255,0.7); font-size: 14px; }

/* Responsive */
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
