/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Header */
.header {
  background-color: #f5f5f5;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 10;
}

.header-placeholder {
  color: #888;
  font-size: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #ffeace;
  padding: 60px 20px 0px;
  overflow: visible;
}

/* Wave effect using :after pseudo-element */
.hero:after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffeace;
  clip-path: polygon(0% 0%, 100% 0%, 100.00% 26.00%, 98.00% 27.08%, 96.00% 30.24%, 94.00% 35.17%, 92.00% 41.45%, 90.00% 48.49%, 88.00% 55.68%, 86.00% 62.35%, 84.00% 67.90%, 82.00% 71.84%, 80.00% 73.81%, 78.00% 73.63%, 76.00% 71.32%, 74.00% 67.08%, 72.00% 61.30%, 70.00% 54.50%, 68.00% 47.29%, 66.00% 40.33%, 64.00% 34.24%, 62.00% 29.58%, 60.00% 26.75%, 58.00% 26.03%, 56.00% 27.47%, 54.00% 30.94%, 52.00% 36.14%, 50.00% 42.58%, 48.00% 49.70%, 46.00% 56.84%, 44.00% 63.37%, 42.00% 68.68%, 40.00% 72.31%, 38.00% 73.93%, 36.00% 73.39%, 34.00% 70.73%, 32.00% 66.21%, 30.00% 60.22%, 28.00% 53.31%, 26.00% 46.10%, 24.00% 39.24%, 22.00% 33.35%, 20.00% 28.97%, 18.00% 26.48%, 16.00% 26.12%, 14.00% 27.91%, 12.00% 31.70%, 10.00% 37.14%, 8.00% 43.74%, 6.00% 50.90%, 4.00% 57.99%, 2.00% 64.35%, 0.00% 69.42%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 100px;
  align-items: start;
}

.hero-left {
  padding-right: 20px;
}

.product-title {
  font-size: 50px;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.1;
}

.usp-bar {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #555;
}

.usp-icon {
  font-size: 20px;
  color: #F07C23;
}

.hero-image-container {
  display: block;
  margin-top: 20px;
}

.product-image {
  max-width: 90%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
  display: block;
}

.product-image:hover {
  transform: scale(1.02);
}

/* Main Content */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px 60px;
  position: relative;
  z-index: 5;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 100px;
}

/* Left Column */
.left-column {
  padding-right: 20px;
}

.left-column h2 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffeace;
  padding-bottom: 10px;
}

.left-column h3 {
  font-size: 20px;
  font-weight: 600;
  color: #444;
  margin: 25px 0 15px;
}

.left-column p {
  margin-bottom: 15px;
  color: #555;
  font-size: 18px;
}

.product-description {
  margin-bottom: 50px;
}

.coffee-specialties {
  margin-bottom: 50px;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.specialty-item:hover {
  background: #ffeace;
  transform: translateY(-2px);
}

.specialty-icon {
  font-size: 18px;
  color: #F07C23;
}

.specifications {
  margin-bottom: 50px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.spec-table td:first-child {
  font-weight: 600;
  background: #f9f9f9;
  width: 40%;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.brochure-section {
  text-align: center;
  margin-top: 40px;
}

.brochure-btn {
  background-image: linear-gradient(92.64deg, rgb(240, 124, 35) 0%, rgb(243, 165, 48) 100.13%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brochure-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(240, 124, 35, 0.3);
}

/* Right Column - Sticky Form with Overlap */
.right-column {
  position: relative;
  margin-top: -495px;
  z-index: 20;
}

.quote-form {
  position: sticky;
  top: 20px;
  background: #ffffff9e;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 30px;
  border: 1px solid #eee;
}

.lease-info {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.lease-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #F07C23;
  margin-bottom: 5px;
}

.lease-info p {
  color: #666;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: 'Barlow', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #F07C23;
  box-shadow: 0 0 0 3px rgba(240, 124, 35, 0.1);
}

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

.cta-button {
  width: 100%;
  background-image: linear-gradient(92.64deg, rgb(240, 124, 35) 0%, rgb(243, 165, 48) 100.13%);
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(240, 124, 35, 0.3);
}

/* Footer */
.footer {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.footer-placeholder {
  color: #888;
  font-size: 16px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  height: 80%;
  max-width: 1000px;
  overflow: hidden;
  animation: slideIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  z-index: 1001;
  background: rgba(255,255,255,0.9);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  color: #000;
  background: #fff;
}

#pdfViewer {
  border: none;
  border-radius: 12px;
}

/* Quote Popup Specific Styles */
.quote-popup {
  z-index: 2000;
}

.quote-popup-content {
  width: 90%;
  max-width: 500px;
  height: auto;
  padding: 40px;
}

.popup-header {
  text-align: center;
  margin-bottom: 30px;
}

.popup-header h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.popup-header p {
  color: #666;
  font-size: 16px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero-left {
    padding-right: 0;
  }
  
  .product-title {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .usp-bar {
    justify-content: center;
    gap: 20px;
  }
  
  .usp-item {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  
  .product-image {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero {
    padding: 60px 20px 40px;
  }
  
  .hero-right-spacer {
    display: none;
  }
  
  .right-column {
    margin-top: 0;
    order: -1;
    margin-bottom: 40px;
  }
  
  .content-wrapper {
    display: flex;
    flex-direction: column;
  }
  
  .right-column {
    order: -1;
  }
  
  .quote-form {
    position: static;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  }
  
  .left-column {
    padding-top: 0;
  }
  
  .specialties-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
  
  .modal-content {
    width: 95%;
    height: 90%;
  }
  
  .quote-popup-content {
    width: 95%;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 28px;
  }
  
  .usp-bar {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero {
    padding: 40px 15px 30px;
  }
  
  .main-content {
    padding: 60px 15px 40px;
  }
  
  .quote-form {
    padding: 20px;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
}