/* ========================================
   Event Management System - Main Stylesheet
   ======================================== */

/* girassol-regular - latin_latin-ext */

@font-face {
  font-family: 'Girassol';
  font-style: normal;
  font-weight: 400;
  src: url('../../fonts/girassol-v1-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
  src: local('Girassol Regular'), local('Girassol-Regular'),
       url('../../fonts/girassol-v1-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/girassol-v1-latin_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/girassol-v1-latin_latin-ext-regular.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/girassol-v1-latin_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/girassol-v1-latin_latin-ext-regular.svg#Girassol') format('svg'); /* Legacy iOS */
}
/* raleway-regular - latin */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../../fonts/raleway-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Raleway'), local('Raleway-Regular'),
       url('../../fonts/raleway-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/raleway-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/raleway-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/raleway-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/raleway-v14-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-500 - latin */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('../../fonts/raleway-v14-latin-500.eot'); /* IE9 Compat Modes */
  src: local('Raleway Medium'), local('Raleway-Medium'),
       url('../../fonts/raleway-v14-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/raleway-v14-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/raleway-v14-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/raleway-v14-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/raleway-v14-latin-500.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-700 - latin */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('../../fonts/raleway-v14-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Raleway Bold'), local('Raleway-Bold'),
       url('../../fonts/raleway-v14-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/raleway-v14-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/raleway-v14-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/raleway-v14-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/raleway-v14-latin-700.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-900 - latin */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 900;
  src: url('../../fonts/raleway-v14-latin-900.eot'); /* IE9 Compat Modes */
  src: local('Raleway Black'), local('Raleway-Black'),
       url('../../fonts/raleway-v14-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/raleway-v14-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/raleway-v14-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/raleway-v14-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/raleway-v14-latin-900.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --posttitle-color: #9E0A0A;
    --warning-color: #f59e0b;
    --event-color: #3b82f6;
    --announcement-color: #8b5cf6;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
body {
  background-color: #fff;
  font-size: 20px;
  line-height: 34px;
  color: #000;
  font-family: 'Raleway', Times New Roman, Arial, sans-serif; 
}

section {
  padding: 0;
  width: 100%;
  min-height: 20px;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: green;
}
.under-menu {
  background-image: none;
  width: 100%;
}

/* hero */
#all-bg {
  background-color: #83DBF9;
 }

#all-bg h1 {
  font-style: normal;
  font-family: "Girassol", Times New Roman, Arial, sans-serif !important;
  white-space: normal;
  padding-top: 0px;
  font-size: 62px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3); }

#all-bg p {
  color: #fff;
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3); }

.v-center {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: inherit; /** Must match container's height**/
}
 /************menu***********/

#menu {
  background-color: #fff;
  padding: 0;
  border-bottom: 2px solid #fff; }

.navbar .megamenu{ padding: 1rem; }

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: .5rem;
  padding-bottom: .5rem;
}

*, ::after, ::before {
  box-sizing: border-box;
}

