/* ===== ELICA WEBSITE - GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #1a1a2e;
  --accent: #e63946;
  --gold: #c9a84c;
  --light: #f8f5f0;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--primary);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(26,26,46,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
}
.nav-logo img { height: 36px; }
.nav-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 700;
  color: var(--white); letter-spacing: 2px;
}
.nav-logo span em {
  color: var(--gold); font-style: normal;
}
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.92rem;
  font-weight: 500; letter-spacing: 0.5px;
  position: relative; padding-bottom: 3px;
  transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 0.5rem 1.4rem; border-radius: 50px;
  font-weight: 600; letter-spacing: 0.5px;
  transition: var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #c0303c !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; cursor: pointer; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: var(--transition);
}
.mobile-menu {
  display: none; background: var(--primary);
  flex-direction: column; padding: 1.5rem 2rem; gap: 1.2rem;
}
.mobile-menu a { color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.75rem 2rem; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  font-weight: 600; cursor: pointer; border: none;
  transition: var(--transition); letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 16px rgba(230,57,70,0.30);
}
.btn-primary:hover { background: #c0303c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,0.35); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-gold {
  background: var(--gold); color: var(--primary);
  box-shadow: 0 4px 16px rgba(201,168,76,0.30);
}
.btn-gold:hover { background: #b8963e; transform: translateY(-2px); }

/* ===== SECTION COMMON ===== */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-tag {
  display: inline-block; background: rgba(230,57,70,0.08);
  color: var(--accent); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 50px;
  border: 1px solid rgba(230,57,70,0.2); margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600;
  margin-bottom: 1rem; color: var(--primary);
}
.section-title span { color: var(--accent); }
.section-subtitle {
  font-size: 1.05rem; color: var(--gray);
  max-width: 540px; line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  margin: 1rem 0 1.5rem; font-size: 0.92rem; line-height: 1.75; max-width: 300px;
}
.footer-brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--white); letter-spacing: 2px;
}
.footer-brand .brand-name em { color: var(--gold); font-style: normal; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.88rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.75rem; font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item .icon { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

/* ===== MODAL / FORM ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: 20px;
  max-width: 520px; width: 100%; padding: 2.5rem;
  position: relative; animation: modalIn 0.35s ease;
  max-height: 90vh; overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--light-gray); border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gray); transition: var(--transition);
}
.modal-close:hover { background: var(--accent); color: var(--white); }
.modal-product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; margin-bottom: 0.3rem;
}
.modal-product-sub { font-size: 0.88rem; color: var(--gray); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--primary); margin-bottom: 0.4rem; letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  color: var(--primary); background: var(--white);
  transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230,57,70,0.08);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  text-align: center; padding: 1.5rem;
  display: none;
}
.form-success .success-icon {
  font-size: 2.5rem; color: #22c55e; margin-bottom: 0.75rem;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--gray); font-size: 0.92rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.animate { animation: fadeInUp 0.65s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
