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

:root {
  --primary: #0e2a6b;
  --primary-light: #e0e7ff;
  --accent: #fbbf24;
  --text-main: #1e293b;
  --text-light: #64748b;
  --bg-color: #f1f5f9;
  --white: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Screen Preview Styling */
.page {
  background: var(--white);
  width: 210mm;
  min-height: 297mm;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Print Styling */
@media print {
  @page {
    size: A4 portrait;
    margin: 0; /* Remove default browser margins */
  }
  body {
    background-color: var(--white);
  }
  .page {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    width: 210mm;
    height: 297mm;
    overflow: hidden;
  }
  .no-print {
    display: none !important;
  }
}

/* Print Toolbar */
.print-toolbar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  gap: 15px;
}

.btn-print {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(14, 42, 107, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-print:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 42, 107, 0.5);
  background: #091a44;
}

/* Layout Components */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 3px solid var(--accent);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-area img {
  height: 40px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-mini {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: right;
  line-height: 1.4;
}

/* Hero Section */
.hero {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(14, 42, 107, 0.8), transparent);
}

.hero-title {
  position: absolute;
  bottom: 30px;
  left: 40px;
  color: var(--white);
}

.hero-title h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-title p {
  margin: 8px 0 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

/* Content Area */
.content {
  padding: 30px 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.info-card {
  background: var(--primary-light);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.info-card h4 {
  margin: 0 0 5px;
  color: var(--primary);
  font-size: 0.9rem;
}

.info-card p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Section Styling */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin: 30px 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Lists */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background: #f8fafc;
  color: var(--text-light);
  font-weight: 600;
}

.price-row td {
  font-weight: 600;
}

.price-val {
  color: var(--primary);
}

/* Footer */
.brochure-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.brochure-footer p {
  margin: 4px 0;
  font-size: 0.85rem;
}

.qr-code {
  width: 70px;
  height: 70px;
  background: var(--white);
  padding: 5px;
  border-radius: 4px;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 800px) {
  .page {
    width: 100%;
    margin: 0;
    min-height: auto;
    border-radius: 0;
    box-shadow: none;
  }
  body {
    background-color: var(--white);
  }
  .header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    gap: 5px;
  }
  .logo-area {
    gap: 4px;
  }
  .logo-area img {
    height: 24px;
  }
  .logo-text {
    font-size: 0.8rem;
  }
  .contact-mini {
    text-align: right;
    width: auto;
    font-size: 0.55rem;
    line-height: 1.3;
  }
  .hero-title {
    left: 20px !important;
  }
  .content {
    padding: 20px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .brochure-footer {
    position: static;
    padding: 20px;
  }
}
