/* ===== GLOBAL TYPOGRAPHY SYSTEM ===== */

/* Paragraphs, links, buttons, UI text */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: inherit;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

/* Buttons & CTAs */
button,
input[type="button"],
input[type="submit"],
a.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}



/* ===============home2================= */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-wrapper {
    position: relative;
    background-color: #000;
    width: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Background Video Styling */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%); /* Darkens video for text readability */
}

/* Navbar Styling */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.95);
    margin: 20px 5%;
    border-radius: 12px;
    z-index: 10;
}
.logo-img{
  width:150px;
  align-items: center;
}

.logo { font-size: 24px; font-weight: 800; color: #333; }
.logo span { color: #b08d57; }

.menu { list-style: none; display: flex; gap: 25px; }
.menu li a { 
    text-decoration: none; 
    color: #333; 
    font-family: 'Poppins', sans-serif;
  font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.nav-right { display: flex; align-items: center; gap: 20px; }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 18px; }

.signup-btn {
    background: #b08d57;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
/* ============proper final header============ */

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
 
}

/* Dropdown parent */
.menu li {
  position: relative;
}

/* Dropdown box */
.dropdown {
  position: absolute;
  top: 130%;
   list-style: none;
  left: 0;
  background: #12110F;
  min-width: 180px;
  border-radius: 8px;
  opacity: 0;
  visibility: visible;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 999;
}

/* Dropdown links */
.dropdown li a {
  display: block;
  padding: 12px 18px;
  color: #EDE3D9;
  font-size: 14px;
  text-decoration: none;
}

.dropdown li a:hover {
  background: #C89B63;
  color: #1C1A17;
}

/* Show dropdown on hover */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* ===============underline menu============== */

.menu > li > a {
  position: relative;
}

.menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #C89B63;
  transition: width 0.3s ease;
}

.menu > li > a:hover::after {
  width: 100%;
}

/* =============dashboard=============== */

.dashboard-btn {
  background-color: #C89B63;
  color: #FFF;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.dashboard-btn:hover {
  background-color: #B8894F;
  transform: translateY(-2px);
  color: #000;
}




/* ===================home2 banner========================= */

/* =============banner================== */

.about-banner {
  position: relative;
  height: 70vh;
  background: url("../img/About\ page.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;
}

/* Dark overlay */
.about-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content */
.banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* Script subtitle */
.subtitle {
  font-family: "Pacifico", cursive;
  color: #C89B63;
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

/* Main title */
.banner-content h1 {
   font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 80px;
  letter-spacing: 4px;
  margin: 0;
}

/* Since text */
.since {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  letter-spacing: 3px;
  color: #EDE3D9;
}

/* ============animation======================= */

.banner-content {
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ===========what happens=================== */
.coffee-showcase {
  width: 100%;
  background: #0b0b0b;

  padding: 110px 40px;
  color: #fff;
}

/* Heading */
.coffee-heading {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeDown 1s ease forwards;
}

.subtitle {
  display: block;
  color: #c7a17a;
  font-style: italic;
  margin-bottom: 10px;
}

.coffee-heading h2 {
  font-size: 38px;
  letter-spacing: 2px;
}

.underline {
  width: 60px;
  height: 2px;
  background: #c7a17a;
  margin: 22px auto 0;
}

/* Grid */
.coffee-content {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

/* Items */
.coffee-item,
.hours-panel {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Images */
.image-wrap {
  overflow: hidden;
}

.image-wrap img {
  width: 70%;
  display: block;
  transition: transform 0.8s ease;
}

.image-wrap:hover img {
  transform: scale(1.15);
}

/* Text */
.coffee-item h3 {
  margin: 26px 0 16px;
  font-size: 18px;
  letter-spacing: 1px;
}

.coffee-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #cfcfcf;
}

.coffee-item a {
  display: inline-block;
  margin-top: 18px;
  color: #c7a17a;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 13px;
}

/* Opening Hours */
.hours-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 40px 35px;
}

.hours-panel h3 {
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.hours-panel ul {
  list-style: none;
}

.hours-panel li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
}

.closed {
  color: #c7a17a;
}

.call {
  margin-top: 28px;
  text-align: center;
  color: #c7a17a;
  font-size: 15px;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .coffee-content {
    grid-template-columns: 1fr;
  }
}


/* ==============video======================== */

.app-section {
  position: relative;
  width: 100%;
  padding: 120px 0;
  background: url("../img/hero-cafe-02\ \(1\).jpeg") center / cover no-repeat fixed;
  color: #fff;
}

.app-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.app-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 20px;
}

/* LEFT */
.app-content {
  flex: 1;
  animation: fadeLeft 1.2s ease;
}

.app-subtitle {
  font-style: italic;
  color: #c7a17a;
}

.app-content h2 {
  font-size: 40px;
  margin: 10px 0;
}

.line {
  width: 60px;
  height: 2px;
  background: #c7a17a;
  margin: 15px 0;
}

.app-content p {
  color: #ddd;
  line-height: 1.7;
  max-width: 500px;
}

.app-btn {
  margin-top: 25px;
  padding: 12px 30px;
  background: #c7a17a;
  border: none;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.app-btn:hover {
  background: #fff;
}

/* RIGHT VIDEO */
.app-video {
  flex: 1;
  position: relative;
  cursor: pointer;
  animation: fadeRight 1.2s ease;
}

.app-video img {
  width: 100%;
  border-radius: 4px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #fff;
  transition: 0.3s;
}

.app-video:hover .play-btn {
  background: #c7a17a;
  color: #000;
}

/* VIDEO POPUP */
.video-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-box {
  position: relative;
  width: 80%;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  cursor: pointer;
}

/* ANIMATIONS */
@keyframes fadeLeft {
  from {opacity:0; transform:translateX(-50px);}
  to {opacity:1; transform:translateX(0);}
}

@keyframes fadeRight {
  from {opacity:0; transform:translateX(50px);}
  to {opacity:1; transform:translateX(0);}
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .app-container {
    flex-direction: column;
  }
}

/* =================slider======================== */

.custom-section {
  width: 100%;
  overflow: hidden;
  background: #000;
}

.slider-container {
  width: 100%;
  display: flex;
}

.slider-track1 {
  display: flex;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  transition: transform 0.5s ease;
}

.slider-item {
  position: relative;
  flex: 1; /* All images share equal width */
  min-width: 20%; /* Prevents images from disappearing */
  height: 100%;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

/* THE HOVER EFFECT: This item grows, others shrink */
.slider-item:hover {
  flex: 3; /* Grow significantly on hover */
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slider-item:hover .overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7); /* Darken more on hover */
}

/* Text Styling */
.text-content {
  text-align: center;
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.slider-item:hover .text-content {
  transform: translateY(0);
}

.text-content h3 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.text-content p {
  font-style: italic;
  color: #c59d5f; /* Gold color from Kafe theme */
}


/* ===============footer=================== */

.main-footer {
   background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/footer-img.jpeg');
   
    color: #fff;
    padding: 80px 0 0 0;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px 60px 20px;
}

.footer-col h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Opening Hours List */
.hours-list { list-style: none; padding: 0; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #888;
}
.hours-list li .closed { color: #c59d5f; }

/* Posts & Links */
.footer-post { margin-bottom: 20px; }
.footer-post a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}
.post-date { color: #c59d5f; font-size: 0.75rem; }

.contact-link { color: #c59d5f; margin-bottom: 10px; }

/* Newsletter Input */
.footer-newsletter {
    display: flex;
    border: 1px solid rgba(255,255,255,0.2);
    margin-top: 15px;
}
.footer-newsletter input {
    background: transparent;
    border: none;
    padding: 12px;
    color: #fff;
    width: 100%;
}
.footer-newsletter button {
    background: #c59d5f;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #000;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #666;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
    transition: 0.3s;
}

.social-icons a:hover { color: #c59d5f; }


/* =============testimonial============ */

.testimonial-section {
  background: #f4f6f8;
  padding: 80px 20px;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.slider {
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.card {
  min-width: 100%;
  padding: 20px;
}

.card p {
  font-size: 18px;
  color: #555;
}

.card h4 {
  margin-top: 15px;
  font-weight: 600;
}


.testimonial-section {
  background: #EAE7DE
;
  padding: 80px 20px;
  text-align: center;
}

.slider {
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.card {
  min-width: 100%;
  padding: 30px;
}

.card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #ddd;
}

.card p {
  font-size: 18px;
  color: #555;
}

.card h4 {
  margin-top: 12px;
  font-weight: 600;
}


/* ========dropdownb dashboard============ */

.dashboard-menu {
  position: relative;
  display: inline-block;
}

.dashboard-btn {
  background: #d4a373;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
 font-family: 'Poppins', sans-serif;
  font-weight: 600;
    font-size: 13px;


  cursor: pointer;
}

.dashboard-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  min-width: 160px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  overflow: hidden;
}

.dashboard-dropdown a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.dashboard-dropdown a:hover {
  background: #d4a373;
}

/* SHOW DROPDOWN */
.dashboard-menu:hover .dashboard-dropdown {
  display: block;
}
