/*
Theme Name: Bamenda Cameroon Theme
Theme URI: http://bamendacameroon.site
Author: Chairman Clin
Description: A custom glassmorphism theme for Bamenda, Cameroon.
Version: 1.0
*/


html, body {
    margin: 0;
    padding: 0;
    background-image: url(HHeJy-jWMAAU8W4.jpeg);
  }
  
  header {
    background-color: #333333;
    position: fixed;
    width: 100%;
    z-index: 1;
    
    
  }

  
  nav {
    margin: 0;
    padding: 20px 0;
  }
  
  nav li {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
    width: 80px;
  }
  
  main {
    text-align: center;
    position: relative;
    top: 80px;
  }
  
  main h1 {
    color: floralwhite;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 70px;
    margin-top: 0px;
    padding-top: 80px;
    margin-bottom: 80px;
    text-transform: uppercase;
  }
  
  footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
  }
  
  footer p {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-size: 11px;
  }
  
  /*.container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
    padding-top: 80px;
    
  }*/
  
  .jumbotron {
    height: 800px;
    background-image: url("images/506213536_1175985731209025_5908945744389047787_n.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
   
  .btn-main {
    background-color: #f6f4f4;
    color: #0c0c0c;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1.3px;
    padding: 16px 40px;
    text-decoration: none;
    text-transform: uppercase;
    
  }
  
  .btn-default {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1.3px;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;  
    margin-bottom: 20px;      
  }

 
  
  .supporting {
    padding-top: 0 auto;
    padding-bottom: 0 auto;
    
  }
  
  .supporting .col {
    font-family: 'Raleway', sans-serif;
    text-align: center;
    display: flex;
  }
  
  .container {
    display: grid;
    place-items: center; /* Centers both horizontally and vertically */
    
  }
  .supporting img {
    height: 32px;
  }
  
  .supporting h2 {
    font-weight: 600;
    font-size: 23px;
    text-transform: uppercase;
  }
  
  .supporting p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 0 20px;
    margin-bottom: 20px;
  }
  
  .supporting a {
    background-color: white;
    color: #333333;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.3px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #333333; 
  }
  
  @media (max-width: 500px) {
    main h1 {
      font-size: 50px;
      padding: 0 40px;
    }
  
    .supporting .col {
      width: 100%;
      
    }
  }
  .cta-buttons {
    display: flex;
    gap: 40px;
    padding-top: 0 auto;
    padding-left: 0 auto;
}
  glass-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 12px 35px;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}



span h5 {
  text-transform: uppercase;
  font-size: 30px;
  color: whitesmoke;
}

span p {
  color: white;
}

.col {
  background-color: aqua;
  border: #0c0c0c;
  border-color: #333333;
}

.glass-nav {
  /* Frosted glass effect for Nav */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 15px;
  font-size: 0.95rem;
}

.nav-links .divider {
  color: #444;
  font-weight: 300;
}

.col a {
  border: whitesmoke;
  margin-block: auto;
}

/* Bottom Cards Section */
.bottom-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 40px 40px;
}

.glass-card {
  /* Darker frosted glass effect for cards */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.5));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 50px auto;
  width: 45%;
  max-width: 500px;
  color: #f5f7f3;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.glass-card h2 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.card-images {
  display: flex;
  gap: 15px;
  height: 120px;
}

.placeholder-img {
  flex: 1;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: thick solid rgb(212, 177, 20);
  aspect-ratio: 1/1;
}

/* Mockup placeholders for the smaller card images */
.placeholder-img.light { background-color: rgba(255, 255, 255, 0.8); 
background-image: url("images/523014139_1320823880051562_5446599304096467373_n.jpg");}
.placeholder-img.blue { background-color: rgba(135, 206, 235, 0.8); 
background-image: url("images/Map-of-Bamenda-city-showing-the-municipalities-Source-Compiled-from-the-National.webp");}
.placeholder-img.rooms { background-color: rgba(200, 190, 180, 0.8);
background-image: url("images/659900360_970737775476715_1025100787148454374_n.jpg"); }
.placeholder-img.room {
  background-color: rgba(200, 190, 180, 0.8);
  background-image: url("images/Image 10-05-2026 at 11.02.png");
}

