@import url(modern-normalize.css);
@import url(variables.css);

/* Porto-inspired reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*GROK: "difference of setting css on html {} vs body {}" 
-- ANSWER: Setting CSS on html {} targets the root element of the document, affecting the entire page, including the viewport and inherited properties like font size (e.g., html { font-size: 16px; } sets the base for rem units). Setting CSS on body {} targets just the <body> element, which is a child of <html>, so it only styles content within <body> and doesn’t inherently affect viewport-level properties like scroll behavior unless explicitly set. For example, html { height: 100%; } ensures the full viewport height, while body { height: 100%; } only works if html is also sized. Properties like margin on body won’t impact the viewport, but on html they might.*/
body {
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.6;
  color: #666;
}

p {
    margin: 0 0 1.0rem 0;
}

a:visited {
  color: inherit;
}

a:hover {
  color: inherit;
  text-decoration: none;
  background-color: #EBEBEB;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility: Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.site-header {
  background: var(--nav-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  position: relative;
}

/* Hamburger Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Nav Menu */
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-menu li {
  flex: 1;
}

.nav-menu a,
.nav-menu .active  {
  color: #fff; /* White text by default */
  text-decoration: none;
  font-weight: 500;
  padding: 10px 15px;
  display: block;
  text-align: center;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  border-radius: 10px;
}

.nav-menu li:hover a {
  color: var(--nav-bg); /* Blue text on hover */
  background: #fff; /* White background on hover */
  border-radius: 10px;
}

/* Active link styling */
.nav-menu .active {
  color: var(--nav-bg); /* Blue text for active */
  background: #fff; /* White background for active */
}

/* Hero Section */
.hero {
  background: url('/images/field-548.jpg') no-repeat center/cover;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: var(--hero-height);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  z-index: 2;
  position: relative;
  padding: 40px 0;
}

.hero h1 {
  font-size: 2.0rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff; /* White text */
  -webkit-text-stroke: 0.03rem #000; /* Black stroke for Webkit */
  text-stroke: 0.03rem #000; /* Standard stroke */
  text-shadow: 
    -0.03rem -0.03rem 0 #000,  
     0.03rem -0.03rem 0 #000,  
    -0.03rem  0.03rem 0 #000,  
     0.03rem  0.03rem 0 #000; /* Fallback for browsers without text-stroke */
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
}

.cta-button {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  margin: var(--spacing) auto 20px;
  transition: background 0.3s ease;
  z-index: 2;
}

.cta-button:hover {
  background: #006699;
}

.cta-button a {
  background: var(--primary-color);
  color: #fff;
}

.cta-button a:visited {
  background: var(--primary-color);
  color: #fff;
}

/* Content Grid */
.content-grid {
  padding: var(--spacing) 0;
}

.content-grid h1 {								/*h1 is also used in the hero, so watch the styling*/
  font-size: 2.5rem;
  color: #333;
  margin: 0px;
  padding: 0px;
  text-align: left;
}

hr {
	padding: 0px;
	margin: -10px 0px 5px 0px;
}

.grid-wrapper-1
, .grid-wrapper-2
, .grid-wrapper-3
, .grid-wrapper-2fr1fr {
  display: grid;
  grid-template-columns: 1fr; /* Single column on mobile */
  gap: var(--spacing);
}

.column {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.column:hover {
  transform: translateY(-5px);
}

.column-image {
  height: var(--column-image-height);
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

.placehold .column-image {
  background-image: url('https://placehold.co/400x200/666/ccc?text=img');
}

.education .column-image {
  background-image: url('/images/education-400-200.jpg');
}

.excellence .column-image {
  background-image: url('/images/excellence-400-200.jpg');
}

.ethics .column-image {
  background-image: url('/images/ethics-400-200.jpg');
}

.column-image-football {
  height: var(--column-image-height2);
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 8px 8px; 
  margin-bottom: 15px;
  /*clip-path: ellipse(40% 50% at 50% 50%); */
}

/* Placeholder images for Awards page */

.placeholder .column-image-football {
  background-image: url('https://placehold.co/400x200/006699/fff?text=img');
}


.hshscy .column-image-football {
  background-image: url('/images/hshscy.jpg');
}

.bcaioof .column-image-football {
  background-image: url('/images/bcaioof.jpg');
}

.vcy .column-image-football {
  background-image: url('/images/vcy.jpg');
}

.tbry .column-image-football {
  background-image: url('/images/tbry.jpg');
}

.rbcaa .column-image-football {
  background-image: url('/images/rbcaa.jpg');
}

.column h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 10px;
}


/* Mobile layout (hamburger menu) */
@media (max-width: 959px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--nav-bg); /* Background for mobile menu */
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .nav-menu a,
  .nav-menu .active  {
    padding: 15px;
  }
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  padding: var(--spacing) 0;
  color: #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing);
  margin-bottom: var(--spacing);
}

.footer-column h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

/* Social Icons Container */
.social-icons {
	display: inline;
	gap: 1rem; /* Space between icons */
	justify-content: center;
	padding: 1rem;
}

/* Icon Styling */
.social-icons a {
	color: #000; /* Black color for icons */
	font-size: 2.0rem; /* Icon size */
	transition: transform 0.3s ease, color 0.3s ease;
	text-decoration: none;
}

/* Hover Effect */
.social-icons a:hover {
	transform: scale(3.5); /* Slight scale-up on hover */
}

.social-icons a:visited {
	color: #000; /* Black color for icons */
	font-size: 2.0rem; /* Icon size */
	transition: transform 0.3s ease, color 0.3s ease;
	text-decoration: none;
}

/* Contact Us Options */
fieldset {
  border: 1px solid var(--primary-color); /* Remove default border */
  border-radius: 4px;
  padding: 0.5rem;
}

legend {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0;
}

.contact-options input[type="radio"] {
  margin: 0 0.5rem 0.5rem 0;
}

.contact-options label {
  color: #666;
  font-size: 1rem;
}

.recaptcha-placeholder {
  display: block;
  margin-bottom: 1.5rem; /* Matches .g-recaptcha spacing */
}

/* Form Styling */
h1 {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: var(--spacing);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group textarea {
  resize: vertical;
}

.g-recaptcha {
  margin-bottom: 1.5rem;
}

button {
  background: var(--primary-color);
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #006699; /* Darker Porto blue */
}

/* Status Message */
.status-message {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.status-message.success {
  background: #d4edda;
  color: #155724;
}

.status-message.error {
  background: #f8d7da;
  color: #721c24;
}

/* Accordion */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.5rem;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}	

.football-list {
        list-style-type: none;
        padding-left: 0;
    }
    .football-list li::before {
        content: "🏈 ";
        margin-right: 8px;
    }

.fig_496 {
	background-color:#EBEBEB;
	padding: 10px;
	border-radius: 10px;
	margin: 10px auto; 
	max-width: 516px;
}
.fig_496 img {
	border-radius: 10px;
	margin: 10px auto;
	width: 496px; 
}
.fig_496 figcaption {
	margin: 0px auto;
	width: 496px;
}

.figcap {
	background-color:#EBEBEB;
	padding: 10px;
	border-radius: 10px;
	margin: 10px auto; 
}
.figcap img {
	border-radius: 10px;
	margin: 10px auto;
	width: 100%;
}
.figcap figcaption {
	margin: 0px auto;
	width: 100%;
}

/* Breadcrumbs */
.breadcrumbs {
  background: #f8f9fa;
  padding: 1rem 0;
}

.breadcrumbs ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  font-size: 1rem;
  color: #666;
}

.breadcrumbs li + li::before {
  content: ">";
  margin: 0 0.5rem;
  color: #999;
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #006699;
}

.breadcrumbs span {
  color: #333;
  font-weight: 500;
}

/* UPCOMING EVENTS */
/* Calendar icon for h3 */
	/*
  #upcoming-list h3::before {
    content: "📅 ";
    margin-right: 5px;
  }
  */
	#upcoming-list h3 {
	    display: inline-block; /* Keeps the underline only under the text */
	    border-bottom: 2px solid #388E3C; /* Green line matching the buttons */
	    margin: 8px 0px 8px 0px;
	    width: 100%;
	  }
