/* =====================================================
   SANJEEVANI ART & CRAFTS - MAIN STYLESHEET
   Premium Spiritual & Traditional Murti-Making Brand
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #EF6800;
  --color-secondary: #C1C1C1;
  --color-dark-text: #625C5C;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-light-gray: #F8F8F8;
  --color-border: #E5E5E5;
  
  --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-family-heading: 'Georgia', serif;
  
  --transition-smooth: all 0.3s ease;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 20px rgba(239, 104, 0, 0.15);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  color: var(--color-dark-text);
  background-color: var(--color-white);
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: var(--font-family-heading);
  font-size: 3rem;
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-family-heading);
  font-size: 2.25rem;
  color: var(--color-black);
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  color: var(--color-black);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-dark-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-black);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  font-size: 1rem;
  text-decoration: none;
  font-family: var(--font-family-primary);
}

.btn:hover {
  background-color: var(--color-black);
  border-color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-light-gray);
  color: var(--color-black);
}

.btn-secondary {
  background-color: var(--color-dark-text);
  border-color: var(--color-dark-text);
}

.btn-secondary:hover {
  background-color: var(--color-black);
  border-color: var(--color-black);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--color-light-gray);
}

.section-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-dark-text);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 1rem auto 2rem;
}

/* ===== TOP BAR ===== */
.top-bar {
  background-color: var(--color-light-gray);
  padding: 12px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-dark-text);
}

.top-bar-item a {
  color: var(--color-dark-text);
}

.top-bar-item a:hover {
  color: var(--color-primary);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  background-color: var(--color-white);
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.header.sticky {
  box-shadow: var(--shadow-medium);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.logo {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  min-width: 200px;
}

.logo small {
  display: block;
  font-size: 0.65rem;
  color: var(--color-dark-text);
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 4px;
}

.nav {
  flex: 1;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.nav a {
  color: var(--color-dark-text);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
}

.header-cta {
  display: flex;
  gap: 15px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-black);
  margin: 5px 0;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23EF6800" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 550px;
}

.hero-tagline {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-dark-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #FF8C42 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  padding: 40px;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.hero-image::before {
  content: '🙏';
  position: absolute;
  font-size: 8rem;
  opacity: 0.1;
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview {
  background-color: var(--color-white);
}

.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #FFE5CC 0%, #FFD699 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-text);
  font-size: 1rem;
  text-align: center;
  padding: 40px;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.about-preview-image::before {
  content: '🎨';
  position: absolute;
  font-size: 8rem;
  opacity: 0.1;
}

.about-preview-text h2 {
  margin-bottom: 1.5rem;
}

.about-preview-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-preview-highlights {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.highlight-icon {
  width: 30px;
  height: 30px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  font-weight: bold;
}

.highlight-text h4 {
  margin-bottom: 0.25rem;
}

.highlight-text p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===== OFFERINGS SECTION ===== */
.offerings {
  background-color: var(--color-light-gray);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.offering-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  border-top: 4px solid transparent;
}

.offering-card:hover {
  border-top-color: var(--color-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.offering-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.offering-card h3 {
  margin-bottom: 1rem;
}

/* ===== COLLECTIONS SECTION ===== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.collection-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.collection-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}

.collection-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #F0E6D2 0%, #E8D4BC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.collection-card:nth-child(2) .collection-image {
  background: linear-gradient(135deg, #F5E6D3 0%, #EDDBCD 100%);
}

.collection-card:nth-child(3) .collection-image {
  background: linear-gradient(135deg, #F0E5D8 0%, #E9D7C9 100%);
}

.collection-card:nth-child(4) .collection-image {
  background: linear-gradient(135deg, #F5EBE0 0%, #EDDCC9 100%);
}

.collection-card:nth-child(5) .collection-image {
  background: linear-gradient(135deg, #F2E8DC 0%, #EADACB 100%);
}

.collection-card:nth-child(6) .collection-image {
  background: linear-gradient(135deg, #F0E9DF 0%, #E8DCC8 100%);
}

.collection-info {
  padding: 25px 20px;
  text-align: center;
}

.collection-info h3 {
  margin-bottom: 0.75rem;
}

.collection-info p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose {
  background-color: var(--color-white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.reason-item {
  text-align: center;
}

.reason-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.reason-item h3 {
  margin-bottom: 1rem;
}

/* ===== BANNER SECTION ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #FF8C42 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== GALLERY PREVIEW SECTION ===== */
.gallery-preview {
  background-color: var(--color-light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 280px;
  border-radius: 8px;
  background: linear-gradient(135deg, #DDD 0%, #CCC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background-color: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--color-light-gray);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-light);
}

.testimonial-stars {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-dark-text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-black);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-black);
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
  color: var(--color-dark-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(239, 104, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.contact-details h3 {
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.contact-details p {
  margin: 0;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.footer-section a:hover {
  color: var(--color-primary);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background-color: rgba(239, 104, 0, 0.7);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 15px;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .top-bar-left,
  .top-bar-right {
    flex-direction: column;
    gap: 10px;
  }

  .header-content {
    gap: 20px;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-light);
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-image {
    height: 300px;
  }

  .about-preview-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-preview-image {
    height: 300px;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .collections-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .collection-image {
    height: 200px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-item {
    height: 200px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .header-cta {
    flex-direction: column;
    width: 100%;
  }

  .header-cta .btn {
    width: 100%;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .about-preview-highlights {
    gap: 12px;
  }

  .highlight-text h4 {
    font-size: 1rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.85rem;
  }

  .hero-image {
    height: 250px;
    padding: 20px;
  }

  .offering-card {
    padding: 25px 15px;
  }

  .offering-icon {
    font-size: 2.5rem;
  }

  .collection-image {
    height: 180px;
  }

  .collection-info {
    padding: 15px 10px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 200px;
  }

  .footer-content {
    gap: 20px;
  }

  .reason-number {
    font-size: 2.5rem;
  }

  .cta-banner {
    padding: 50px 0;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .cta-banner p {
    font-size: 1rem;
  }

  .contact-form {
    gap: 15px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .logo {
    font-size: 1.2rem;
    min-width: 150px;
  }
}

/* ===== ACCESSIBILITY & UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.hidden {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Loading animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: slideIn 0.6s ease-out;
}
