/*
Theme Name: HitMag Child
Template: hitmag
Version: 1.0.0
*/

*, *::before, *::after {
  box-sizing: border-box;
}

/* === Custom Header Styles === */

/* Resize header height 
.site-header {
    position: relative; /* or remove 'position' entirely */
}*/

/* Resize logo image */
.site-branding img {
    max-height: 70px;
    width: auto;
}

/* Resize site title text */
.site-title {
    font-size: 28px;
    line-height: 1.2;
}

/* Resize tagline */
.site-description {
    font-size: 14px;
    color: #666;
}

/* === Banner Design === */
.custom-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #fff5f5, #fbe8e8);
    padding: 20px 10px;
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.25);
    border-radius: 0;               /* Remove rounded corners for full-width look */
    animation: fadeIn 1.2s ease-out;
    position: relative;
    z-index: 1;
    width: 100vw;                  /* Full viewport width */
    max-width: 100%;
    margin: 0 auto;                /* Center horizontally */
}

/* Keep the image styling */
.custom-banner img {
    max-width: 1200px;             /* Limit max width so it’s not stretched too wide */
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid maroon;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.4);
}


/* Navigation container full width */
.hm-nav-container .hm-container {
    max-width: 100% !important;
    padding: 0 15px;
}

/* Smooth fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* === Enhanced Contact Top Bar === */
.top-contact-bar {
    background: linear-gradient(to right, #800000, #a00000);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    border-radius: 12px 12px 0 0;
    flex-wrap: wrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.top-contact-bar a {
    color: #ffecec;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.top-contact-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: scale(1.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    position: relative;
}

/* Icon styling for contact items */
.contact-item i,
.contact-item svg {
    color: #ffdede;
    font-size: 16px;
    transition: all 0.3s ease;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}

.top-contact-bar a:hover i,
.top-contact-bar a:hover svg {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}
/* === Remove Logo and Title === */
.site-branding {
    display: none;
}

/* === Fix Header Area Blocking Submenu === 
.header-main-area {
    background: none !important;
    padding: 0;
    margin: 0;
    min-height: 0;
    position: relative;
}*/

/* === Navigation Fix & Styling === */
html body .hm-nav-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    clear: none !important;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/*  box to full page */
/* Remove max width of boxed layout */
.hitmag-wrapper,
#page,
.site,
.hm-container,
.site-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* Optional: increase content font size for large layout */
.site-content {
    font-size: 17px;
    line-height: 1.7;
    padding: 20px;
}

/* Remove internal container limit for nav and banner */
.hm-container {
    max-width: 100%;
    padding: 0 15px;
}

.site-content,
.content-area {
    background: none;
    box-shadow: none;
}

/* Center main navigation menu */
.main-navigation > .hm-container {
    display: flex;
     align-items: center; /* ensure vertical alignment */
    justify-content: center;  /* center menu horizontally */
    min-height: 60px;    /* set a consistent nav height */
    padding: 0 15px;
}

/* Make the main ul a flex container */
.main-navigation ul#primary-menu {
    display: flex;
    gap: 30px;               /* space between menu items */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Style main menu items */
.main-navigation ul#primary-menu > li {
    position: relative;      /* for submenu positioning */
}



/* Navigation container with theme-based background and smaller height */
.hm-nav-container,
.main-navigation,
.hm-nav-container .hm-container {
    background-color: #fbe8e8;  /* soft pink from banner theme */
    box-shadow: 0 2px 8px rgba(128, 0, 0, 0.1);
    padding: 5px 15px;          /* smaller vertical padding for compact height */
    border-radius: 0 0 12px 12px; /* subtle rounding at bottom */
}

/* Main menu links background and padding for smaller area */
.main-navigation ul#primary-menu > li > a {
    background-color: transparent !important;
    padding: 8px 12px;          /* less padding for smaller height */
    color: maroon;
    font-weight: 600;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 6px;
}

/* Hover effect on main menu links */
.main-navigation ul#primary-menu > li:hover > a,
.main-navigation ul#primary-menu > li:focus-within > a {
    background-color: #800000;  /* deep maroon */
    color: #fff;
}