.upcoming li {
    list-style: none;
  }
  .upcoming li a {
    background-color: rgba(56, 142, 60, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    text-decoration: none;
  }
  .upcoming li a::before {
    /*content: "🏈 ";*/
    content: "📅 ";
    margin-right: 5px;
  }
  .upcoming li a:hover {
    background-color: rgba(56, 142, 60, 0.6);
  }
  .upcoming li {
    margin-bottom: 10px;
  }

 /* Summary */
	summary::-webkit-details-marker {
    display: none;
  }
  summary {
    list-style: none;
  }
  /* Full-width button styling with lighter green */
  summary {
    background-color: #388E3C; 
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    text-align: left;
  }
  /* Football emoji */
  summary::before {
    content: "🏈 ";
    margin-right: 5px;
  }
  /* Hover effect with a slightly darker shade */
  summary:hover {
    background-color: #2E7D32; 
  }
  /* Spacing for content */
  details > p {
    margin: 10px 0 0 0;
  }
  details {
    margin-bottom: 10px;
  }

h3 > span {
	font-weight: normal;
}

.event-jump {
    scroll-margin-top: 2rem; /* Ensures it aligns at the top */
  }
  /* If you have a fixed header, set its height here */
  html {
    scroll-behavior: smooth; /* Optional: smooth scrolling */
  }

/* Desktop layout at 960px+ */
@media (min-width: 960px) {
	
	/*NOTE: if you add other grid-wrappers, add them above for the mobile stacking*/
  .grid-wrapper-1 {
    grid-template-columns: repeat(1, 1fr); /* Three columns */
  }

  .grid-wrapper-2 {
    grid-template-columns: repeat(2, 1fr); /* Two columns */
  }

  .grid-wrapper-3 {
    grid-template-columns: repeat(3, 1fr); /* Three columns */
  }

  .grid-wrapper-2fr1fr {
    grid-template-columns: 2fr 1fr; /* First column 2/3, second 1/3 */
  }

  .hero {
    height: var(--hero-height);
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .content-grid h1 {
    font-size: 3rem;
  }

  .main-nav ul {
    justify-content: flex-end;
  }

  .main-nav a,
  .main-nav .active {
    padding: 15px 20px;
  }

  .cta-button {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }	

  .social-icons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    display: inline;
  }

}

/* Porto-style fade-in animation */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


