/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: url('../img/cafe.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: #1a1a1a;
}

.background-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('./img/cafe.jpeg') no-repeat center center fixed;
  background-size: cover;
  z-index: -1;
  opacity: 1;
}

.background-overlay::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  padding: 1rem 2rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #005f99;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links .disabled {
  cursor: not-allowed;
  pointer-events: auto; /* IMPORTANT: allow events */
  color: gray;
}

.nav-links a {
  text-decoration: none;
  color: #005f99;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  color: #f4a261;
  background-color: rgba(0, 95, 153, 0.1);
  transform: translateY(-2px);
}

.search-bar input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Toggle button for mobile nav */
.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Main Content */
.main-content {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

/* Call To Action Button */
.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 30px;
  background-color: #005f99;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background-color: #007bbf;
}

/* Hero Section */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600&display=swap');

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  margin-top: 6rem;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 6rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.1;
}

.hero h1 span {
  color: #005f99;
  font-weight: 300;
}

.hero p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.8rem;
  max-width: 600px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 200px;
  margin: 1rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #f4a261;
}

.footer-section p,
.footer-section ul,
.footer-section a {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a,
.footer-section a {
  color: #f4a261;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .search-bar {
    width: 100%;
    margin-top: 10px;
  }

  .search-bar input {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}


/* connect style */
/* Root colors (if not already defined) */
:root {
  --primary-blue: #005f99;      /* a medium strong blue */
  --accent-orange: #f4a261;     /* vibrant orange */
  --accent-orange-hover: #f48c37; /* darker orange for hover */
  --light-gray: #d3d3d3;        /* light grey for borders */
  --medium-gray: #666666;       /* medium gray for text */
  --background-white: #ffffffcc; /* translucent white */
}

/* Connect Page container */
.connect-page {
  background-color: var(--background-white);
  padding: 2.5rem 3rem;
  max-width: 800px;
  margin: 8rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: var(--medium-gray);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

/* Headings */
.connect-page h1,
.connect-page h2 {
  color: var(--primary-blue);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.connect-page h1 {
  font-size: 2.5rem;
}

.connect-page h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
}

/* Paragraph inside intro */
.connect-page .intro p {
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  color: var(--medium-gray);
}

/* Contact info list */
.contact-info ul {
  list-style: none;
  padding: 0;
  color: var(--medium-gray);
  font-weight: 500;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Contact form */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
  color: var(--medium-gray);
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 6px var(--primary-blue);
}

.contact-form button {
  margin-top: 2rem;
  padding: 0.85rem 1.5rem;
  background-color: var(--accent-orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--accent-orange-hover);
}

/* Optional: Add subtle link styling if needed */
.connect-page a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
}

.connect-page a:hover {
  text-decoration: underline;
}

/* for responsive design */
@media (max-width: 768px) {
  .nav-links, .search-bar {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
  }

  .nav-links.show, .search-bar.show {
    display: flex;
  }

  .nav-container {
    flex-wrap: nowrap; /* To keep logo and toggle aligned */
    align-items: center;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-blue);
  }

  .search-bar input {
    width: 100%;
    box-sizing: border-box;
  }
}

/* search bar */
/* Add this to your main CSS file or in <style> in search.html */

.search-page {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;
}

.search-page h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

#search-query {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.results-container {
  display: grid;
  gap: 20px;
}

.result-item {
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.result-item:hover {
  background-color: #f0f8ff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-item h3 {
  margin: 0 0 8px;
  color: #1a1a1a;
  font-size: 1.2rem;
}

.result-item p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}


/* responsive in tablet and mobile */
@media (max-width: 1024px) {
  .nav-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 10px;
  }
  
  .nav-links.show {
    display: flex;
  }
}

/* loader */
#logo-loader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

#loader-logo {
  width: 80vw; /* or 80vw if you want even larger */
  max-width: 600px;
  height: auto;
  position: absolute;
  transition: transform 0.8s ease;
}

body.loaded .hero {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero {
  opacity: 0;
  transform: translateY(20px);
}