/* Submenu background with theme colors */
.main-navigation ul ul {
    background-color: #fff5f5 !important;  /* very light pink */
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
}

/* Submenu links style */
.main-navigation ul ul li a {
    color: #800000;
    padding: 8px 20px;
    display: block;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Submenu links hover */
.main-navigation ul ul li a:hover {
    background-color: #fbe8e8;
    color: maroon;
}

/* Center main navigation */
.main-navigation > .hm-container {
    display: flex;
    padding: 0;
    max-width: 1200px;  /* optional max width */
    margin: 0 auto;
}

/* slider */
.custom-slider-container {
    position: relative;
    margin-top: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.slider-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    display: block;
    border-radius: 12px;
}

/*mobile  */
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .swiper {
    height: 180px;
  }
   .top-contact-bar {
    display: none !important;
  }
}


.swiper {
    width: 100%;
    height: 450px; /* Match the image height */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(128, 0, 0, 0.2);
}
/* Stylish caption effect */
.custom-slider-container .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(128, 0, 0, 0.7);
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    opacity: 1;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    text-align: center;
}




/* === FIX: Mobile menu overlay hides content === */
body.hm-mobile-menu-open {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
    touch-action: none;
}

.responsive-mainnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: #c20f1d;
}

.custom-slider-container {
    z-index: 1;
    position: relative;
}
.navbutton .main-nav-btn-lbl {
  color: maroon !important; /* Force label text color */
}
/* hammer wth maroon */
#main-nav-button::before,
#main-nav-button::after,
#main-nav-button .lines {
  background-color: maroon !important;
}

.slider-decorations img {
    position: absolute;
    pointer-events: none;
    z-index: 3;
}

.slider-decorations .dust {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    animation: dustMove 20s linear infinite;
}

.slider-decorations .book-icon {
    bottom: 20px;
    left: 20px;
    width: 80px;
    height: auto;
    animation: bookFloat 4s ease-in-out infinite;
}

@keyframes dustMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes bookFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* EVENT SECTION */
.events-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: maroon;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: maroon;
    margin: 12px auto 0;
    border-radius: 2px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.event-card {
    background: #fff5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.event-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.event-info {
    padding: 15px;
    text-align: center; /* Center-align the content */
}

.event-date {
    display: inline-block;
    background: maroon;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.event-title {
    font-size: 18px;
    color: maroon;
    margin: 10px 0 0;
    font-weight: 600;
}

.event-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #a00000;
}
/* EVENE END */

/* NOTICE START */
.notice-section-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.notice-section {
    flex: 1 1 45%;
    background: #fff5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.15);
    text-align: center;
}

.notice-section .section-title {
    font-size: 26px;
    color: maroon;
    margin-bottom: 20px;
}

.notice-card img {
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid maroon;
    margin-bottom: 15px;
}

.notice-title {
    font-size: 20px;
    color: maroon;
    margin-bottom: 8px;
}

.notice-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.notice-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: maroon;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.notice-link:hover {
    background-color: #a00000;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
    .notice-section-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .notice-section {
        flex: 1 1 100%;
    }
}
/*NOTICE END */

/*FOOTER */
/* FOOTER 4-COLUMN */
.footer-contact {
  background-color: #4d0000; /* Theme maroon shade */
  color: #eee;
  padding: 40px 20px;
  border-top: 4px solid #800000;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.footer-contact-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.contact-block {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-contact h3 {
  color: #ffa3a3;
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f99;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.footer-contact address {
  font-style: normal;
  line-height: 1.7;
  color: #f3dbdb;
  font-size: 14px;
}

.footer-contact a {
  color: #ffbcbc;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Footer Menu Style */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  color: #ffbcbc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-contact-inner {
    flex-direction: column;
    gap: 25px;
  }
}
/* FOOTER END */
/* DEVELOPED BY */
.footer-developed {
    text-align: center;
    margin-top: 20px;
    color: #ccc;
    font-size: 13px;
    font-family: Arial, sans-serif;
}

.footer-developed strong {
    color: #fff;
    font-weight: bold;
}
/* END DEVELOPEB BY */