/* Reset + fonts */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: 'Helvetica Neue', Arial, sans-serif; 
  color: #fff; 
  background: #000;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

h1, h2, h3, .logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.85));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 138, 87, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled {
  padding: 1rem 3rem;
  background: rgba(0,0,0,0.95);
}
.logo { 
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; 
  letter-spacing: 3px;
  font-size: 1.4rem;
  color: #c48a57;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  background: linear-gradient(45deg, #c48a57, #e2b182);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding: 0.5rem 1rem;
}

.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(196, 138, 87, 0.3);
  transform: skew(-5deg);
  transition: all 0.3s ease;
  opacity: 0;
}
.logo:hover {
  transform: translateY(-1px);
  text-shadow: 0 5px 15px rgba(196, 138, 87, 0.3);
}

.logo:hover::after {
  opacity: 1;
  transform: skew(-5deg) scale(1.05);
}

nav { 
  display: flex; 
  gap: 2rem; 
}

nav a { 
  color: #fff; 
  text-decoration: none; 
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #c48a57;
  transition: width 0.3s ease;
}

nav a:hover { 
  color: #c48a57;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle { 
  display: none; 
  background: none; 
  border: none; 
  font-size: 1.5rem; 
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #c48a57;
}

/* Hero */
.hero {
  height: 100vh;
  background: url('/public/assets/chaigudi-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.9) 100%
  );
}
.hero .overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.5s;
}

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

/* Main content */
main {
  min-height: calc(100vh - 60px);
  padding: 2rem;
  position: relative;
  transition: opacity 0.3s ease;
  background: url('/public/assets/chaigudi-bg.jpg') fixed center/cover no-repeat;
}
main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.85)
  );
  z-index: 1;
}
main > * {
  position: relative;
  z-index: 2;
}
main h1, main h2, main p, main li { color: #fff; }
main p { margin: 1rem 0; line-height: 1.6; }

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.95);
  border-top: 1px solid rgba(196, 138, 87, 0.1);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.developer-credit {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.developer-credit a {
  color: #c48a57;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.developer-credit a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c48a57;
  transition: width 0.3s ease;
}

.developer-credit a:hover {
  color: #e2b182;
}

.developer-credit a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 1rem 2rem;
  }
  
  .logo {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  nav { 
    position: absolute;
    top: 72px;
    right: 20px;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    display: none;
    border: 1px solid rgba(196, 138, 87, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  }

  nav.open { 
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .menu-toggle { 
    display: block;
  }

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

.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(196, 138, 87, 0.1);
  position: relative;
  z-index: 2;
}
.page h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #c48a57;
  display: inline-block;
  padding-bottom: 0.25rem;
}
.page p, .page li {
  color: #ddd;
  line-height: 1.6;
}
.page a {
  color: #c48a57;
  text-decoration: none;
}
.page a:hover {
  text-decoration: underline;
}
.page ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

/* Home Page Specific */
.home-page {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.tagline {
  text-align: center;
  margin: 2rem 0 4rem;
  padding: 4rem 1rem;
}

.tagline h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.highlight-card {
  background: rgba(196, 138, 87, 0.05);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(196, 138, 87, 0.1);
  backdrop-filter: blur(10px);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: rgba(196, 138, 87, 0.1);
  border-color: rgba(196, 138, 87, 0.2);
}

.highlight-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  color: #c48a57;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.highlight-card p {
  color: #ddd;
  line-height: 1.6;
}

/* Benefits Section Styles */
.benefits-section {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  margin: 2rem 0;
  border-radius: 12px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards 0.3s;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #c48a57;
  margin-bottom: 3rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(196, 138, 87, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(196, 138, 87, 0.2);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(196, 138, 87, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: #c48a57;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.benefit-card p {
  color: #ddd;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .benefits-section {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .benefits-grid {
    gap: 1rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Franchise Page Styles */
.franchise-page {
  background: rgba(0,0,0,0.85);
}

/* Process Section */
.franchise-process {
  padding: 4rem 0;
}

.franchise-process h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #c48a57;
  margin-bottom: 4rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.step {
  background: rgba(196, 138, 87, 0.05);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  border: 1px solid rgba(196, 138, 87, 0.1);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  background: rgba(196, 138, 87, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: #c48a57;
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step h3 {
  color: #c48a57;
  margin-bottom: 1rem;
  padding-top: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
}

/* How Franchise Work Section */
.franchise-work {
  padding: 4rem 0;
  background: rgba(0,0,0,0.5);
  border-radius: 12px;
  margin: 2rem 0;
}

.franchise-work h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #c48a57;
  margin-bottom: 4rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 0 2rem;
}

.work-item {
  text-align: center;
  padding: 2rem;
  background: rgba(196, 138, 87, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
  background: rgba(196, 138, 87, 0.1);
}

.franchise-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: rgba(196, 138, 87, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.work-item:hover .franchise-icon {
  transform: scale(1.1);
  background: rgba(196, 138, 87, 0.2);
}

.work-item h3 {
  color: #c48a57;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .steps-container,
  .work-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .franchise-process,
  .franchise-work {
    padding: 3rem 0;
  }
}
