/* ==========================================================
   iCode Coffee Shop - Premium Enhanced Styles
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-espresso: #1A120B;
  --color-caramel: #E5A97D;
  --color-cream: #F5EBE0;
  --color-warm-white: #FEFCF8;
  --color-text: #3E3227;
  --color-text-muted: #7A695B;
  --color-accent: #D47A43;
  --shadow-sm: 0 4px 12px rgba(26, 18, 11, 0.08);
  --shadow-md: 0 12px 32px rgba(26, 18, 11, 0.12);
  --shadow-lg: 0 24px 48px rgba(26, 18, 11, 0.15);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-warm-white);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Outfit', sans-serif;
  color: var(--color-espresso);
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(254, 252, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(26, 18, 11, 0.05);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-espresso);
  color: var(--color-caramel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}

.brand-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--color-espresso);
  color: var(--color-warm-white);
}

/* =========================
   HERO
========================= */
.hero-wrapper {
  padding: 20px 5%;
}

.hero-fancy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--color-espresso);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 600px;
  position: relative;
}

.hero-text {
  padding: 60px 8%;
  color: var(--color-warm-white);
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: rgba(229, 169, 125, 0.2);
  color: var(--color-caramel);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  border: 1px solid rgba(229, 169, 125, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text h2 {
  font-size: 56px;
  line-height: 1.1;
  color: var(--color-warm-white);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 18px;
  color: rgba(254, 252, 248, 0.8);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-visual {
  height: 100%;
  width: 100%;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-espresso) 0%, transparent 100%);
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-caramel);
  color: var(--color-espresso);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(229, 169, 125, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(229, 169, 125, 0.4);
  background: #f0b58a;
}

.btn-outline {
  background: transparent;
  color: var(--color-warm-white);
  border: 2px solid rgba(254, 252, 248, 0.3);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--color-warm-white);
  color: var(--color-espresso);
  border-color: var(--color-warm-white);
  box-shadow: none;
}

/* =========================
   CONTAINER & SECTIONS
========================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 5%;
}

/* =========================
   FEATURE GRID
========================= */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 18, 11, 0.03);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-caramel);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--color-cream);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--color-caramel);
  color: var(--color-warm-white);
  transform: scale(1.05) rotate(5deg);
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-espresso);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  margin-top: auto;
}

.card-link:after {
  content: '→';
  transition: var(--transition);
}

.card-link:hover:after {
  transform: translateX(4px);
}

/* =========================
   INFO PANEL
========================= */
.info-panel {
  margin-top: 80px;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.info-text h3 {
  font-size: 32px;
  margin-bottom: 24px;
}

.pretty-list {
  list-style: none;
}

.pretty-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pretty-list li:before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-espresso);
  color: var(--color-caramel);
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-pill {
  background: #ffffff;
  color: var(--color-espresso);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.skill-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-accent);
}

/* =========================
   CTA
========================= */
.cta-banner {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--color-accent), #B35E2B);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  box-shadow: var(--shadow-lg);
}

.cta-banner-text h3 {
  font-size: 36px;
  color: white;
  margin-bottom: 8px;
}

.cta-banner-text p {
  font-size: 18px;
  opacity: 0.9;
}

.btn-white {
  background: white;
  color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  border-top: 1px solid rgba(26, 18, 11, 0.05);
  margin-top: 60px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .hero-fancy {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    height: 300px;
  }
  .hero-img-overlay {
    background: linear-gradient(180deg, var(--color-espresso) 0%, transparent 100%);
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-text h2 {
    font-size: 40px;
  }
  .info-panel, .cta-banner {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: left;
    padding: 40px 30px;
  }
  .cta-banner {
    gap: 32px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FORM / INNER PAGES
========================= */
.page-header {
  text-align: center;
  padding: 60px 20px 20px;
}

.page-header h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: 18px;
}

.form-container {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 500px;
  margin: 0 auto 60px;
  border: 1px solid rgba(26, 18, 11, 0.03);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-espresso);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-cream);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: var(--transition);
  background: var(--color-warm-white);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 4px rgba(229, 169, 125, 0.15);
  background: white;
}

.form-actions {
  margin-top: 32px;
}

.btn-full {
  width: 100%;
}

/* Table Styling */
.table-wrapper {
  overflow-x: auto;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(26, 18, 11, 0.05);
}

th {
  background: var(--color-espresso);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

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

tr:nth-child(even) {
  background: var(--color-warm-white);
}

tr:hover td {
  background: var(--color-cream);
}