/*** You will not need this file until Unit 3 ***/

.block:link{
    color:gold;
}
.block:visited{
    color:rgb(20, 4, 255);
}
.block:hover{
    color:red;
    transform: scale(1.2);
    text-decoration: underline;
}
.block:active{
    color:gold;
}

.block{            
}

.I{
    font-style: italic;
}
/* This is a font type only for the description of event activity (DOEA) */
.DOEA{
    font-style: italic;
    font-weight: bold;
    font-size: small;
}

  /**Purpose:
  - Fix VSCodeEDU issue that causes a white border to show around
    the preview window

  When To Modify:
  - If you change the background color of your webpage, you may need to update this rule too.
***/
html {
    background-color: var(--theredbean);
}

/*** body ***
  
  Purpose:
  - Add style rules for the body of your webpage
  - This is useful if you want a rule to apply to EVERYTHING on your page
    - (Tip: You can always override these rules later in the stylesheet)

  When To Modify:
  - [ ] Project 3 (REQUIRED FEATURE) 
  - [ ] Any time after
***/

body {
    background-color: var(--theredbean);
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: var(--text-color);
    margin: 10px;
    padding-bottom: 40px;
}

/*** Text ***
  
  Purpose: 
  - Add style rules for headings (h1-6),
    paragraphs (p), links (a), and buttons

  When To Modify:
  - [X] Project 3 (REQUIRED FEATURE) 
  - [ ] Any time after
***/

h1 {
  font-size: 40px;
  font-family: 'Times New Roman', Times, serif;
}

h2{
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;  
}

/*h3 {
}*/

/*h4 {
}*/

h5{
  font-size: 20px;
}
p {
  font-family: Tahoma, sans-serif;
  line-height: 1.6; 
}

a,
a * {
    text-decoration: none; 
    font-weight: bold;
    transition: color 0.3s ease-in;
}

/* for bullets*/ 
ul {
  list-style:square;
  padding-left: 0;
  margin-bottom: 20px;
}

/* this code here is to make the video an about better looking */ 
.about-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  padding: 10px;
  flex-wrap: wrap;
}

.about-flex iframe {
  width: 400px;
  height: 225px;
  border-radius: 10px;
}

.about-text {
  max-width: 500px;
  text-align: left;
  color: white;
  font-family: Tahoma, sans-serif;
  line-height: 1.6;
}

/* button adjustments */ 
button {

}

/*** header ***/
.header-container { 
  display: flex;  
  flex-direction: row;
  width: 100%;
  background-color: #f0ca20;
  padding: 15px;            
  margin-top: 30px;         
  text-align: center;                        
  align-items: center;
}

.header-item:nth-of-type(1){
width: 60%;  
display: flex;
justify-content: flex-end;
align-items: center;
}

.header-item:nth-of-type(2){
width: 40%;  
display: flex;
gap: 10px;
}

#header-img{
width: 80px;
height: 80px;
margin-bottom: 20px;
margin-left: 15px;
margin-right: 15px;
}

.header-button {
background-color: rgb(212, 162, 35);
color: white;
text-align: center;
padding: 10px;
margin-left: 20px;     
border: .5px solid black;
border-radius: 20px;
cursor: pointer;       
transition: background-color 0.5s ease;
}

.header-button:hover {
  background-color: rgb(155, 8, 8); /* Hover effect */
  transition: background-color 0.3s ease;
}

/*** footer ***
  Purpose:
  - Add style rules for your website's footer section*/

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #818181;
  font-size: 12px;
  color: white;
  text-align: left;
  padding: 10px;
  font-family: Tahoma, sans-serif;
}

/*** Navbar [PLACEHOLDER] [ADDED IN UNIT 4] ***/
/*** About Section ***
  Purpose:
  - Add style rules for your website's About section
***/
.navbar ul {
  margin: 0;
  padding: 0;
  list-style-type: none;   
  overflow: hidden;        
  position: fixed;         
  top: 0;                  
  left: 0;                 
  width: 100%;             
  background-color: #634c03; 
  z-index: 10000;           
}

.navbar ul li {
  float: left;             
  margin: 5px 10px;          
}

.navbar ul li a {  
  display: block;          
  text-decoration: none;   
  color: white;            
  padding: 3px 16px;      
}

.navbar ul li a:hover { 
background-color: goldenrod; 
transition: background-color 0.3s ease;
color: black;                 
border-radius: 10px;           
}

/*** Schedule Section ***
  
  Purpose:
  - Add style rules for your website's Schedule section
***/
/**event schedule container ***/ 
.event-schedule-container {
display: flex;
justify-content: space-evenly;
align-items: flex-start; 
padding: 20px;
gap: 20px;
margin-top: 30px;
}

.activity-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
  margin: 40px auto;
  max-width: 1200px;
}

.activity-box {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.activity-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.activity-box h3 {
  color: #8b0000;
  margin-bottom: 10px;
}

.activity-box p {
  color: #333;
}

/*** Links Section ***
  
  Purpose:
  - Add style rules for your website's Links section
***/
/*** Links at the bottom of website ***/

.links-section {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 10px;
  margin-top: 40px;
}

.links-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 15px;
}

