/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Reset and CSS Variables */
:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-card: #181820;
  
  --accent-crimson: #8b1825;
  --accent-crimson-hover: #a82030;
  --accent-gold: #d4af37;
  --accent-gold-hover: #f3cf5a;
  --accent-gold-rgb: 212, 175, 55;
  
  --text-primary: #f8f9fa;
  --text-secondary: #b0b3b8;
  --text-muted: #6c757d;
  
  --border-color: rgba(212, 175, 55, 0.15);
  --border-glow: rgba(212, 175, 55, 0.08);
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(139, 24, 37, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* Typography Customizations */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
}

/* Traditional Border Deco Line */
.deco-border {
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    var(--accent-gold),
    var(--accent-gold) 4px,
    var(--bg-primary) 4px,
    var(--bg-primary) 8px,
    var(--accent-crimson) 8px,
    var(--accent-crimson) 12px,
    var(--bg-primary) 12px,
    var(--bg-primary) 16px
  );
  width: 100%;
  opacity: 0.8;
  position: relative;
}

.deco-border::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.5;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
}

.logo-tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent-gold);
  margin-top: 0.1rem;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.badge-new {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-title span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold) 30%, #fef3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  max-width: 540px;
}

/* Hero Image Card with Gold Frame */
.hero-image-wrapper {
  position: relative;
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, rgba(212,175,55,0.1) 50%, var(--accent-crimson) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.05);
}

.hero-image-frame {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

/* Weaving Overlay motif effect */
.hero-image-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

/* Beautiful Countdown Timer */
.countdown-box {
  margin-top: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
}

.countdown {
  display: flex;
  gap: 1.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.countdown-number {
  font-size: 2.2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.countdown-unit {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.countdown-divider {
  font-size: 2rem;
  font-family: var(--font-serif);
  color: var(--border-color);
  align-self: center;
}

/* CTA buttons styling */
.cta-group {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8911d 100%);
  color: #000000;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}

/* About Heritage Section */
.about-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  font-weight: 600;
}

.section-title {
  font-size: 2.6rem;
  color: var(--text-primary);
}

.section-title span {
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-serif);
}

.grid-heritage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.heritage-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.heritage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.heritage-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.heritage-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Call to Action - Launch Signup */
.inquiry-section {
  padding: 8rem 0;
  position: relative;
  text-align: center;
}

.inquiry-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.form-group-row {
  display: flex;
  gap: 1rem;
}

.form-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Success notification message */
.form-message {
  display: none;
  padding: 1rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid #25d366;
  border-radius: 4px;
  color: #25d366;
  font-size: 0.9rem;
  text-align: center;
  animation: fadeIn 0.4s ease forwards;
}

/* WhatsApp Floating CTA Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background-color: #25d366;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.03);
  background-color: #20ba5a;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 0;
  bottom: 120%;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  background-color: #070709;
  padding: 4rem 0 2rem 0;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-about p {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-title {
  color: var(--accent-gold);
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-info {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-info span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    border-color: rgba(212, 175, 55, 1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiveness Settings */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .badge-new {
    align-self: center;
  }
  
  .hero-image-frame {
    height: 400px;
  }
  
  .countdown-box {
    margin: 1rem auto 0 auto;
  }
  
  .grid-heritage {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-image-frame {
    height: 300px;
  }
  
  .form-group-row {
    flex-direction: column;
  }
  
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  .floating-whatsapp-tooltip {
    display: none; /* Hide tooltips on touch devices */
  }
}
