/* ============================= */
/* SANDWICH & PUF PANEL WEBSITE */
/* Color Theme & Global Styles  */
/* ============================= */

:root {
  --primary-dark: #1e3d6e;
  --primary-medium: #f7941d;
  --primary-light: #f9a84e;
  --primary-lighter: #fbd5a5;
  --primary-lightest: #fdeede;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-light: #e0e0e0;
  --white: #ffffff;
  --success: #27ae60;
  --error: #e74c3c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

/* ============================= */
/* TYPOGRAPHY & TEXT STYLES     */
/* ============================= */

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-medium);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

a {
  color: var(--primary-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* ============================= */
/* HEADER & NAVIGATION          */
/* ============================= */

header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(30, 61, 110, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* ============================= */
/* MOBILE MENU                   */
/* ============================= */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 6px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  background-color: var(--primary-lightest);
  color: var(--primary-dark);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(247, 148, 29, 0.35);
  color: var(--white);
}

/* ============================= */
/* HERO SECTION                  */
/* ============================= */

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .cta-button {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
}

.hero .cta-button:hover {
  background: var(--primary-lightest);
}

/* ============================= */
/* CONTAINER & SECTIONS         */
/* ============================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 2rem;
}

section.light-bg {
  background-color: rgba(253, 238, 222, 0.35);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-top: 0;
}

/* ============================= */
/* GRID LAYOUTS                  */
/* ============================= */

.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-intro {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

@media (max-width: 768px) {
  .grid-intro {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  nav {
    gap: 1rem;
  }
}

/* ============================= */
/* CARDS - PRODUCTS             */
/* ============================= */

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(30, 61, 110, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30, 61, 110, 0.15);
}

.product-card-image {
  width: 100%;
  height: 250px;
  /* background: linear-gradient(135deg, var(--primary-lightest) 0%, var(--primary-lighter) 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.product-card .badge {
  display: inline-block;
  background: var(--primary-lightest);
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-card ul {
  list-style: none;
  margin: 1rem 0;
  flex-grow: 1;
}

.product-card ul li {
  padding: 0.4rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.product-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-medium);
  font-weight: bold;
}

.product-card .cta-button {
  align-self: flex-start;
  margin-top: 1rem;
}

/* ============================= */
/* CARDS - FEATURES             */
/* ============================= */

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border-top: 4px solid var(--primary-medium);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(30, 61, 110, 0.05);
}

.feature-card:hover {
  box-shadow: 0 8px 20px rgba(30, 61, 110, 0.12);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-lightest);
  border-radius: 50%;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-medium);
  fill: none;
  stroke-width: 2;
}

/* ============================= */
/* CONTACT FORM                 */
/* ============================= */

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(30, 61, 110, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(30, 61, 110, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.required::after {
  content: ' *';
  color: var(--error);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(247, 148, 29, 0.35);
}

.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  border: 1px solid var(--success);
}

.form-message.error {
  display: block;
  background: rgba(231, 76, 60, 0.1);
  color: var(--error);
  border: 1px solid var(--error);
}

/* ============================= */
/* FOOTER                        */
/* ============================= */

footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-section p{
  color:white;
}
.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================= */
/* UTILITY CLASSES              */
/* ============================= */

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

/* ============================= */
/* RESPONSIVE DESIGN            */
/* ============================= */

@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }

  .header-container {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(30, 61, 110, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    order: 3;
  }

  nav.mobile-open {
    max-height: 400px;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
  }

  nav a:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .logo img {
    height: 80px;
  }

  nav a {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .product-card-image {
    height: 200px;
  }

  .contact-form {
    padding: 1rem;
  }
}
