/* styles.css */

@import url('https://fonts.googleapis.com/css2?family=Menbere:wght@100..700&display=swap');

:lang(en) {
    font-family: 'Open Sans', sans-serif;
}

:lang(am) {
    font-family: "Menbere", sans-serif;
}

:root {
  /* Navy Palette */
  
  --navy-100: #4D467A;
  --navy-300: #807AA4;
  --navy-500: #27204F; 
  --navy-700: #BBB8CF;
  --navy-900: #BDB4FA; 

  /* Gold Palette */
  --gold-h: 33;
  --gold-s: 39%;
  --gold-100: hsl(var(--gold-h), var(--gold-s), 94%);
  --gold-300: hsl(var(--gold-h), var(--gold-s), 75%);
  --gold-500: hsl(var(--gold-h), var(--gold-s), 58%); /* Primary */
  --gold-700: hsl(var(--gold-h), var(--gold-s), 40%);
  --gold-900: hsl(var(--gold-h), var(--gold-s), 20%);


  --space-xs: 0.25rem; /* 4px */
  --space-sm: 0.5rem;  /* 8px */
  --space-md: 1rem;    /* 16px */
  --space-lg: 1.5rem;  /* 24px */
  --space-xl: 2rem;    /* 32px */
  --space-2xl: 3rem;   /* 48px */
  --space-3xl: 4rem;   /* 64px */
  --space-4xl: 5rem;   
  --space-5xl: 6rem;   
}

/* Space Utilies */


/* Padding */
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }

/* Section Padding (Top/Bottom) */
.py-section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

/* Margin */
.m-auto { margin: 0 auto; }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

/* Stacked spacing for elements like paragraphs or cards */
.stack-md > * + * {
  margin-top: var(--space-md);
}


/* End Space Utilies */





/* Layout Utilities */

.grid-layout {
  display: grid;
  /* Adjust 250px to make cards wider or narrower */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

a{
 text-decoration: none;
}


/* Apply this to your cards inside the grid */
.grid-item {
  background: var(--navy-500);
  padding: 1.5rem;
  border-radius: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.flex-nav {
  display: flex;
  justify-content: space-between; /* Pushes logo and links apart */
  align-items: center;           /* Centers items vertically */
  padding: 10px 5%;
  background: var(--navy-500);
}

.nav-links {
  display: flex;
  gap: 20px;                     /* Space between links */
  list-style: none;
}

.nav-links a {
  color: var(--gold-500);
  text-decoration: none;
  font-weight: 600;
}


/* Container that fills the viewport height */
.full-screen-center {
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center;     /* Vertical center */
  min-height: 100vh;
  background: #f5f7fa;
}

/* Use this for your card */
.centered-card {
  width: 100%;
  max-width: 450px;
  padding: 30px;
}

/* End of utilities */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', 'Menbere', sans-serif;
}

body {
  background: #e6f0ff90;
  color: #333;
}

header {
  background: #2c3e50;
  color: white;
  padding: 15px;
  text-align: center;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 40px auto;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h1 {
  margin-bottom: 20px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}

button {
  background-color: var(--gold-500);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: var(--gold-300);
}

.success {
  color: green;
  margin-top: 10px;
}

.error {
  color: red;
  margin-top: 10px;
}


/* Herro sections */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  /* background-color: transparent;  */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: var(--space-md) 0;
}



.nav-container {
   max-width: 1700px;

  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
}


/* --- Logo Styling --- */
.logo {
  height: 90px;
  width: 90px;
  margin-right: var(--space-3xl) ;
  background: url('LogoPurple.svg') no-repeat center ;
}

.nav-menu{
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  flex-grow: 1; /* Allows links to stay near the logo */
  /* justify-content:center; */
}


.nav-links a {
  text-decoration: none;
  color: var(--navy-500);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative; /* Required for the underline effect */
  padding: var(--space-xs) 0;
  transition: color 0.3s ease;
}


/* Gold Underline Hover Effect */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--gold-500);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}


/* --- Social Icons --- */
.social-icons {
  display: flex;
  gap: var(--space-lg);
}

.social-icons a {
  color: var(--gold-500);
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: var(--gold-300);
  transform: translateY(-2px);
}