.placeholder-img.market{
  background-image: url("images/maxresdefault.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246); 
  
  font-weight: bold;
}


.placeholder-img.grassland{
  background-image: url("images/vegetation_Bamougong.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246); 
  font-weight: bold;
}

.placeholder-img.sunset{
  background-image: url("images/Lake-Nyos-980x551.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246); 
  font-weight: bold;
}

.placeholder-img.cuisin{
  background-image: url("images/3adddeec-3d87-47f9-80dc-dfd447f73f21.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246);  
  font-weight: bold;
}

.placeholder-img.art{
  background-image: url("images/img_20200304_2147141879633125924449716.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246);  
  font-weight: bold;
}

.placeholder-img.culture{
  background-image: url("images/an-exploration-of-cameroon-music-and-dance-culture copy.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246); 
  font-weight: bold;
}
  .placeholder-img.architecture{
  background-image: url("images/Bamenda-980x551.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246); 
  font-weight: bold;
  }

  .placeholder-img.historic{
    background-image: url("images/afo-a-kom.jpg");
  text-overflow: ellipsis;
  color: rgb(242, 243, 246); 
  font-weight: bold;
  }

  .containers h2 {
    /* Responsive sizing: min 2rem, scales up automatically, max 3rem */
    font-size: clamp(2rem, 4vw, 3rem); 
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: floralwhite;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Better dynamic spacing */
    padding-top: clamp(20px, 5vh, 50px);
    margin-bottom: 30px;
    text-align: center;
    
    /* Decorative bottom accent line */
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* Creates a beautiful accent line centered under the heading */
.containers h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 15%;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(212, 177, 20), transparent);
    border-radius: 2px;
}

  .placeholder-img:hover {
    border: 2px dashed #007bff; /* Changes to a visible dashed border */
    cursor: pointer;
  }

.blog-card.glass-card.glass{
  background-color: #0095ff46;
  width: 100%; /* Spans the full width of the larger grid column */
  max-width: 450px; /* Sets a generous maximum size limit */
  padding: 35px; /* Adds plenty of internal cushion space */
  border-radius: 16px; /* Smooths out the corners for a bigger frame */
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); /* Adds depth to make it pop */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

/* 3. Scale up the typography inside the card */
.blog-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.65rem; /* Larger font size for the heading */
  font-weight: 600;
  margin: 20px 0 12px 0;
  color: floralwhite;
  line-height: 1.3;
}

.blog-card p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem; /* Larger body text for better reading readability */
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.main-content p {
  /* 1. Shrink background to tightly wrap only the text */
  display: inline-block; 
  
  /* 2. Translucent blue background (Red: 0, Green: 149, Blue: 255, Alpha transparency: 0.25) */
  background-color: rgba(0, 149, 255, 0.25); 
  
  /* 3. The magic blur effect that treats the background image like frosted glass */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Required support for Safari/iOS browsers */
  
  /* 4. Text styling & Padding adjustments */
  color: #ffffff;
  padding: 10px 18px; /* Cushioning inside the colored background */
  border-radius: 8px; /* Smooth corners around the text highlight */
  border: 1px solid rgba(255, 255, 255, 0.15); /* Soft border to define the glass shape */
  
  /* 5. Mobile responsive line height and layout adjustment */
  line-height: 1.6;
  margin: 15px auto;
}

/* 6. Mobile optimizations: Ensures text remains perfectly clear and reads nicely on small touch screens */
@media (max-width: 768px) {
  .main-content p {
      font-size: 0.95rem;
      padding: 12px 14px; /* Slightly tighter internal frame for narrow screens */
      line-height: 1.5;
      display: block; /* Changes to block on mobile so text comfortably wraps without clipping */
      width: 100%; /* Spans the full text column margin gracefully on mobile layouts */
      max-width: 90%; /* Prevents text from jamming right against the glass screen edges */
  }
}

  .described-image-box.blogone{
    background-image: url("https://panafricanrevoluntionmovement.wordpress.com/wp-content/uploads/2017/10/fb_img_15093818820851.jpg?w=736");
  }


.card.glass-card {
  border: thick solid rgb(44, 161, 196);
}


/* Replicate partial visibility and flow */
@media (max-width: 900px) {
  .card-grid {
      grid-template-columns: 1fr;
      
  }
}

/* --- NEW: PHOTO GRID SECTION (Accra in Frames) --- */
.photo-grid-section {
  padding: calc(var(--spacing-unit) * 3) 0;
  
}

.bdainframes{
  padding-bottom: 20px;

}

.photo-grid-section h2 {
  font-size: var(--h2-fs);
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.photo-box {
  aspect-ratio: 1/1;
  border-radius: 8px;
  background-color: rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  border: 1px solid rgba(255,255,255,0.1);
}


@media (max-width: 768px) {
  .photo-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .photo-grid {
      grid-template-columns: 1fr;
  }
}

/* --- NEW: BLOG SECTION (City Stories) --- */
.blog-section {
  padding: calc(var(--spacing-unit) * 3) 0;
}

.blog-section h2 {
  font-size: var(--h2-fs);
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  padding: 20px;
  max-width: 1200px; /* Limits the overall grid layout width */
  margin: 0 auto;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card .described-image-box {
  height: 220px; /* Tallies up the image height significantly */
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 3px solid rgb(212, 177, 20); /* Keeps your gold border style */
}

.blog-card.glass-card.glass:hover {
  transform: translateY(-8px); /* Card lifts off the background */
  box-shadow: 0 16px 50px rgba(0, 149, 255, 0.4); /* Glass glow intensifies */
}

/* 5. Style and size up your Read More link */
.blog-card .card-bottom-link {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #ffeb3b; /* Gives it an eye-catching highlight color */
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

@media (max-width: 900px) {
  .blog-grid {
      grid-template-columns: 1fr;
  }
}

/* --- NEW: FOOTER --- */
.site-footer {
  margin-top: calc(var(--spacing-unit) * 3);
  padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 1) 0;
  border-top: var(--glass-border);
  text-align: center;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  flex: 1 1 300px;
  text-align: left;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #d1d1d1;
  margin-bottom: 1rem;
}

.footer-navs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav-col {
  text-align: left;
}

.footer-nav-col h4 {
  color: white;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-col a {
  font-size: 0.9rem;
  color: #d1d1d1;
}

.footer-nav-col a:hover {
  color: #d1eaff;
}

.copyright {
  width: 100%;
  margin-top: calc(var(--spacing-unit) * 2);
  padding-top: calc(var(--spacing-unit) * 1);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: #a1a1a1;
}

@media (max-width: 768px) {
  .site-footer .containerr {
      flex-direction: column;
      align-items: center;
  }
  .footer-brand {
      text-align: center;
  }
  .footer-navs {
      justify-content: center;
  }
  .footer-nav-col {
      text-align: center;
  }

  div.card-section { 
    display: grid;
  }
}

/* history page */
.main-text{
padding-top: 10px auto;
padding-bottom: 0 auto;
display: block;
place-items: center; 
width: 100%;
height: 500px;
margin: 10px auto;
margin-top: 10px;
background-color: burlywood;
}

.main-text p{
  position: relative;
  top: 200px;
}

/* about-cameroon page 

/* --- 1. Global Variables & Reset --- */
:root {
  --primary-color: #2E7D32; /* A deep green for Cameroon */
  --secondary-color: #FBC02D; /* A vibrant yellow */
  --text-color: #333333;
  --bg-color: #F4F7F6;
  --card-bg: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* --- 2. Hero Section (Top Banner) --- */
.hero {
  /* If you have an image, replace the background color with:
     background: url('your-image.jpg') center/cover; */
  background-color: var(--primary-color);
  color: white;
  height: 60vh; /* Takes up 60% of the screen height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 3. Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--secondary-color);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background-color: #F9A825;
  transform: translateY(-3px); /* A nice hover lift effect */
}

/* --- 4. Main Content Layout --- */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* --- 5. Cards & Grids --- */
.card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.card h2, .card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Creates two equal columns */
  gap: 20px;
}

/* Interactive Hover Effect for the grid cards */
.highlight-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* --- 6. Footer --- */
footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: white;
  margin-top: 40px;
}

/* --- 7. Responsive Design (Mobile Support) --- */
@media (max-width: 768px) {
  .grid-layout {
      grid-template-columns: 1fr; /* Stacks columns on small screens */
  }
  
  .hero h1 {
      font-size: 2rem;
  }
}