html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Playfair Display', serif;
  background: #fdf8f2;
  color: #3b2f2f;
  line-height: 1.6;
}

/* ——— Header & Navigation —— */
.site-header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* General reusable container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: #6b4f4f;
}
.site-nav ul {
  list-style: none;
  gap: 20px;
  border-radius: 8px;
}

.site-nav a {
  text-decoration: none;
  color: #3b2f2f;
  font-weight: bold;
  transition: color 0.3s;
}
.site-nav a:hover {
  color: #a87b5e;
}

/* ——— Burger Menu Styles —— */

  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
  }
/* Hide burger menu on large screens */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger .line {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Show burger only below 768px */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: right;
    padding-right: 20px;
  }
}

/* Default nav-links on desktop */
@media (min-width: 769px) {
  .burger {
    display: none;
  }

  .nav-links {
    display: flex !important; /* allow override for desktop only */
    gap: 20px;
    position: static;
    flex-direction: row;
  }
}
  



/* ——— Hero Section with Video —— */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: relative;
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%; height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
}
.hero-content {
  text-align: center;
  color: #fff;
  z-index: 3;
}
.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.btn-primary {
  background: #a87b5e;
  color: #fff;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #8a5c3d;
}

/* ——— About Section —— */
.about-section {
  padding: 80px 0;
  background: #fff;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.about-text {
  flex: 1 1 50%;
}
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #6b4f4f;
}
.about-text p {
  font-size: 1.1rem;
  color: #3b2f2f;
  max-width: 600px;
}
.about-image {
  flex: 1 1 40%;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
  .about-image,
  .about-text {
    flex: 1 1 100%;
  }
}

/* ——— Footer —— */
.site-footer {
  background: #3b2f2f;
  color: #fff;
  padding: 30px 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}
.socials a {
  display: inline-block;
  margin-left: 10px;
}
.socials img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}
.socials img:hover {
  transform: scale(1.1);
}

/* ——— Menu Section —— */
.menu-section {
  background: #fdf8f2;
  padding: 80px 0;
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  color: #6b4f4f;
  margin-bottom: 40px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.menu-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.menu-item:hover {
  transform: translateY(-5px);
}
.menu-item h3 {
  font-size: 1.4rem;
  color: #3b2f2f;
  margin-bottom: 10px;
}
.menu-item p {
  font-size: 0.95rem;
  color: #6b4f4f;
  margin-bottom: 10px;
}
.menu-item .price {
  font-weight: bold;
  color: #a87b5e;
  font-size: 1.1rem;
}

/* ——— Events Section —— */
.events-section {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.event-card {
  background: #fdf8f2;
  border-left: 5px solid #a87b5e;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card h3 {
  color: #6b4f4f;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.event-card p {
  font-size: 1rem;
  color: #3b2f2f;
  margin-bottom: 10px;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Gallery Section —— */
.gallery-section {
  background: #fdf8f2;
  padding: 80px 0;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ——— Lightbox Overlay —— */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}


.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.nav-btn.left {
  left: 30px;
}

.nav-btn.right {
  right: 30px;
}

/* ——— Contact Section —— */
.contact-section {
  background: #fff;
  padding: 80px 0;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-details {
  flex: 1 1 40%;
}

.contact-form {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family:'Playfair Display', serif ;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-contact {
  background: #b58467;
  border: none;
  padding: 10px;
  font-family:'Playfair Display', serif ;
  font-size: 18px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
 }

 .btn-book  {
  background: #b58467;
  border: none;
  padding: 10px;
  font-family:'Playfair Display', serif ;
  font-size: 18px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
 }
#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #a87b5e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9999;
}

#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

/* Mobile tweaks */
@media (max-width: 1024px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-details {
    text-align: center;
  }

  .contact-form {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 8px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .socials {
    margin-top: 10px;
  }
}




/*notes -
 The Coffee House One-Page Website – Example Pricing Breakdown
Package	Includes	Estimated Price (GBP)
Basic Static Version	Custom design, responsive layout, hero video, gallery, lightbox, contact	£400
With On-Page SEO	Includes basic SEO metadata (title, description, Open Graph, favicon etc.)	£500
With WordPress Conversion	Editable version built into WordPress (no plugins, custom theme structure)	£750
WordPress + On-Page SEO	Editable site + full on-page SEO (meta tags, Open Graph, social, favicon)	£850

🔧 Optional Add-Ons You Could List Separately:
Add-On	Details	Price Range
SEO Optimization	Meta tags, Open Graph, Twitter Cards, etc.	£100
WordPress Conversion	Editable homepage as custom WP theme	£300–£350
Google Map Custom Embed	Styled & branded embedded location map	£25–£50
Hosting Setup (Optional)	Domain & hosting help for client	£50–£75

💡 Portfolio Tip (How to Phrase It):
“This is a one-page responsive café website created for portfolio/demo purposes. A similar project would typically cost between £400–£850 depending on SEO needs and whether it’s delivered as a static HTML site or editable WordPress theme.”*/