/* --- Utilities --- */
.nav-spacer {
  height: 70px; /* Should match the height of your navbar */
}

/* Hero */

.hero {
  position: relative;
  height: 90vh;
  width: 100%;
  /* Replace 'music-school-bg.jpg' with your actual image path */
  /* background: url('image.png') no-repeat center center/cover; */
  background: url('timro.jpg') no-repeat center center/cover;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right, 
    rgba(39, 32, 79, 0.85), /* Navy-500 with opacity */
    rgba(39, 32, 79, 0.4)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom:13rem;
}

.hero-text-wrapper {
  max-width: 600px; /* Keeps text on the left side */
  color: white;
}

.hero-text-wrapper h1 {
  font-family: "Menbere", sans-serif;
  font-size: clamp(6rem, 8vw, 4rem); /* Responsive font size */
  color: var(--gold-500);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}


.hero-text-wrapper p {
  font-size: 17px;
  /* line-height: 1.6; */
  font-weight: 400;
  margin-bottom: var(--space-xl);
  color: var(--navy-700); /* Soft grey-blue for readability */
  line-height: 1.6rem;
  max-width: 500px;
}



/* Hero Button */
/* .btn-hero {
  display: inline-block;
  background-color: var(--gold-500);
  color: var(--navy-500); 
  padding: var(--space-md) var(--space-xl);
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero:hover {
  background-color: var(--gold-300);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
} */


/* --- Hero Quick Links --- */
.hero-quick-links {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.quick-link-item:hover {
  transform: translateX(10px); /* Subtle slide effect on hover */
}



/* --- Hero Quick Info (Minimalist) --- */
.hero-info-minimal {
  display: flex;
  gap: var(--space-3xl); /* Wide gap for a spacious feel */
  margin-top: var(--space-xl);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Icon Style */
.info-item i {
  color: var(--gold-500);
  font-size: 1.5rem; /* Larger icon since there is no box */
  transition: color 0.3s ease;
}

.info-item:hover i {
  color: var(--gold-500); /* Icon turns gold on hover */
}

/* Text Stack */
.info-text small {
  display: block;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-500); /* Small gold label */
  margin-bottom: 2px;
}

.info-text p {
  margin: 0 !important;
  color: var(--navy-700);
  font-weight: 400;
  font-size: 1.1rem;
}





/* Mobile  */

/* --- Mobile Responsiveness (Max 768px) --- */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--navy-500);
}


@media (max-width: 830px) {

  .nav-container {
  display: flex;
  justify-content: space-between; 
  align-items: center;
}

  .hamburger {
    display: block;
    cursor: pointer;
    z-index: 1001;
    order: 2; /* Ensures it stays to the right of the logo */
  }

  .nav-menu {
    position: fixed;
    /* This is the secret: start above the screen */
    top: -110%; 
    left: 0;
    width: 100%;
    height: auto; /* Menu grows based on content */
    background: white;
    padding: var(--space-3xl) 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
    
    /* Animation: Vertical Slide */
    transition: top 0.5s ease-in-out; 
    z-index: 999;
  }

  /* When active, slide down to just below the navbar */
  .nav-menu.active {
    top: 80px; /* Adjust this to match your navbar height */
  }

  .nav-links {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .social-icons {
    display: flex;
    flex-direction: row;
    padding-top: var(--space-md);
    border-top: 1px solid #eee; /* Light separator */
    width: 50%;
    justify-content: center;
  }
}




@media (max-width: 768px) {
  .hero {
    height: 100vh;
    padding-top: 100px; /* Space for the navbar */
    align-items: center;
  }
  
  /* Prevent the background from scrolling when menu is open (Optional) */
  body.menu-open {
    overflow: hidden;
  }

  .hero-text-wrapper {
    margin-top: 10rem;
    padding: 20px;
  }

  .hero-text-wrapper h1{
    font-size: 9rem;
  }
/* 
  .hero-info-minimal{
    flex-direction: column;
  } */
}

@media (max-width: 586px) {
   .hero-text-wrapper h1{
    font-size: 4rem;
  }
}




/* --- About Wrapper Layout --- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two horizontal sections */
  gap: var(--space-xl);
  align-items: stretch;
}

