/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
  background: #f6f6f6;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */

.header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 70px;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #2F5D1F;
}

/* NAV */

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: #2F5D1F;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #55833D;
  transition: 0.25s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #55833D;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* CONTACT */

.header-contact {
  text-align: right;
  min-width: 170px;
}

.contact-title {
  font-weight: 700;
  font-size: 13px;
}

.contact-phone {
  font-weight: 600;
  font-size: 14px;
}

.contact-mail {
  font-size: 13px;
  color: #444;
}

/* ================= HERO ================= */

.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  background: #eee;
  height: 480px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  max-width: 1920px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  z-index: 2;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 22px;
  font-weight: 500;
}

/* ================= TABLET HERO ================= */
@media (max-width: 1024px) {
  .hero {
    height: 380px;
  }

  .hero h1 {
    font-size: 30px;
  }
}

/* ================= MOBILE HERO ================= */
@media (max-width: 768px) {
  .hero {
    height: 280px;
    min-height: 280px;
  }

  .hero h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* HERO TEXT ANIMATION */

.hero-subtitle {
  opacity: 0;
  transform: translateY(-20px);
  animation: heroFadeDown 0.9s ease forwards;
  animation-delay: 1s; /* 1 saniyə sonra */
}

@keyframes heroFadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= BUTTONS ================= */

.btn-primary {
  background: #55833D;
  color: #fff;
  padding: 10px 22px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: 0.25s;
}

.btn-primary:hover {
  background: #294C2C;
}

.btn-primary.small {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-outline {
  border: 2px solid #2f5d1e;
  color: #2f5d1e;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
}

.btn-outline:hover {
  background: #294C2C;
  color: #fff;
}

/* ================= ORDER BANNER ================= */

.order-banner {
  padding: 40px 0;
}

.order-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: fill;
}

@media (max-width: 768px) {
  .order-banner img {
    max-height: 260px;
    object-fit: cover;
  }
}


/* ================= ABOUT ================= */

.about {
  padding: 80px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* TEXT */
.about-text p {
  margin-bottom: 22px;
}

.about-text .btn-primary {
  margin-top: 18px;
  display: inline-block;
}

/* VIDEO */
.about-image {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  display: block;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
    max-width: 100%;
    margin-top: 18px;
    max-height: 240px;
    object-fit: cover;
  }

}

/* ================= ABOUT ================= */

.about {
  padding: 80px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 22px;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
}

.about-text strong {
  font-weight: 600;
  color: #2F5D1F;
}

.about-text .btn-primary {
  margin-top: 18px;
  display: inline-block;
}

.about-image {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* ================= ABOUT PAGE ================= */

.about-page {
  padding: 70px 0;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-page-text h1 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-page-text h3 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: 600;
}

.about-page-text p {
  margin-bottom: 18px;
  color: #555;
  line-height: 1.6;
}

.about-page-text ul {
  margin-left: 20px;
  margin-bottom: 18px;
  color: #555;
  line-height: 1.8;
}

.about-page-text ul li {
  margin-bottom: 8px;
}

.about-page-contact {
  background: #f0f8e8;
  padding: 18px;
  border-radius: 8px;
  margin-top: 20px;
  line-height: 1.7;
  color: #333;
}

.about-page-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.categories {
  padding: 100px 0 80px;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 180px,
    #55833D 180px,
    #55833D 340px,
    #ffffff 340px
  );
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #e3e6df;
  max-width: 140px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.35s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.category-card img {
  height: 170px;
  object-fit: contain;
  margin-bottom: 10px;
}

.category-card p {
  color: #666;
}
/* ================= CONTACT PAGE ================= */

.contact-page {
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-left h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-intro {
  color: #555;
  margin-bottom: 25px;
}

.contact-card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.contact-map iframe {
  border-radius: 12px;
  min-height: 320px;
}

/* Tablet override placed after base contact rules to ensure precedence */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .contact-left {
    padding-right: 22px;
  }

  .contact-left h1 {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .contact-intro {
    margin-bottom: 30px;
  }

  .contact-card {
    padding: 26px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 420px;
  }
}
/* ===== ABOUT DEFAULT ===== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {

  .about-content {
    max-width: 95%;
    padding: 0 30px;
  }

}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .about-content {
    max-width: 100%;
    padding: 0 20px;
  }

}

/* ================= CATEGORIES ================= */

.categories {
  padding: 100px 0 80px;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 180px,
    #55833D 180px,
    #55833D 340px,
    #ffffff 340px
  );
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #e3e6df;
  max-width: 140px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.35s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.category-card img {
  height: 170px;
  width: 95%;
  object-fit: contain;
  margin-bottom: 10px;
}

.category-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.category-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.category-card .btn-primary {
  margin-top: 8px;
}

/* ================= LOGO PRINT ================= */

.logo-print {
  padding: 80px 0;
}

.logo-print-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.logo-print-text h2 {
  font-size: 28px;
  margin-bottom: 18px;
  font-weight: 700;
}

.logo-print-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
  font-weight: 400;
}

.logo-print-text .btn-primary {
  margin-top: 20px;
}

.logo-print-image img {
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.testimonials {
  padding: 80px 0;
  background: #F5F5F5;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.testimonial-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.testimonial-card .stars {
  color: #FFC107;
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
}

.testimonial-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

/* ================= FOOTER ================= */

footer {
  background: #f6f6f6;
  padding: 60px 0 30px;
  font-size: 15px;
  color: #333;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  gap: 1px;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand span {
  font-size: 13px;
  color: #333;
}

.footer-logo {
  width: 110px;
  height: auto;
  margin-bottom: 5px;
  display: block;
}

.footer-col strong {
  font-weight: 600;
  margin-top: 5px;
}

.footer-col h4 {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.footer-col a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: 0.2s;
  font-size: 13px;
}

.footer-col a:hover {
  color: #55833D;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 13px;
  color: #777;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    width: 110px;
    margin: 0 auto 15px;
    display: block;
  }

  .footer-col {
    align-items: center;
  }
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 999;
}

.whatsapp-float img {
  width: 28px;
}

/* ================= TABLET ================= */

@media (max-width: 1024px) {

  .container {
    max-width: 900px;
  }

  .hero {
    height: 420px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-print-inner {
    grid-template-columns: 1fr;
  }

  /* Contact - tablet: give more breathing room like About page */
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .contact-left {
    grid-row: auto;
    margin-bottom: 0;
    padding-right: 20px;
  }

  .contact-left h1 {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .contact-intro {
    margin-bottom: 30px;
  }

  .contact-card {
    padding: 26px;
  }

  .contact-map {
    grid-row: auto;
    min-height: 420px;
    padding-left: 8px;
  }

  .contact-map iframe {
    min-height: 420px;
  }

}

/* ================= ABOUT VIDEO (TABLET FIX: 769px - 1024px) ================= */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
  }

  /* ensure the video doesn't overflow its container */
  .about-inner {
    align-items: center;
  }
}

/* Stronger tablet rule for video element to override duplicates */
@media (min-width: 769px) and (max-width: 1024px) {
  .about .about-image,
  .about video.about-image {
    object-fit: contain !important;
    object-position: center !important;
    max-height: 420px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .about,
  .about-inner {
    overflow: visible !important;
    align-items: center !important;
  }
}

/* Force the specific video element by ID on tablet sizes (override all) */
@media (min-width: 769px) and (max-width: 1024px) {
  #vid {
    object-fit: contain !important;
    object-position: center !important;
    max-height: 420px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Increase about video max-width on tablets so it fills its column more */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-image,
  video.about-image,
  #vid {
    /* let the video fill its grid column */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    max-height: 480px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  /* give the video column slightly more space so the video is larger */
  .about-inner {
    grid-template-columns: 1fr 1.2fr !important;
    gap: 24px !important;
    align-items: center !important;
  }
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-nav {
    order: 2;
    width: 100%;
    justify-content: center;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .header-contact {
    order: 3;
    width: 100%;
    text-align: center;
  }

  .hero {
    height: 60vh;
    min-height: 420px;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
    max-width: 100%;
    max-height: 240px;
    object-fit: cover;
  }

  .about-page-grid {
    grid-template-columns: 1fr;
  }

  .about-page-image img {
    max-height: 260px;
    object-fit: cover;
  }

  .logo-print-inner {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .contact-left {
    grid-row: 1;
    margin-bottom: 20px;
  }

  .contact-map {
    grid-row: 2;
    min-height: 280px;
  }

  .contact-map iframe {
    min-height: 280px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  .footer-col {
    align-items: center;
  }

  .order-banner img {
    height: 220px;
    object-position: 40% center;
  }

  .legal-page {
    padding: 50px 0;
  }

}

/* ================= CONTACT PAGE ================= */

.contact-page {
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-left h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-intro {
  color: #555;
  margin-bottom: 25px;
}

.contact-card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.contact-map iframe {
  border-radius: 12px;
  min-height: 320px;
}


/* ================= LEGAL PAGE ================= */

.legal-page {
  padding: 70px 0;
}

.legal-inner {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
}

.legal-page p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #555;
  font-weight: 400;
}

/* ================= CONTACT TABLET OVERRIDE (769px - 1024px) ================= */
@media (min-width: 769px) and (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr !important;
    gap: 56px !important;
    align-items: start !important;
  }

  .contact-left {
    padding-right: 24px !important;
  }

  .contact-left h1 {
    font-size: 30px !important;
    margin-bottom: 18px !important;
  }

  .contact-intro {
    margin-bottom: 30px !important;
  }

  .contact-card {
    padding: 26px !important;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 420px !important;
  }
}

/* DEBUG: Tablet visual aid — remove after verification */
@media (min-width: 769px) and (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr !important;
    gap: 80px !important;
  }

  .contact-left {
    outline: 3px dashed rgba(34,139,34,0.7) !important;
    background-color: rgba(34,139,34,0.02) !important;
  }

  .contact-map {
    outline: 3px dashed rgba(30,144,255,0.7) !important;
    background-color: rgba(30,144,255,0.02) !important;
  }
}
