/* 
  SimpleSite Builder Styled CSS Stylesheet
  Generated dynamically for The Roasted Coffee Bean
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #0f172a;
  --primary-rgb: 15, 23, 42;
  --secondary-color: #475569;
  --background-color: #f8fafc;
  --text-color: #334155;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --section-padding: 2.5rem;
  --border-radius: 0px;
}

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

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* Base structural wrappers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Global Nav styling */
header.site-nav {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site-nav .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
header.site-nav .brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-color);
  text-decoration: none;
}
header.site-nav nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
header.site-nav nav ul li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
header.site-nav nav ul li a:hover,
header.site-nav nav ul li.active a {
  opacity: 1;
  color: var(--primary-color);
}

/* Block style templates */
section.block-section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* Button style templates */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  transition: transform 0.2s, filter 0.2s;
  box-shadow: 0 4px 6px -1px rgba(var(--primary-rgb), 0.15);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(1px);
}

/* Grid columns & layouts */
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hero section specific layout */
.hero-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-block {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero-text-content h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
}
.hero-text-content p.subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}
.hero-text-content p.body {
  font-size: 1.1rem;
  opacity: 0.75;
  margin-bottom: 2rem;
}
.hero-image-frame img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
}

/* Image blocks */
.single-image-block img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Image gallery block */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.02);
}

/* Video blocks */
.responsive-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.responsive-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Cards block Layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card-item {
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.04);
}
.card-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-item-content {
  padding: 1.5rem;
}
.card-item-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.card-item-content p {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Contact Block custom layout */
.contact-block {
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--border-radius);
  padding: 3rem;
}
.contact-details {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.contact-detail-card {
  padding: 1.25rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
}
.contact-detail-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Footer layout */
footer.site-footer {
  background-color: #1e293b;
  color: #94a3b8;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Utility Helpers */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.divider-line {
  border: 0;
  height: 1px;
  background-color: rgba(0,0,0,0.08);
}