.my-toggler {color: #1E8EC0 !important;}

.navbar-nav a.nav-link {color: #000 !important; font-weight: 700; font-size: 1.2rem;}

.navbar-nav a:hover.nav-link {color: rgb(151, 246, 7) !important;}

.navbar-nav .nav-item li a.nav-link {text-decoration: none; color: #FFF !important; font-size: 20px; }

.navbar-nav .nav-item li a:hover.nav-link {color: rgb(151, 246, 7) !important;}

.submenu h4.title {color: rgb(151, 246, 7); font-size: 24px; font-weight: bold;}

.submenu li a {text-decoration: none; color: #FFF; font-size: 20px; border-bottom: 1px solid rgb(200, 230, 154);}

.submenu li a:hover {color: rgb(151, 246, 7); }

.submenu p{color: #FFF !important}

.submenu .list-group li a {
  text-decoration: none;
  margin: 0px 20px 25px 0px !important;
  background: none !important;
}

.submenu .list-group li a:hover {
  color: rgb(151, 246, 7);
}
.icon-logo {color: #57BE27 !important;}
/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}
/** Lines and Dividers **/

/** Buttons **/
/**main-body-style**/
.main-content {
    flex: 1;
    padding: 3rem 0;
}
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.home-section {
    background: var(--surface);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    margin: 0;
    color: var(--primary-dark);
    letter-spacing: 2px;
    font-family: "Girassol", Times New Roman, Arial, sans-serif !important;     
}
/* ========================================
   Post Cards
   ======================================== */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 0.5rem;
    border-left: 4px solid var(--event-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.announcement-card {
    border-left-color: var(--announcement-color);
}

.date-box {
    background: var(--event-color);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 60px;
}

.announcement-date {
    background: var(--announcement-color);
}

.date-box .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.date-box .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.post-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-dark);
}

.post-meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.post-description {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
}

/* ========================================
   Posts Grid (Events Page)
   ======================================== */
.posts-grid {
    display: grid;
    gap: 2rem;
}

.post-card-full {
    background: var(--surface);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 4px solid var(--event-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card-full:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.announcement-card-full {
    border-left-color: var(--announcement-color);
}

.past-post-card {
    opacity: 0.8;
}

.post-header {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background);
}

.post-date-large {
    background: var(--event-color);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 80px;
}

.post-date-large .month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 600;
}

.post-date-large .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.post-date-large .year {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.post-info {
    flex: 1;
}

.post-info h3 {
    margin-bottom: 0.5rem;
}

.post-body {
    padding: 1.5rem;
}

.post-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ========================================
   Post Detail Page
   ======================================== */
.post-detail {
    background: var(--surface);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.post-detail-header {
    padding: 2rem;
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
}
.post-detail-header h1 {
    color: var(--primary-dark);
}
.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary-color);
}

.post-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    font-weight: 500;
}

.post-detail-body {
    padding: 2rem;
}

.post-description-section,
.post-content-section {
    margin-bottom: 2rem;
}

.post-description-section h3,
.post-content-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.post-main-content {
    line-height: 1.8;
}

.post-main-content p {
    margin-bottom: 1rem;
}

.post-main-content strong {
    font-weight: 600;
}

.post-detail-footer {
    padding: 1.5rem 2rem;
    background: var(--background);
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}
/* ========================================
   Badges
   ======================================== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

.badge-event {
    background: #dbeafe;
    color: #1e40af;
}

.badge-announcement {
    background: #ede9fe;
    color: #6b21a8;
}

.badge-recurring {
    background: #fef3c7;
    color: #92400e;
}

.badge-one-time {
    background: #e5e7eb;
    color: #374151;
}
/****Footer*********/

.footer {
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  font: normal 18px;
  padding: 20px;
  margin-top: 0px; }

.footer p {
  color: #8d9093;
  font-size: 18px;
  padding-top: 20px; }

.footer .footer-links {
  list-style: none;
  font-weight: bold;
  color: #000 !important;
  padding: 10px 0px 10px 0px;
  margin: 0; }

.footer .footer-links a {
display: inline-block;
text-decoration: none;
color: #008000; }

.footer .footer-links a:hover {
color: #000; }  

#footer-bottom {
  background: #000 url("../../media/bg/footer.jpg?v=1.0") left bottom no-repeat;
  height: 500px;
  width: 100%;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  text-align: center; }

#footer-bottom h5 {
  color: #fff; }

/****media-query**********/
/***Extra small screens***/
@media only screen and (max-width: 359px) {
  
  .navbar-brand img {width: 277px !important;}/**ratio=5.326923***/
  .under-menu {
    font-size: 1.1rem;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .content-hero {
    background: rgba(0, 0, 0, 0.5); 
  } 
  .hero-caption {
    width: 98%;
    }
    .hero-caption h1 {
      font-size: 20px;
      letter-spacing: none;
    }
    .hero-caption h3 {
    font-size: 14px;
    letter-spacing: none;
    } 

}
/****Small devices (landscape phones, 576px and up)***/
@media only screen and (min-width: 360px) and (max-width: 767px) {
  #hero {
    padding-bottom: 100px;
  }
  .content-hero {
    background: rgba(0, 0, 0, 0.5); 
  } 
  .hero-caption {
    width: 95%;
    }
    .content-hero {
      background: rgba(0, 0, 0, 0.5); 
    } 
    .hero-caption h1 {
      font-size: 22px;
      letter-spacing: 2px;
    }
    .hero-caption h3 {
    font-size: 18px;
    letter-spacing: 2px;
    }
    
} 

/****Medium devices (tablets, 768px and up)***/
@media only screen and (min-width: 768px) and (max-width: 991px) {

  .hero-caption {
    width: 85%;
    }
    .content-hero {
      background: none; 
    } 
}

/****Large devices (desktops, 992px and up)***/
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  
  .navbar-nav a.nav-link{
    font-size: 1.1rem;
  }
  .hero-caption {
    width: 85%;
    }
  .content-hero {
    background: none; 
  } 
}

/****X-Large devices (large desktops, 1200px and up)***/
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .content-hero {
    background: none; 
  } 
}

/****XX-Large devices (larger desktops, 1400px and up)***/
@media (min-width: 1400px) {
  .content-hero {
    background: none; 
  } 
}