/* --- Left Card: Image Offset Effect --- */
.about-card-images {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) !important; /* Extra room for the offset */
}

.image-stack {
  display: flex;
  gap: var(--space-md);
  width: 100%;
}

.img-box {
  flex: 1;
  overflow: hidden;
  /* border-radius: 8px; */
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.img-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* The Offset Logic */
.img-box.down {
  transform: translateY(30px);
}

.img-box.up {
  transform: translateY(-30px);
}

/* --- Right Card: Content Layout --- */
.about-card-content {
  display: flex;
  flex-direction: column; /* Vertical layout */
  justify-content: center;
  padding: var(--space-2xl) !important;
}

.badge-row {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.badge {
  /* background: var(--navy-100); */
  color: var(--gold-500);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-heading {
  color: var(--navy-500);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.about-text p {
  color: var(--navy-100);
  line-height: 1.8;
  margin-bottom: var(--space-lg); /* Space between paragraphs */
}

/* Contact Button */
.btn-about {
  align-self: flex-start; /* Keeps button from stretching */
  background: var(--gold-500);
  color: #fff;  
  padding: var(--space-md) var(--space-2xl);
  /* border-radius: 5px; */
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-about:hover {
  background: var(--gold-300);
  transform: scale(1.05);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr; /* Stack cards vertically on mobile */
  }

  .about-card-images {
    padding: var(--space-xl) !important;
    order: 2;
  }
  
  .img-box.down, .img-box.up {
    transform: translateY(0) ; /* Remove offset on small screens for better fit */
  }

  .img-box.up {
  display: none;
  }

 

}


/* --- Services Refactored --- */

.service-outer-card{
  background: var(--navy-100) !important;
  padding: var(--space-4xl) var(--space-xl) !important;
}

.service-main-card {
  /* Using your Light Navy variable */
  
  display: flex;
  flex-direction: column; /* Main layout is now a column of rows */
  gap: var(--space-3xl);
  border-radius: 15px;
}

.service-header-row {
  text-align: center;
  width: 100%;
}

.service-title {
  color: white; /* Contrast against light navy */
  font-size: 2.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* 3-Column Grid */
.services-inner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl) var(--space-xl);
}

/* Individual Service Item - Centered Stack */
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  text-align: center;   /* Center text */
  gap: var(--space-sm);
}

/* Icon with Circular Border */
.icon-circle {
  width: 70px;
  height: 70px;
  border: 2px solid var(--gold-300); /* Slight golden color */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-sm);
  transition: all 0.3s ease;
}

.icon-circle i {
  color: var(--gold-500);
  font-size: 1.5rem;
}



.service-item h4 {
  color: white;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-item p {
  color: var(--navy-700); /* Soft contrast against light navy */
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 220px; /* Keeps text contained and neat */
}

/* --- Mobile Fixes --- */
@media (max-width: 992px) {
  .services-inner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-inner-grid {
    grid-template-columns: 1fr;
  }
}


/* --- Events Header Refactor --- */
.events-header {
  text-align: center;
  margin-top: var(--space-5xl);
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the whole group */
}
.title-with-icon {
  display: flex;
  align-items: center; /* Aligns image and text vertically */
  gap: var(--space-md); /* Space between image and title */
  margin-bottom: var(--space-xs);
}

.event-title-icon {
  width: 70px;  /* Small size as requested */
  height: 70px;
  background-image: url('./Gebronahi.png'); /* Your image path */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.section-title {
  color: var(--navy-500);
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0; /* Margin handled by title-with-icon */
}

/* Optional decorative gold line under the title */
.title-underline {
  width: 60px;
  height: 3px;
  background-color: var(--gold-500);
  border-radius: 2px;
}

/* --- Events Flex Layout (Unchanged Logic) --- */
.events-flex-wrapper {
  display: flex;
  gap: 20px;
  height: 650px;
}

.event-col-featured { flex: 1; }
.event-col-secondary { 
  flex: 1.5; 
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.secondary-top-row {
  display: flex;
  gap: 20px;
  flex: 1;
}

.secondary-bottom-row { flex: 1; }

/* --- Event Cards (CSS Images) --- */
.event-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.5s ease;
}

.img-featured { background-image: url('lij_beniam.jpg'); }
.img-secondary-1 { background-image: url('work_shop.jpg'); }
.img-secondary-2 { background-image: url('audience.jpg'); }
.img-bottom-full { background-image: url('kidus_dait.jpg'); }

.event-card:hover {
  transform: translateY(-5px); /* Soft lift on hover */
  box-shadow: 0 10px 20px rgba(39, 32, 79, 0.2);
}

/* --- Overlay & Hover Logic --- */
.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(39, 32, 79, 0) 0%, 
    rgba(39, 32, 79, 0.3) 40%,
    rgba(39, 32, 79, 0.95) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}

.event-info {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.event-card:hover .event-info {
  opacity: 1;
  transform: translateY(0);
}

.event-info h3 {
  color: var(--gold-500);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.event-info p {
  color: white;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .events-header {
    margin-top: var(--space-3xl);
  }
  
  .events-flex-wrapper {
    flex-direction: column;
    height: auto;
  }
  
  .event-card {
    height: 300px;
  }

  .section-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  
  .event-title-icon {
  width: 60px;  /* Small size as requested */
  height: 60px;
  }
}


/* --- Contact Section --- */
.contact-header {
  text-align: center;
  margin-top: var(--space-5xl);
  margin-bottom: var(--space-2xl);
}

.contact-subtitle {
  color: var(--navy-500); /* Darker for better readability on light background */
  font-size: 1.1rem;
  margin-top: var(--space-sm);
  font-weight: 500;
}

/* Form Container */
/* --- Simple 2-Input Contact UI --- */

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--space-5xl);
}

.contact-form-clean {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

/* Horizontal Row for Inputs */
.input-group {
  display: flex;
  gap: var(--space-md);
  width: 100%;
}

.contact-input-v2 {
  flex: 1; /* Both inputs take equal width */
  padding: var(--space-md);
  background: white !important;
  border: 2px solid var(--gold-300);
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  color: var(--navy-500);
  transition: all 0.3s ease;
}

.contact-input-v2:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Rounded Gold Button */
.btn-send-v2 {
  background-color: var(--gold-500);
  color: white;
  padding: var(--space-md) var(--space-5xl);
  border: none; /* Pill shape looks great for simple forms */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-send-v2:hover {
  background-color: var(--gold-300);
  transform: scale(1.05);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 800px) {
  .input-group {
    flex-direction: column; /* Stacks vertically on small screens */
  }
  
  .btn-send-v2 {
    width: 100%; /* Full width button on mobile   */
    border-radius: 8px;
  }
}



/* --- Footer Styles --- */
.main-footer {
  background-color: var(--navy-500);
  color: white;
  padding-top: var(--space-4xl);
  border-top: 4px solid var(--gold-500); /* Premium gold top border */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.footer-col h4 {
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

/* Brand Column */
.logo-footer {
  height: 60px;
  width: 60px;
  background: url('LogoPurple.svg') no-repeat left center;
  background-size: contain;
  filter: brightness(0) invert(1); /* Turns your purple logo white for the dark background */
  margin-bottom: var(--space-md);
}

.brand-col p {
  color: var(--navy-700);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 300px;
}

/* Links Column */
.links-col ul {
  list-style: none;
}

.links-col ul li {
  margin-bottom: var(--space-sm);
}

.links-col ul li a {
  color: var(--navy-700);
  transition: color 0.3s ease;
}

.links-col ul li a:hover {
  color: var(--gold-500);
  padding-left: 5px; /* Subtle hover movement */
}

/* Social Column */
.social-icons-footer {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.social-icons-footer a {
  color: white;
  background: var(--navy-100);
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons-footer a:hover {
  background: var(--gold-500);
  color: var(--navy-500);
  transform: translateY(-3px);
}

.footer-contact-info {
  font-size: 0.85rem;
  color: var(--navy-700);
  margin-bottom: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #1a1538; /* Slightly darker than Navy-500 */
  padding: var(--space-md) 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--navy-300);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .brand-col p {
    margin: 0 auto;
  }

  .logo-footer {
    margin: 0 auto var(--space-md) auto;
  }

  .social-icons-footer {
    justify-content: center;
  }
}