/* hero-templates.css */

/* ===== Base Styles ===== */

.hero {
  font-family: 'Segoe UI', Roboto, sans-serif;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 500px; /* ubah height ke min-height */
  height: auto; /* biarkan konten menentukan tinggi */
}

.hero h1, 
.hero h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero a.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero form {
  background: #fff;
  padding: 1.5rem;
  width: 100%; /* biar form ikut lebar kolom */
  text-align: left
}

/* Layout Variants */
.layout-full {
  flex-direction: column;
  text-align: center;
}

.layout-two {
  flex-direction: row;
}

.layout-two > div {
  flex: 1;
}

@media (max-width: 768px) {
  .layout-two {
    flex-direction: column;
  }
}

/* ===== Template Variants ===== */

/* --- Full Width Templates --- */
.layout-full.template-1 {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
}
.layout-full.template-1 a.btn {
  background: #fff;
  color: #2575fc;
}
.layout-full.template-1 a.btn:hover {
  background: #f0f0f0;
}

.layout-full.template-2 {
  background: #f9fafb;
  color: #333;
}
.layout-full.template-2 a.btn {
  background: #2563eb;
  color: #fff;
}
.layout-full.template-2 a.btn:hover {
  background: #1d4ed8;
}

.layout-full.template-3 {
  background: #fff5f5;
  color: #742a2a;
}
.layout-full.template-3 a.btn {
  background: #e53e3e;
  color: #fff;
}
.layout-full.template-3 a.btn:hover {
  background: #c53030;
}

.layout-full.template-4 {
  background: #f0fdfa;
  color: #064e3b;
}
.layout-full.template-4 a.btn {
  background: #10b981;
  color: #fff;
}
.layout-full.template-4 a.btn:hover {
  background: #059669;
}

.layout-full.template-5 {
  background: #fefce8;
  color: #92400e;
}
.layout-full.template-5 a.btn {
  background: #f59e0b;
  color: #fff;
}
.layout-full.template-5 a.btn:hover {
  background: #d97706;
}

.layout-full.template-6 {
  background: #e0f2fe;
  color: #1e3a8a;
}
.layout-full.template-6 a.btn {
  background: #3b82f6;
  color: #fff;
}
.layout-full.template-6 a.btn:hover {
  background: #2563eb;
}

.layout-full.template-7 {
  background: #f3f4f6;
  color: #111827;
}
.layout-full.template-7 a.btn {
  background: #111827;
  color: #fff;
}
.layout-full.template-7 a.btn:hover {
  background: #374151;
}

.layout-full.template-8 {
  background: linear-gradient(90deg, #ffecd2, #fcb69f);
  color: #7c2d12;
}
.layout-full.template-8 a.btn {
  background: #7c2d12;
  color: #fff;
}
.layout-full.template-8 a.btn:hover {
  background: #5c1c09;
}

.layout-full.template-9 {
  background: #eef2ff;
  color: #3730a3;
}
.layout-full.template-9 a.btn {
  background: #4f46e5;
  color: #fff;
}
.layout-full.template-9 a.btn:hover {
  background: #3730a3;
}

.layout-full.template-10 {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
}
.layout-full.template-10 a.btn {
  background: #2563eb;
  color: #fff;
}
.layout-full.template-10 a.btn:hover {
  background: #1d4ed8;
}

/* --- Two Column Templates --- */
.layout-two.template-1 {
  background: #f9fafb;
  color: #111827;
}
.layout-two.template-1 a.btn {
  background: #2563eb;
  color: #fff;
}
.layout-two.template-1 a.btn:hover {
  background: #1d4ed8;
}

.layout-two.template-2 {
  background: #fff5f5;
  color: #742a2a;
}
.layout-two.template-2 a.btn {
  background: #e53e3e;
  color: #fff;
}
.layout-two.template-2 a.btn:hover {
  background: #c53030;
}

.layout-two.template-3 {
  background: #f0fdfa;
  color: #064e3b;
}
.layout-two.template-3 a.btn {
  background: #10b981;
  color: #fff;
}
.layout-two.template-3 a.btn:hover {
  background: #059669;
}

.layout-two.template-4 {
  background: #fefce8;
  color: #92400e;
}
.layout-two.template-4 a.btn {
  background: #f59e0b;
  color: #fff;
}
.layout-two.template-4 a.btn:hover {
  background: #d97706;
}

.layout-two.template-5 {
  background: #e0f2fe;
  color: #1e3a8a;
}
.layout-two.template-5 a.btn {
  background: #3b82f6;
  color: #fff;
}
.layout-two.template-5 a.btn:hover {
  background: #2563eb;
}

.layout-two.template-6 {
  background: #f3f4f6;
  color: #111827;
}
.layout-two.template-6 a.btn {
  background: #111827;
  color: #fff;
}
.layout-two.template-6 a.btn:hover {
  background: #374151;
}

.layout-two.template-7 {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
}
.layout-two.template-7 a.btn {
  background: #fff;
  color: #2575fc;
}
.layout-two.template-7 a.btn:hover {
  background: #f0f0f0;
}

.layout-two.template-8 {
  background: linear-gradient(90deg, #ffecd2, #fcb69f);
  color: #7c2d12;
}
.layout-two.template-8 a.btn {
  background: #7c2d12;
  color: #fff;
}
.layout-two.template-8 a.btn:hover {
  background: #5c1c09;
}

.layout-two.template-9 {
  background: #eef2ff;
  color: #3730a3;
}
.layout-two.template-9 a.btn {
  background: #4f46e5;
  color: #fff;
}
.layout-two.template-9 a.btn:hover {
  background: #3730a3;
}

.layout-two.template-10 {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
}
.layout-two.template-10 a.btn {
  background: #2563eb;
  color: #fff;
}
.layout-two.template-10 a.btn:hover {
  background: #1d4ed8;
}