/* ============================================
   The BAG Web Studio - Main Stylesheet
   Gautam Maramraju - Website Developer
   ============================================ */

:root {
  --primary: #1a1a2e;
  --primary-light: #2d2d3d;
  --accent: #b8860b;
  --accent-hover: #8b6914;
  --gold: #c9a227;
  --light-yellow: #fffef5;
  --light-yellow-alt: #fefce8;
  --text: #2d2d2d;
  --text-muted: #5c5c5c;
  --bg-dark: #ffffff;
  --bg-cream: #fafaf8;
  --card-bg: #ffffff;
  --border: rgba(184, 134, 11, 0.25);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
  padding: 1rem 2rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 100px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:not(.active):hover {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--light-yellow) 50%, #fffef0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1rem;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-text .name {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

.btn-gold {
  background: var(--gold);
  color: white;
}

.btn-gold:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
}

/* Section Styling */
section {
  padding: 5rem 0;
}

section.section-alt {
  background: var(--light-yellow);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.card {
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: var(--shadow-hover);
}

.service-card:hover .price {
  color: var(--accent);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-item .content {
  padding: 1.5rem;
}

.portfolio-item .tag {
  display: inline-block;
  background: var(--light-yellow-alt);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(184, 134, 11, 0.2);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: Georgia, serif;
}

.testimonial-card p {
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--accent);
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: var(--light-yellow);
  color: var(--accent);
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: var(--light-yellow-alt);
}

/* Resume Writing */
.resume-tier {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.resume-tier:hover {
  border-color: var(--accent);
}

.resume-tier.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

/* Footer */
.footer {
  background: var(--light-yellow);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: var(--text-muted);
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  color: var(--text-muted);
}

/* Razorpay */
.razorpay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #3395ff;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.razorpay-btn:hover {
  background: #2678d4;
}

/* Category Badge */
.category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--light-yellow-alt);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(184, 134, 11, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    height: 70px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   THEME OPTIONS - Add class to <body> to apply
   e.g. <body class="theme-2">
   ============================================ */

/* Theme 1 (Light): White + Gold - DEFAULT - Current */
body.theme-1,
body:not([class*="theme-"]) {
  /* Uses :root values */
}

/* Theme 2 (Light): White + Ocean Blue */
body.theme-2 {
  --primary: #0f3460;
  --accent: #0f3460;
  --accent-hover: #16213e;
  --gold: #1a5f7a;
  --light-yellow: #f0f7ff;
  --light-yellow-alt: #e8f4f8;
  --text: #2d2d2d;
  --text-muted: #5c5c5c;
  --border: rgba(15, 52, 96, 0.2);
}
body.theme-2 .navbar { background: rgba(255,255,255,0.98); border-color: rgba(15,52,96,0.15); }
body.theme-2 .hero { background: linear-gradient(135deg, #fff 0%, #f0f7ff 50%, #e8f4f8 100%); }
body.theme-2 .hero::before { background: radial-gradient(circle at 80% 20%, rgba(26,95,122,0.08) 0%, transparent 50%); }
body.theme-2 .section-alt { background: var(--light-yellow); }
body.theme-2 .footer { background: var(--light-yellow); }

/* Theme 3 (Light): Cream + Forest Green */
body.theme-3 {
  --primary: #1b4332;
  --accent: #2d6a4f;
  --accent-hover: #1b4332;
  --gold: #40916c;
  --light-yellow: #f8fdf9;
  --light-yellow-alt: #ecf8f0;
  --text: #2d2d2d;
  --text-muted: #5c5c5c;
  --border: rgba(45,106,79,0.2);
}
body.theme-3 .navbar { background: rgba(255,255,255,0.98); border-color: rgba(45,106,79,0.15); }
body.theme-3 .hero { background: linear-gradient(135deg, #fff 0%, #f8fdf9 50%, #ecf8f0 100%); }
body.theme-3 .hero::before { background: radial-gradient(circle at 80% 20%, rgba(64,145,108,0.08) 0%, transparent 50%); }
body.theme-3 .section-alt { background: var(--light-yellow); }
body.theme-3 .footer { background: var(--light-yellow); }

/* Theme 4 (Dark): Navy + Cyan */
body.theme-4 {
  --primary: #0a1628;
  --primary-light: #132f4c;
  --accent: #00d4ff;
  --accent-hover: #5ce1ff;
  --gold: #00d4ff;
  --light-yellow: #0d2137;
  --light-yellow-alt: #132f4c;
  --text: #e8f4f8;
  --text-muted: #94a3b8;
  --bg-dark: #0a1628;
  --card-bg: rgba(19, 47, 76, 0.9);
  --border: rgba(0, 212, 255, 0.25);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
}
body.theme-4 .navbar { background: rgba(10, 22, 40, 0.98); border-color: rgba(0,212,255,0.2); }
body.theme-4 .nav-links a { color: var(--text); }
body.theme-4 .hero { background: linear-gradient(135deg, #0a1628 0%, #132f4c 50%, #0d2137 100%); }
body.theme-4 .hero::before { background: radial-gradient(circle at 80% 20%, rgba(0,212,255,0.1) 0%, transparent 50%); }
body.theme-4 .hero-text h1 { background: linear-gradient(135deg, #fff 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; }
body.theme-4 .section-title h2 { color: #fff; }
body.theme-4 .section-alt { background: var(--primary-light); }
body.theme-4 .footer { background: var(--primary); }
body.theme-4 .menu-toggle { color: var(--text); }

/* Theme 5 (Dark): Charcoal + Coral Red */
body.theme-5 {
  --primary: #1a1a1a;
  --primary-light: #2d2d2d;
  --accent: #ff6b6b;
  --accent-hover: #ff8787;
  --gold: #ff6b6b;
  --light-yellow: #252525;
  --light-yellow-alt: #2d2d2d;
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --bg-dark: #1a1a1a;
  --card-bg: rgba(45, 45, 45, 0.9);
  --border: rgba(255, 107, 107, 0.3);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
}
body.theme-5 .navbar { background: rgba(26, 26, 26, 0.98); border-color: rgba(255,107,107,0.2); }
body.theme-5 .nav-links a { color: var(--text); }
body.theme-5 .hero { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #252525 100%); }
body.theme-5 .hero::before { background: radial-gradient(circle at 80% 20%, rgba(255,107,107,0.1) 0%, transparent 50%); }
body.theme-5 .hero-text h1 { background: linear-gradient(135deg, #fff 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; }
body.theme-5 .section-title h2 { color: #fff; }
body.theme-5 .section-alt { background: var(--primary-light); }
body.theme-5 .footer { background: var(--primary); }
body.theme-5 .menu-toggle { color: var(--text); }

/* Theme 6 (Dark): Slate + Emerald */
body.theme-6 {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #10b981;
  --accent-hover: #34d399;
  --gold: #10b981;
  --light-yellow: #1e293b;
  --light-yellow-alt: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --bg-dark: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.9);
  --border: rgba(16, 185, 129, 0.3);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
}
body.theme-6 .navbar { background: rgba(15, 23, 42, 0.98); border-color: rgba(16,185,129,0.2); }
body.theme-6 .nav-links a { color: var(--text); }
body.theme-6 .hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); }
body.theme-6 .hero::before { background: radial-gradient(circle at 80% 20%, rgba(16,185,129,0.1) 0%, transparent 50%); }
body.theme-6 .hero-text h1 { background: linear-gradient(135deg, #fff 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; }
body.theme-6 .section-title h2 { color: #fff; }
body.theme-6 .section-alt { background: var(--primary-light); }
body.theme-6 .footer { background: var(--primary); }
body.theme-6 .menu-toggle { color: var(--text); }

/* Dark theme form overrides */
body.theme-4 .form-group input,
body.theme-4 .form-group textarea,
body.theme-4 .form-group select,
body.theme-5 .form-group input,
body.theme-5 .form-group textarea,
body.theme-5 .form-group select,
body.theme-6 .form-group input,
body.theme-6 .form-group textarea,
body.theme-6 .form-group select {
  background: var(--primary-light);
  border-color: var(--border);
  color: var(--text);
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.theme-switcher h4 {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.theme-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.theme-btn:hover {
  transform: scale(1.1);
}

.theme-btn.active {
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--accent);
}

.theme-btn[data-theme="1"] { background: linear-gradient(135deg, #fff 0%, #fefce8 100%); }
.theme-btn[data-theme="2"] { background: linear-gradient(135deg, #fff 0%, #0f3460 100%); }
.theme-btn[data-theme="3"] { background: linear-gradient(135deg, #f8fdf9 0%, #2d6a4f 100%); }
.theme-btn[data-theme="4"] { background: linear-gradient(135deg, #0a1628 0%, #00d4ff 100%); }
.theme-btn[data-theme="5"] { background: linear-gradient(135deg, #1a1a1a 0%, #ff6b6b 100%); }
.theme-btn[data-theme="6"] { background: linear-gradient(135deg, #0f172a 0%, #10b981 100%); }