.links-column h3 {
  margin-bottom: 10px;
  color: white;
  font-size: 18px;
  text-align: center;
  text-decoration: underline;
}

.hours-text {
  color: gold;
  font-style: italic;
  margin: 2px 0;
  text-align: center;
  font-weight: bold;
}

.description-text {
  color: gold;
  margin: 2px 0;
  font-style: italic;
  text-align: center;
  font-weight: bold;
}


/*** RSVP Section ***
  Purpose:
  - Add style rules for your website's RSVP form
***/

.rsvp-container {
display: flex;
flex-direction: row;
gap: 20px;
width: 100%;
padding-bottom: 50px;
}

.rsvp-para {
width: 55%;
padding-right: 10px;
}

.rsvp-participants {
width: 45%;
padding-right: 10px;
}

#rsvp-form label {
  margin: 5px;
  font-weight: bold;
}

#rsvp-form input {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid gray;
}

#rsvp-button {
  padding: 6px 14px;
  background-color: #ffdb76;
  border: 2px solid #bfa144;
  border-radius: 8px;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#rsvp-button:hover {
  background-color: #bfa144;
  color: white;
}

.error {
  border: 2px solid red;        
  background-color: #ffe6e6;   
  outline: none;                
  box-shadow: 0 0 5px red;      
  transition: 0.3s ease;        
}

/*** Animations [PLACEHOLDER] [ADDED IN UNIT 8] ***/
/*** Success Modal  ***
  
  Purpose:
  - Add style rules to your website's pop-up modal, which appears
    when a user successfully submits the RSVP form

  When To Modify:
  - [ ] Project 9 (REQUIRED FEATURE)
  - [ ] Any time after
***/

.modal {
  position: fixed;
  z-index: 9999;   /* Higher z-index just in case */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); 

  display: none;       /* Make sure JS sets this to "flex" when shown */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.modal-container {
    /* Change modal size and spacing here */
    padding: 50px;
    width: 70%; /* CHANGED: Made wider to fit side-by-side content */

    /* Customize modal style here */
    background-color: rgb(126, 38, 38);
    color: rgb(255, 255, 255);
    text-align: center;
    font-size:larger;
    font-family:cursive;
    font-weight: bold;

    /* Flexbox to arrange items side-by-side */
    display: flex;
    flex-direction: row; /* CHANGED: Explicitly set to row (side-by-side) */
    align-items: center; /* CHANGED: Center items vertically */
    gap: 20px; /* CHANGED: Add space between text and image */

}

.modal-item {
  flex: 1; 
  display: flex;
  align-items: center; 
  justify-content: center; 
}

.modal-item img {
  max-width: 100px;
  height: auto;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#close-modal-btn {
  margin-top: 10px;
  padding: 8px 16px;
  font-family: monospace;
  font-size: 0.9rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

#close-modal-btn:hover {
  background-color: #555;
}



/* Default light mode style */
.light-mode {
background-color: #fefcf3;
color: black;
}

/* Example: Different light mode style for h2,h4 */ 
.light-mode h2,
.light-mode h4{
    color: #c22020;
}

.light-mode h3,
.light-mode h5{
  color: #bfa144;
}

.light-mode p,
.light-mode li,
.light-mode a,
.light-mode .DOEA{
  color: #1a1a1a;
}

.light-mode .header-container{
  background-color: #f0ca20;
}

.light-mode .activity-box {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #bfa144;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Example: Different dark mode style for visited links 
I currently do not have plans for this*/
.light-mode a:visited * {
}  

/* Add style to button */
#themeButton {
  display: flex;
  background-color: #ffdb76;
  color: black;
  padding: 3px 10px;
  border: 2px solid #bfa144;
  border-radius: 10px;
  font-weight: bold;            
  transition: background-color 0.3s;
  cursor: pointer;
}


/* Customize light Mode Theme not needed right now 
.light-mode {
} */



/*** Custom Colors (OPTIONAL) ***
  
  Purpose:
  - Use CSS variables to define custom colors for your website
  - To get you started, we've provided the color scheme used in our example site.
  - To reference a color variable in your css, use var(--variable-name) in place of a color value

  When To Modify:
  - [ ] Any time (OPTIONAL)
***/

:root {
    /* Light Mode */
    --bg-color: #a6a0cf;
    --text-color: white;

    /* Dark Mode */
    --bg-color-dark-mode: #3e3377;
    --text-color-dark-mode: #fff;

    /* Accent Colors */
    --accent-color-light: #d2cff5;
    --accent-color-medium: #684fb5;
    --accent-color-dark: #482f95;
    --accent-color-darkest: #231942;
    --accent-color-green: #28eb76;

    /* Error Colors */
    --error-color: #f8bbd0;
    --error-color-border: #e63946;

    /*this is for my background!! */ 
    --theredbean: rgb(26, 26, 26);
}

