/*
Author: Bryan Schaefer
Date: November 30, 2025
File Name: styles.css
*/

/* CSS Reset */
* {
	margin: 0;
	padding: 0;
}

/* Image will not be wider than container */
img {
    max-width: 100%;
    height: auto;
}

/* Specific styling for images within the tab-desk layout div */
.tab-desk img {
    width: 100%;
    display: block;
}

/* Styling for video elements, ensuring responsiveness and aspect ratio */
video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
}

/* Style rule for header, body and footer */
header {
    background-color: #e235d3;
}

body {
    background-color: #a3b2c9;
}
    
footer {
    padding: 2%;
    text-align: center;
}

/* Style rule for smartphone */
body {
  font-size: 16px;
  background-color: lightgreen;
  padding: 0px;
}

.container {
  display: block;
}

.column {
  width: 100%;
  margin-bottom: 20px;
}

/* Utility class for full-width banner images in contact page */
.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* Utility class for creating circular images with object-fit */
.circle-image {
    width: 225px;
    height: 225px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Utility class for specific list indentation */
.indented-list {
    margin-left: 50px;
}

/* Style rule for tablet */
@media (min-width: 577px) {
  body {
    font-size: 18px;
    background-color: lemonchiffon;
  }

  .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .column {
    width: calc(50% - 10px); /* Creates a two-column layout */
  }
}

/* Style rule for desktop */
@media (min-width: 1025px) {
  body {
    font-size: 20px;
    background-color: lightgoldenrodyellow;
    padding: 40px;
  }
  
  .column {
    width: calc(33.333% - 13.333px); /* Creates a three-column layout */
  }

/* Style rules for mobile viewport */
    .mobile {
        display: block;}
        
    .tab-desk {
        display: none;}

/* Header area */
    .mobile h1, .mobile h3 {
        padding: 2%;
        text-align: center;
}

    .mobile h1 {
        font-family: 'Emblema One', cursive;
        text-shadow: 2px 2px 4px #4d3319;
}
    
    .mobile h3 {
        font-family: 'Lora', serif;
        text-shadow: 1px 1px 2px #4d3319;        
}

/* Style rules for navigation area */
nav {
	background-color: #2a1f14;
}

nav ul {
	list-style-type: none;
	text-align: center;
}
	
nav li {
	display: block;
	font-size: 1.5em;
	font-family: Geneva, Arial, sans-serif;
	font-weight: bold;
	border-top: 0.5px solid #f6eee4;
}
	
nav li a {
	display: block;
	color: #f6eee4;
	padding: 0.5em 2em;
	text-decoration: none;
}
	
/* Style rules for main content */
main {
	padding: 2%;
	font-family: 'Lora', serif;
}
	
main p {
	font-size: 1.25em;
    margin: .1em;
}

main h3 {
    padding-top: 2%;
}

h2 {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

/* Global style for all unordered lists */
main ul {
    list-style-type: square;
}

ul {
    list-style-type: square; /* keep square bullets */
    list-style-position: inside; /* bullets inside text block */
    margin: 0; /* consistent indentation */
    padding-left: 1.5em; /* remove extra padding */
}

/* Specific list positioning overrides for info and mobile-tablet divs */
#info ul,
.mobile-tablet ul {
    list-style-position: inside;
    margin: 0;
    padding-left: 1.5em;
}

/* Styling for specific hyperlinks with the .link class */
.link {
    color: #4d3319;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

/* Styling for call-to-action text */
.action {
	font-size: 1.75em;
	font-weight: bold;
	text-align: center;
}

/* Centering content within the contact info div */
#contact {
        text-align: center;
}

/* Utility class for slightly rounded corners on images/elements */
.round {
    border-radius: 6px;
}

/* Styling for the aside element (likely used for quotes/highlights) */
aside {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 4px 4px 10px #c5a687;
}

/* Styling for figure (image/caption groups) */
figure {
    border: 4px solid #2a1f14;
    box-shadow: 6px 6px 10px #c5a687;
    max-width: 400px;
    margin: 2% auto;
}

figcaption {
    padding: 2%;
    border-top: 4px solid #2a1f14;
}

/* Specific left margin adjustment for lists within the info div */
#info ul {
    margin-left: 10%;
}

/* Styling for the telephone link container (mobile visibility by default) */
.tel-link {
    background-color: #2a1f14;
    padding: 2%;
    width: 80%;
    margin: 0 auto;
}

.tel-link a {
    color: #f6eee4;
    text-decoration: none;
    font-weight: bold;
}

.id {
	text-align: center;
	}

/* This is to add the Span element in HTML */
.highlight {
  background-color: yellow;
  font-weight: bold;
}  

/* Style rules for footer content */
footer {
	text-align: center;
	font-size: 0.85em;
	background-color: #2a1f14;
	color: #f6eee4;
	padding: 1% 0%;
}
	
footer a {
	color: #f3e6d8;
	text-decoration: none;
}

/* Media Query for Tablet Viewport */
    @media screen and (min-width: 620px), print {
        
     /* Tablet Viewport: Show tab-desk class; hide mobile class */
        .tab-desk {
            display: block;
        }
            
        .mobile {
            display: none;
        }

/* Grid layout for specific section (likely a 2-column grid) */            
    .grid {
        display: grid;
        grid-template-columns: auto auto;
}

/* Aside element spans both columns in the grid */        
    aside {    
        grid-column-gap: 10px;
        grid-column: 1 / span 2;
}

/* Form styling adjustments for tablet view */
    .form-grid {
        display: block !important;
    }
    #form label, #form input, #form textarea, #form fieldset {
        display: block !important;
        width: 75% !important;
    }

/* Specific styling for radio buttons */    
    .form-grid input[type="radio"] {
        display: inline !important;
        width: auto !important;
        margin-right: 0.5em;
        vertical-align: bottom;
        margin-top: 4px !important;
    }
    .form-grid label[for="vol"], 
    .form-grid label[for="sponsor"], 
    .form-grid label[for="wild"], 
    .form-grid label[for="other"] {
        display: inline !important;
        width: auto !important;
        vertical-align: bottom;
    }    

    .radio-option {
      display: flex;
      align-items: center; /* Perfect vertical alignment */
      gap: 0.5em; /* Space between button and text */
      margin-bottom: 0.5em; /* Space between rows */
}

/* Media Query for Large Desktop Viewports */
    @media screen and (min-width: 1921px) {
        body {
            background: linear-gradient(#f6eee4, #78593a);
            }
        #wrapper {
            width: 1920px;
            margin: 0 auto;
        }
        main {
            background-color: #f6eee4;
        }
        
     .grid {
         display: grid;
         grid-template-columns: auto auto auto auto;
     }
     
     aside {
         grid-column: 1 / span 4;
         font-size: 3em;
    }
    
/* Media Query for Print */
    body {background-color: #fff;
                color: #000;
        }
 
/* Tablet Viewport: Style rules for nav area */
    nav li {
        border-top: none;
        display: inline-block;
        font-size: 1.25em;
 }
    nav li a {
        padding: 0.5em;
 }

/* Media Query for Desktop Viewport */
    @media screen and (min-width: 1000px), print {
        
    /* Desktop Viewport: Style rules for nav area */
    nav li {
        font-size: 1.5em;
}

    nav li a {
        padding: 0.5em 1.5em;
    }

    nav li a:hover {
        opacity: 0.8;
        text-shadow: 0px 0px 8px #f6eee4;
}
    
    .grid {
        display: grid;
        grid-template-columns: auto auto auto;
}

    aside {
        grid-column-gap: 30px;
        grid-column: 1 / span 3;
        font-size: 2em;
}

/* Desktop Viewport: Style rules for main content */
    #info ul {
        margin-left: 5%;
} 

/* Style rules for table */
    table {
        border: 1px solid #2a1f14;
        border-collapse: collapse;
        margin: 0 auto;
    }

    caption {
        font-size: 1.5em;
        font-weight: bold;
        padding: 1%;
    }

    th, td {
        border: 1px solid #2a1f14;
        padding: 1%;
    }

    th {
        background-color: #2a1f14;
        color: #fff;
        font-size: 1.15em;
    }
    
    tr:nth-child(odd) {
        background-color: #deccba;
    }

/* ID and Class */
/* Targeting the unique ID */
#main-nav {
  background-color: #333;
  padding: 10px;
}

/* Targeting the class for the navigation container */
.navigation {
  display: flex;
  justify-content: center;
}

/* Targeting the class for navigation links */
.nav-link {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

/* Add hover effect */
.nav-link:hover {
  color: #ffcc00;
}

/* Force all bullets inside margins consistently */
main ul,
#info ul,
.mobile-tablet ul {
    list-style-type: square;
    list-style-position: inside;
    margin-left: 0; /* remove extra margin */
    padding-left: 1em; /* controlled indentation */
}
}
