/* ==========================================
   SHREE TIFFIN SERVICE - MODERN WEBSITE CSS
   ========================================== */

/* ==========================================
   CSS VARIABLES & RESET
   ========================================== */
:root {
  --primary-color: #f28a2e;
  --primary-light: #ffb860;
  --primary-dark: #e67e1f;
  --secondary-color: #2d2d2d;
  --secondary-light: #4a4a4a;
  --accent-color: #27ae60;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #fff9f3;
  --bg-lighter: #fffbf5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  font-size: 28px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
  font-size: 15px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  background: linear-gradient(135deg, #f28a2e 0%, #ffb860 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(20px); }
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: 300;
  min-height: 32px;
}

.hero .cta-btn {
  margin: 0 10px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(242, 138, 46, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 50px;
  text-align: center;
  color: var(--text-dark);
}

.section-title span {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   FEATURES GRID
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================================
   IMAGE & TEXT BLOCKS
   ========================================== */
.block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin: 80px 0;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.block-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.block-image:hover img {
  transform: scale(1.05);
}

.block-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.block-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.9;
}

.block.reverse {
  direction: rtl;
}

.block.reverse > * {
  direction: ltr;
}

/* ==========================================
   LIST STYLING
   ========================================== */
ul.highlights {
  list-style: none;
  margin: 20px 0;
}

ul.highlights li {
  padding: 10px 0 10px 40px;
  position: relative;
  font-size: 16px;
  color: var(--text-dark);
}

ul.highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 20px;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 60px;
}

.contact-info {
  background: linear-gradient(135deg, #f28a2e 0%, #ffb860 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-item {
  margin-bottom: 25px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(242, 138, 46, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: linear-gradient(135deg, var(--secondary-color), #1a1a1a);
  color: white;
  padding: 60px 20px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--primary-light);
}

.footer-section p,
.footer-section a {
  color: #bbb;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

/* ==========================================
   MAP SECTION
   ========================================== */
.map-section {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-link::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero {
    padding: 60px 20px;
  }

  .block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .block.reverse {
    direction: ltr;
  }

  .section-title {
    font-size: 32px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }

  .map-section iframe {
    height: 300px;
  }

  section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 60px;
  }

  .logo {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 25px;
  }

  .block-text h2 {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
    display: block;
    width: 100%;
  }

  .map-section iframe {
    height: 250px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
