/* GENERAL */

*,
*::before,
*::after {
  box-sizing: border-box;
}


  /* Page background */
  body {
	
    background: #f3f2ef;          /* soft gray like your index */
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
  }

hero {
  min-height: calc(100vh - 120px);   /* fills most of the content area */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;           /* or center if you prefer */
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  margin-bottom: 8px;
  opacity: 0.7;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-flag {
    width: 70px;                /* adjust size */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;   /* centers it + spacing below */
    border-radius: 6px;         /* soft corners */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.hero-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: #ff3366;        /* pick a color close to your pink */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.hero-btn:hover {
  opacity: 0.9;
}

/* HERO SECTION */
.hero-intro {
    background: linear-gradient(135deg, #ff8ba7, #ff5277, #ff3366);
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    color: white;
}

.hero-box {
    max-width: 700px;
    background: rgba(255, 255, 255, 0.15);
    padding: 40px 35px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.hero-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.85;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-description {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background: white;
    color: #cc0052;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 30px;
    font-size: 1.1rem;
    border-radius: 999px;
    transition: 0.25s ease-in-out;
}

.hero-btn:hover {
    background: #ffe6ef;
    transform: translateY(-3px);
}

  /* White box that holds all recipes */
  .recipe-page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .page-main-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
  }

  .single-recipe {
    margin-bottom: 50px;
  }

  .recipe-title {
    font-size: 28px;
    text-align: center;
    color: #a00000;
    margin-bottom: 15px;
  }

  .recipe-image {
    display: block;
    margin: 0 auto 25px auto;
    width: 60%;
    border-radius: 12px;
  }
/* Restore original card image size */
.recipe-card img,
.drink-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

  .section-title {
    font-size: 20px;
    color: #7a0000;
    margin: 20px 0 10px 0;
    font-weight: bold;
  }

  .recipe-page-container ul,
  .recipe-page-container ol {
    padding-left: 20px;
    line-height: 1.7;
    font-size: 15px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f3ef;
  color: #222;
}

.recipe-grid {
    display: flex;
    flex-wrap: wrap;      /* drops to next line if screen is small */
    gap: 20px;            /* space between cards */
    align-items: flex-start;
}

.recipe-card {
    flex: 0 0 22%;        /* about 4 cards per row */
    box-sizing: border-box;
}

.recipe-detail img {
  width: 320px;      
  height: auto;
  display: block;
  margin: 20px auto;  
  border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.recipe-detail {
  margin-bottom: 60px;  /* space between recipes */
  padding-bottom: 40px;
  border-bottom: 1px solid #ddd; /* optional separator line */
}

/* CONTACT PAGE BACKGROUND */
body.contact-page {
    background: #f7f2f4;
}

/* Top Dominican flag-style hero */
.contact-hero {
    background: linear-gradient(to right, #0c3c78, #ffffff, #b30029);
    border-radius: 18px;
    padding: 40px 25px;
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}

.contact-hero h2 {
    font-size: 2rem;
    color: #cc0052;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* CONTACT FORM CARD */
.contact-form-section {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #cc0052;
}

/* FORM INPUTS */
.contact-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 18px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #cc0052;
}

/* SUBMIT BUTTON */
.contact-btn {
    background: #cc0052;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: 0.2s ease-in-out;
}

.contact-btn:hover {
    background: #ff4c88;
    transform: translateY(-2px);
}
.recipe-detail h2 {
  font-size: 28px;
  margin-top: 20px;
  text-align: center;
  color: #b30000; /* Dominican red */
}

.recipe-detail h2 {
  text-align: center;
  font-size: 30px;
  color: #b30000;    /* Dominican red */
  margin-bottom: 15px;
}

.recipe-box {
  width: 100%;
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
}

.recipe-box img {
  width: 100%;
  border-radius: 10px;
}

.recipe-title {
  font-size: 28px;
  margin-top: 15px;
  font-weight: bold;
  color: #a00000;
}

.section-title {
  font-size: 20px;
  margin-top: 15px;
  font-weight: bold;
  color: #7a0000;
}

/* ===== RECIPE CARDS LAYOUT ===== */
.recipe-grid {
    max-width: 1100px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

/* Each card */
.recipe-card {
    background: #fdf7f5;        /* soft cream background */
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover effect */
.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Recipe images inside the cards */
.recipe-card-image {
    width: 100%;
    height: 190px;              /* same height for all images */
    border-radius: 14px;
    object-fit: cover;          /* crop nicely instead of stretching */
    display: block;
    margin-bottom: 12px;
}

/* Title & meta text inside cards */
.recipe-card h3 {
    margin: 4px 0 6px;
    font-size: 1.05rem;
}

.recipe-card-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b15b47;
    margin-bottom: 8px;
}

.recipe-card ul {
    padding-left: 18px;
    margin: 4px 0 8px;
    font-size: 0.85rem;
}

.recipe-card ol {
    padding-left: 18px;
    margin: 4px 0 0;
    font-size: 0.85rem;
}

/* Layout below the form: info + map side by side */
.contact-extra {
    max-width: 900px;
    margin: 40px auto 60px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* left column – info */
.contact-info {
    flex: 1 1 260px;
}

/* right column – map */
.contact-map {
    flex: 1 1 260px;
}

/* icons + links */
.contact-icon {
    margin-right: 6px;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: #cc0052;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-socials {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-socials a {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #cc0052;
    font-size: 0.9rem;
}

/* map image */
.contact-map img {
    margin-top: 10px;
    width: 100%;
    max-width: 360px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* small note under form */
.contact-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #777;
}

/* footer */
.site-footer {
    text-align: center;
    font-size: 0.85rem;
    padding: 20px 10px 30px 10px;
    color: #777;
}

body.recipes-page {
    background: linear-gradient(to right,
        #0c3c78 0%,        /* Dominican blue */
        #0c3c78 8%,
        #ffffff 8%,        /* white main content */
        #ffffff 92%,
        #b30029 92%,       /* Dominican red */
        #b30029 100%
    );
    padding-top: 20px;
    padding-bottom: 40px;
}

body.recipes-page {
    background: linear-gradient(to right,
        rgba(12,60,120,0.35) 0%,
        rgba(12,60,120,0.35) 8%,
        #ffffff 8%,
        #ffffff 92%,
        rgba(179,0,41,0.35) 92%,
        rgba(179,0,41,0.35) 100%
    );
}

/* FIX: Make sidebar clickable */
.sidebar {
    position: relative;
    z-index: 10;          /* sidebar stays on top */
}

/* FIX: Make main content stay in its place */
.main-content {
    position: relative;
    z-index: 1;
}

/* FIX: Prevent main section from sliding over the sidebar */
.page {
    display: flex;
    align-items: flex-start;
}

/* Fix: Make contact form clickable by keeping it above all layers */
.contact-form-section,
.contact-form-section * {
    position: relative;
    z-index: 20;
}

/* Fix: Move sidebar layer behind form */
.sidebar {
    position: relative;
    z-index: 5;
}

/* Fix: Ensure main content does not overlap the sidebar */
.contact-page .main-content {
    position: relative;
    z-index: 10;
    margin-left: 260px; /* same width as sidebar */
}



.contact-page .main-content {
    margin-left: 260px; /* same width as your sidebar */
}
/* === ALL-RECIPES PAGE STYLES === */


/* center the main pieces on this page */
body.recipes-page h1,
body.recipes-page .top-links,
body.recipes-page .recipe-detail {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* top navigation links on all-recipes.html */
.top-links {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
	justify-content: center;
	position: relative;
}

/* Sidebar button spacing */
.sidebar .hero-btn {
    display: block;
    margin-bottom: 18px;   /* add space between buttons */
}

.top-links a {
    text-decoration: none;
    color: #cc0052;
    font-weight: 600;
}

.top-links a:hover {
    text-decoration: underline;
}


/* page title */
body.recipes-page h1 {
    /* Center the page title */
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
}

/* each recipe "card" */
.recipe-detail {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* recipe title */
.recipe-detail h2 {
    text-align: center;
    color: #cc0052;
    margin-bottom: 15px;
    font-size: 1.7rem;
}

/* recipe image */
.recipe-detail img {
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 14px;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}



ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

ol {
  padding-left: 20px;
  text-align: left;
}
.page {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #e5092b 0%, #c4021c 100%);
  color: #fff;
}

.sidebar-inner {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.site-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.site-subtitle {
  margin: 8px 0 24px;
  font-size: 14px;
  opacity: 0.9;
}

/* NAVIGATION */

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: auto;
}

h1, h2, .main-title {
  color: #000000;            /* solid black text */
  text-shadow: 0 2px 4px rgba(255,255,255,0.6);
  font-weight: 900;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250,250,250,0.35); /* soft white mist */
  pointer-events: none;
}


.nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  color: #ffeef0;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s, transform 0.1s;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateX(2px);
}

.nav-link.active {
  background-color: #fff;
  color: #c4021c;
}

.bilingual-note {
  margin-top: 32px;
  font-size: 13px;
  opacity: 0.9;
}

/* MAIN CONTENT */

.content {
  flex: 1;
  padding: 32px 48px;
}

/* HERO */

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  color: #b45520;
  margin: 0 0 6px;
}

.hero-title {
  margin: 0;
  font-size: 32px;
}

.hero-text {
  margin: 10px 0 20px;
  max-width: 560px;
  color: #555;
}

/* SEARCH BAR */

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.search-bar input[type="search"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.search-bar button {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  background-color: #111827;
  color: #fff;
}

/* FILTER PILLS */

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background-color: #f9f7f3;
  font-size: 13px;
  cursor: pointer;
}

.pill-active {
  background-color: #111827;
  color: #fff;
  border-color: #111827;
}

/* SECTIONS */

.section {
  margin-top: 12px;
}

.section-title {
  font-size: 20px;
  margin: 0 0 14px;
}

.section-text {
  margin: 0 0 20px;
}

/* RECIPE CARDS */

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.recipe-card {
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.recipe-image {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.recipe-body {
  padding: 12px 14px 14px;
}

.recipe-name {
  margin: 2px 0 6px;
  font-size: 16px;
}

.recipe-meta {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* FOOTER */

.footer {
  margin-top: 40px;
  font-size: 13px;
  color: #777;
}

/* SIMPLE RESPONSIVE ADJUSTMENT */

@media (max-width: 900px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .content {
    padding: 24px 20px 32px;
  }
	
	/* === CONTACT PAGE LAYOUT FIXES === */

/* Put sidebar and main content side-by-side */
.contact-page .page {
    display: flex;
}

/* Sidebar stays on the left, fixed width */
.contact-page .sidebar {
    flex: 0 0 250px;
    position: relative;
    z-index: 1;
}

/* Main content (form + details) takes the rest of the space */
.contact-page .main-content {
    flex: 1;
    padding: 40px 60px;
    position: relative;
    z-index: 5;         /* above sidebar and any background layers */
}

/* Make sure the form itself is clickable and above everything */
.contact-form-section,
.contact-form-section * {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
	


}