/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #023047;
  background-color: #ffffff;
}

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

/* Header & Navigation */
.site-header {
  background: white;
  color: #023047;
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-header .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #023047;
}

.logo img {
  width: 150px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 20px;
}

.main-nav a {
  color: #023047;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fb8500;
}

/* Hero Section */
.hero-section {
  background: url('../images/your-packaging-films-image.jpg') no-repeat center center/cover;
  color: white;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-section .overlay {
  background: rgba(2, 48, 71, 0.75);
  padding: 20px;
  width: 100%;
}

/* Slider */
.slider-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slider-container {
  display: flex;
  height: 100%;
  transition: transform 1s ease-in-out;
  will-change: transform;
}

.slide {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(2, 48, 71, 0.6);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
}

.slider-button:hover {
  background-color: rgba(2, 48, 71, 0.8);
}

.slider-button.left {
  left: 10px;
}

.slider-button.right {
  right: 10px;
}

/* Sections */
.about-section,
.products-section,
.benefits-section,
.contact-section {
  padding: 40px 0;
  background: #ffffff;
  color: #023047;
}

.about-section h2 {
  text-align: left;
  margin-top: 30px;
  padding-bottom: 10px;
  color: #fb8500;
  font-size: 2rem;
  font-weight: 600;
}

.products-section h2,
.benefits-section h2 {
  text-align: left;
  margin-bottom: 20px;
  color: #fb8500;
  font-size: 2rem;
  font-weight: 600;
}

.about-section h3,
.products-section h3,
.benefits-section h3 {
  color: #219ebc;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-section p,
.products-section p {
  text-align: justify;
}

/* About Page */
.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  margin-top: 30px;
  padding: 1rem 0;
}

.about-flex ul {
  margin-left: 20px;
}

.about-flex li {
  margin-bottom: 10px;
}

.about-image {
  height: 600px;
  max-width: 350px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Product Cards */
.cards-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card:hover .card-title {
  color: #2563eb;
  transform: scale(1.05);
}

.card:hover .card-image {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card-title {
  margin: 0;
  font-size: 1.3em;
  font-weight: 300;
  color: #333;
  line-height: 1.4;
  transition: all 0.3s ease;
}

/* Benefits Section */
.benefits-section ul {
  list-style: none;
  margin: 0 50px;
}

.benefits-section li {
  background: #fff;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-left: 5px solid #ffb703;
  font-weight: 500;
}

/* Product Listing */
.product-listing {
  max-width: 1200px;
  margin: 0 auto;
}

.product {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 30px;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.product img {
  width: 270px;
  height: 350px;
  margin-top: 5px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-details {
  flex: 1;
}

.product-title {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.product-desc {
  margin-bottom: 25px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
}

.product-desc strong {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1rem;
}

.product-specs {
  margin-top: 10px;
  list-style-type: disc;
  margin-left: 20px;
  color: #555;
  font-size: 0.95rem;
}

/* Contact Section */
.contact-section h2 {
  color: #fb8500;
  font-size: 2rem;
  font-weight: 400;
}

.contact-flex {
  margin-top: 50px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-form {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  flex: 1 1 calc(50% - 20px);
  display: flex;
  flex-direction: column;
}

.form-group.full {
  flex: 1 1 100%;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 2px solid #8ecae6;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #f4faff;
  color: #023047;
  font-family: 'Inter', sans-serif;
}

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

.submit-group {
  margin-top: 20px;
}

.contact-form button {
  background-color: #023047;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #219ebc;
}

.contact-form button:disabled {
  background-color: #8ecae6;
  cursor: not-allowed;
}

.map-container {
  flex: 1 1 48%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 2px solid #8ecae6;
  border-radius: 4px;
}

/* Footer */
.footer {
  background-color: #0a1128;
  color: #ffffff;
  padding: 40px 0;
  font-family: 'Inter', sans-serif;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer .footer-column {
  flex: 1 1 250px;
  margin: 10px;
}

.footer h3 {
  font-size: 1.2rem;
  color: #ffb703;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 500;
}

.footer ul li i {
  margin-right: 8px;
  color: #219ebc;
}

.footer ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #219ebc;
}

.footer .contact-info p {
  color: #e8e8e8;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer .contact-info p i {
  color: #ffb703;
  margin-right: 10px;
  font-size: 1.1rem;
  vertical-align: middle;
}

.footer .contact-info a {
  color: #8ecae6;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .contact-info a:hover {
  color: #ffb703;
  text-decoration: underline;
}

.footer .contact-info .address-indent {
  display: inline-block;
  margin-left: 30px;
}

/* Form Required Indicator */
.required {
  color: #fb8500;
  font-weight: bold;
  margin-left: 2px;
}

.optional {
  color: #8ecae6;
  font-weight: normal;
  font-size: 0.85em;
  font-style: italic;
}

/* Honeypot field - completely hidden */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* reCAPTCHA notice */
.recaptcha-notice {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
  margin: 15px 0;
  text-align: center;
}

.recaptcha-notice a {
  color: #219ebc;
  text-decoration: none;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}

/* Form Validation Styles */
.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #219ebc;
  box-shadow: 0 0 0 3px rgba(33, 158, 188, 0.1);
}

.contact-form input.invalid:focus,
.contact-form textarea.invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  display: none;
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 4px;
  font-weight: 500;
}

/* Custom Alert Styles */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  max-width: 500px;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-out;
  font-family: 'Inter', sans-serif;
}

.custom-alert.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.custom-alert.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.alert-content {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;
}

.alert-icon {
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
}

.alert-message {
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
}

.alert-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

.alert-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Button Loading State */
.contact-form button .fa-spinner {
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #d3d3d3;
}

.section-divider {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  .about-flex {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .cards-container {
    justify-content: center;
  }

  .contact-flex {
    flex-direction: column;
  }

  .contact-form,
  .map-container {
    flex: 1 1 100%;
  }

  .product {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product img {
    width: 100%;
    max-width: 300px;
  }

  .benefits-section ul {
    margin: 0 20px;
  }

  .footer .container {
    flex-direction: column;
    align-items: center;
  }

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

  /* Alert responsive */
  .custom-alert {
    left: 10px;
    right: 10px;
    min-width: auto;
    max-width: calc(100% - 20px);
  }
}