/* ================= Root Variables ================= */
:root {
  --rice-white: #ffffff;
  --rice-light: #faf6ef;
  --rice-border: #efe6d8;
  --coffee-dark: #3e2f25;
  --coffee-hover: #6b4f3b;
  --text-main: #2f2f2f;
}

/* ================= Reset ================= */
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text-main);
  background-color: var(--rice-white);
}

/* ================= Center Logo ================= */
.center-logo {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  pointer-events: none;
}

.center-logo img {
  height: 140px;
  max-height: 160px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
  will-change: transform;
}

.center-logo.shrink img {
  transform: scale(0.5);
}

/* ================= Navbar ================= */
.coffee-navbar {
  background: linear-gradient(90deg, var(--rice-white), var(--rice-light));
  border: none;
  border-radius: 14px;
  margin: 12px 16px;
  padding: 0 12px;
  min-height: 94px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
}

.coffee-navbar .navbar-brand {
  color: #8c673f !important;
  font-family: "EB Garamond", serif;
  font-weight: 900 !important;
  font-size: 26px !important;
  letter-spacing: 0.3px;
}

.coffee-navbar .nav-link {
  color: var(--coffee-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.coffee-navbar .nav-link:hover {
  color: var(--coffee-hover);
}

.navbar-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* ================= Hero Section ================= */
.hero-section {
  position: relative; /* important! */
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

/* ================= Titles ================= */
.organic-rice-title {
  font-family: "EB Garamond", serif;
  font-size: 3rem; /* desktop default */
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
  color: #ad885d;
  line-height: 1.1;
}

.premium-quality-subtitle {
  font-family: "Libre Caslon Display", serif;
  font-size: 1.5rem; /* desktop default */
  font-weight: 700;
  letter-spacing: 4px;
  margin-top: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}
/* ================= Content Section ================= */
.content-section {
  padding: 2rem 0;
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 1rem;
  color: var(--text-main);
}

/* ================= About Section Image ================= */
.about-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: transparent;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= Bold Line ================= */
.bold-line {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 64px; /* default desktop */
  line-height: 1.1;
  margin: 40px 0;
  text-align: center;
  font-family: "Libre Caslon Display", serif;
  letter-spacing: 0.1rem;
  color: #8c673f;
  padding: 10px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ================= Images Row ================= */
.images-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 40px 0;
  background: transparent;
}

.images-row img {
  max-width: 100px;
  height: auto;
}
.col-auto {
  border-radius: 50%;
  padding: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Samsung Internet FIX */
  background-image: linear-gradient(#ffffff, #ffffff) !important;
  isolation: isolate;
  overflow: auto;
}

.col-auto img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: transparent !important;
}

/* ================= Footer ================= */
.footer-section {
  background-color: #212529;
  color: #ffffff;
  padding: 1rem 0;
  font-size: 0.9rem;
}
/* ================= Media Queries ================= */

/* Medium devices (tablets) */
@media (max-width: 992px) {
  .bold-line {
    font-size: 48px;
  }
}

/* Small devices (phones) */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
  }
  .hero-img {
    height: auto;
    max-height: 60vh;
  }
  .about-img-wrap {
    min-height: 220px;
  }
  .center-logo img {
    height: 80px;
    max-height: 90px;
  }
}

/* Extra small devices (phones like iPhone / small Samsung) */
@media (max-width: 576px) {
  .bold-line {
    font-size: 24px !important; /* smaller than before */
    margin: 15px 0;
  }
  .coffee-navbar {
    margin: 8px;
    border-radius: 10px;
  }
  .center-logo {
    display: none; /* hide logo */
  }
}
/* ================= Responsive Media Queries for Titles ================= */

/* Medium devices (tablets) */
@media (max-width: 992px) {
  .organic-rice-title {
    font-size: 2.4rem; /* slightly smaller for tablets */
  }
  .premium-quality-subtitle {
    font-size: 1.3rem;
    letter-spacing: 3px;
  }
}

/* Small devices (phones like large smartphones) */
@media (max-width: 768px) {
  .organic-rice-title {
    font-size: 2rem;
  }
  .premium-quality-subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
}

/* Extra small devices (iPhone / small Samsung phones) */
@media (max-width: 576px) {
  .organic-rice-title {
    font-size: 2rem;
  }
  .premium-quality-subtitle {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}
/* Full overlay text */
.alt-text {
  font-family: "Google Sans", sans-serif;
  position: absolute; /* absolute inside hero-section */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.35); /* semi-transparent overlay */
  z-index: 10;
  padding: 0 15px; /* optional for small screens */
  box-sizing: border-box;
}

/* Responsive font sizes */
@media (max-width: 768px) {
  .alt-text {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .alt-text {
    font-size: 1.5rem;
  }
}
