/*
Theme Name: City Brew & Bites
Theme URI: http://citybrew.com
Author: Osman Fatušić
Author URI: http://fatusa.at
Description: Custom WordPress theme for City Brew & Bites.
Version: 1.0
Text Domain: citybrew
*/


html {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}

/* ======== FONTS LOCAL ======== */
@font-face {
  font-family: 'Poppins-Light';
  src: url('assets/fonts/Poppins-Light.ttf');
}
@font-face {
  font-family: 'Poppins-Black';
  src: url('assets/fonts/Poppins-Black.ttf');
}
@font-face {
  font-family: 'Poppins-Medium';
  src: url('assets/fonts/Poppins-Medium.ttf');
}
@font-face {
  font-family: 'Poppins-Bold';
  src: url('assets/fonts/Poppins-Bold.ttf');
}

/* =========================================
   2) HERO/HEADER
========================================= */
.main-header {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen height */
  background: url("assets/images/banner.png") center / cover no-repeat;
}

/* =========================================
   3) NAVIGATION
========================================= */
.main-nav {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  transition: transform 0.4s ease;
}
.nav-links li a {
  display: inline-block;
  text-decoration: none;
  font-family: Poppins-Light;
  font-size: 1rem;
  color: #fff;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}
.nav-links li:first-child a {
  color: #FED8B1;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease-out;
}
.nav-links li a:hover::after {
  width: 100%;
}

/* ========== BURGER ICON (mobile) ========== */
.burger {
  width: 30px;
  height: 21px;
  display: none;
  flex-flow: column nowrap;
  justify-content: space-between;
  cursor: pointer;
  margin-left: auto;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.toggle .line1 {
  transform: rotate(45deg) translate(5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(-45deg) translate(4px, -5px);
}


@media (max-width: 600px) {
  .burger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
    height: 100vh;
    flex-direction: column;
    padding: 80px 20px;
    background: rgba(0,0,0,0.8);
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .nav-links.nav-active {
    transform: translateX(0);
  }
  .nav-links li a {
    font-size: 1.2rem;
    text-align: left;
    color: #fff;
  }
  .text-center{
    margin-top: 30px;
  }
}

/* =========================================
   4) HERO TEXT CONTENT
========================================= */
.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 600px;
  color: #fff;
}
.site-title {
  font-family: Poppins-Light;
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}
.title-underline {
  width: 250px;
  height: 2px;
  background-color: #fff;
  margin: 10px 0 30px;
}
.cafe-section {
  position: relative;
  margin-bottom: 1.5rem;
}
.cafe-heading {
  font-family: Poppins-Medium;
  font-size: 2rem;
  margin-bottom: 0.6rem;
  margin-left: 100px;
}
.cafe-half-circle {
  width: 100px;
  height: 50px;
  background-color: #fff;
  border-radius: 0 0 100px 100px;
  margin-bottom: 0.5rem;
  margin-left: 90px;
}
.hero-tagline {
  position: absolute;
  bottom: 5%;
  left: 10%;
  font-family: Poppins-Medium;
  font-size: 1.3rem;
  font-style: italic;
  color: #fff;
  z-index: 2;
}

/* =========================================
   BTN
========================================= */
.btn-primary {
  background-color: #EE9F52 !important;
  border-color: #EE9F52 !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #d48e49 !important;
  border-color: #d48e49 !important;
}

/* =========================================
   6) ABOUT SECTION
========================================= */
.about-section {
  padding: 80px 0;
}
.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: Poppins-Medium;
}
.about-section p {
  font-family: Poppins-Light;
  line-height: 1.6;
  margin-bottom: 0; 
}
.about-section .btn {
  font-family: Poppins-Medium;
}
.about-img {
  width: 100%;
  height: 250px;
  object-fit: cover; 
  border-radius: 4px;
}

/* =========================================
   7) ADVANTAGE SECTION
========================================= */
.advantage-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}
.advantage-section h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  font-family: Poppins-Medium;
}
.advantage-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}
.advantage-item h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: Poppins-Medium;
}
.advantage-item p {
  font-size: 0.95rem;
  font-family: Poppins-Light;
  line-height: 1.5;
}

/* =========================================
   8) PRODUCTS SECTION
========================================= */
.products-section {
  background-color: #f4f4f4; 
  padding: 80px 0;
  text-align: center;
}
.products-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: Poppins-Medium;
}
.products-section p {
  font-size: 1rem;
  font-family: Poppins-Light;
  max-width: 700px;
  margin: 0 auto 40px;
}
.product-card {
  background-color: #fff; 
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 320px; 
  width: 100%;
  overflow: hidden; 
}
.product-card .card-img-top {
  border-radius: 0; 
  height: 200px;
  object-fit: cover;
}
.product-card .card-body {
  text-align: left; 
  padding: 1rem 0;
  max-width: 85%;
  margin: 0 auto;
}
.product-card .card-title {
  font-family: Poppins-Medium;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.product-card .card-text {
  font-family: Poppins-Light;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================
   9) FOOTER
========================================= */
.footer-dark {
  background-color: #1D1D23;
}

.footer-dark .footer-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.footer-dark .footer-title {
  font-family: Poppins-Medium;
  font-size: 1.1rem; 
  color: #FFFFFF;
  margin-bottom: 0;
}
.footer-dark .footer-text {
  font-family: Poppins-Light;
  color: #717171;
  font-size: 0.9rem; 
  line-height: 1.6;
  margin-top: 0.5rem;
}
/* Newsletter form */
.footer-dark .newsletter-form .newsletter-input {
  background-color: #3B3B3F; 
  color: #fff;              
  border: none;
  padding: 0.6rem;
  border-radius: 4px 0 0 4px;
}
.footer-dark .newsletter-form .newsletter-btn {
  border-radius: 0 4px 4px 0;
  background-color: #EE9F52 !important;
  border: none;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-dark .newsletter-form .send-icon,
.footer-dark .newsletter-form .newsletter-btn i {
  width: 16px;
  height: 16px;
  object-fit: contain;
  color: #fff;
}

.footer-bottom {
  background-color: #111; 
  font-family: Poppins-Light;
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
}


@media (max-width: 767px) {
  .footer-dark .footer-col {
    text-align: center;
    margin-bottom: 2rem;
  }
  .footer-dark .footer-brand {
    justify-content: center;
  }
}
