/* Modern Style for GameSec 2024 */
/*
:root {
    --cream-color: #f4ebd0;
    --gold-color: #d6ad60;
    --tan-color: #b68d40;
    --blue-color: #86a2b1;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}*/


/* Add side padding and max width to all section containers */
.soft-section,
.light-section, .container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

:root {
    --cream-color: #f4ebd0;
    --light-color: #fcf8eb;
    --dark-cream-color: #edd5ab;
    --gold-color: #d6ad60;
    --tan-color: #7e5e33;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #372C05;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 56px; /* Reduced from 76px to match navbar height */
    /* background-color: var(--cream-color);*/
    width: 100%;
    overflow-x: hidden;
    font-size: 1rem; /*changes almost all text sizes*/
}


/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--tan-color) !important;
    width: 100%;
    padding: 0.2rem 0.2rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem; /* menu size*/ 
    color: white !important;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem; /* Increased from default */
    transition: color 0.3s ease;
    color: white !important;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--cream-color) !important;
}


.gallery-toggle-btn {
    background: transparent;
    border: none;
    color: var(--tan-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gallery-toggle-btn:hover {
    color: var(--gold-color);
    transform: scale(1.05);
  }



/* Header with original image*/

#header-photo {
    background-image: url('../images/acropolisGreen2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 275px; /* Adjust this value as needed */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Center text vertically */
    padding-bottom: 2rem;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    width: 100%;
}

/* Remove the orange overlay */
#header-photo::before {
    display: none;
}

#header-photo h1, #header-photo h2 {
    position: relative;
    z-index: 2;
    color: white; /* Ensure all text is white */
}

#logo-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

#logo-text a {
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

#logo-text a:hover {
    transform: scale(1.05);
}

#slogan {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

#slogan2 {
    font-size: 1.2rem;
    font-weight: 600; /* Increased from 400 to 600 for bolder text */
    opacity: 1; /* Changed from 0.9 to 1 for full opacity */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Content Sections */
h1, h2, h3 {
    color: var(--tan-color);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
}


/* Cards and Sections */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    width: 100%;
}

deadlines-section{
    background-color: var(--cream-color);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Links */
a {
    color: var(--tan-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-color);
    text-decoration: none;
}

/* Lists */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

/* Tables */
table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

th {
    background-color: var(--gold-color);
    color: white;
    font-weight: 600;
}

/* Footer 
footer {
    background-color: var(--tan-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    width: 100%;
}*/

.footer {
    width: 100%;
    background-color: #222; /* or whatever you want */
    color: white;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding: 0.9rem 0 0rem 0 !important; /* reduce bottom padding to 0rem */
}


/* Deadlines Section */
.deadlines-section {
    background-color: white;
    padding: 1rem 0 0rem 0; /* reduce bottom padding to 0rem */
     /*margin-top: -1rem; Negative margin to connect with header */
    margin-bottom: 2rem; /*from the following text*/
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
}

.deadline-item {
    text-align: center;
    padding: 0.75rem;
    transition: transform 0.3s ease;
}

.deadline-item:hover {
    transform: translateY(-3px);
}

.deadline-item h3 {
    color: var(--tan-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.deadline-item p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Container adjustments for Menu, Header, Deadlines (Bootstrap) */
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.cream-bg {
    background-color: var(--cream-color);
}


/* Responsive Design */
@media (max-width: 768px) {
    #header-photo {
        padding: 3rem 0;
    }
    
    #logo-text {
        font-size: 2rem;
    }
    
    #slogan {
        font-size: 1.4rem;
    }
    
    #slogan2 {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .deadlines-section {
        padding: 1rem 0;
    }
    
    .deadline-item {
        padding: 0.5rem;
    }
    
    .deadline-item h3 {
        font-size: 1.1rem;
    }
    
    .deadline-item p {
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--tan-color) !important;
}

.text-secondary {
    color: var(--gold-color) !important;
}

.bg-light {
    background-color: var(--cream-color) !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* new addition */
/* 1. Universal section layout for centered, max-width content */
.section-wrapper {
    max-width: 960px !important;
    margin: 0 auto;
    padding: 1.5rem;
}

/* 2. Clean background variant without a card box */
.soft-section {
    background-color: transparent;
    padding: 0.5rem 1rem;

}

/* 3. Subtle section with light background (optional use) */
.light-section {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 1rem 1rem 1rem 1rem !important;
    margin-bottom: 1rem;
}

/* 4. Text styling for large blocks of content */
.body-text {
    line-height: 1.7;
    font-size: 1rem;
    color: #333;
}

/* 5. Emphasized section headers */
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

/* 6. For menus or footers with centered content inside full-width bars */
.bar-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* for the buttons */
/* Container */
.accordion-container {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }
  
  /* Accordion button */
  .accordion-button {
    width: 100%;
    background-color:var(--cream-color) !important;
    border: none;
    border-bottom: 2px solid black;
    padding: 0.75rem 1rem;
    font-size: 1.1rem; 
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    gap: 1rem; /* spacing between icon and text */
  }
  
  .accordion-button:hover {
    background-color: var(--dark-cream-color)!important;
  }
  
  /* Icon rotation */
  .accordion-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }
  
  .accordion-button.open svg {
    transform: rotate(180deg);
  }
  

  /* Accordion content */
  .accordion-content {
    background-color:  var(--light-color);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    display: none;
    border-radius: 0 0 0.75rem 0.75rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 2px solid black;
  }
  
  /* Active content */
  .accordion-content.show {
    display: block;
  }
  
  /* List style */
  .accordion-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
  }
  
  .accordion-content li {
    margin-bottom: 0.5rem;
  }


  /* Custom dropdown menu */
.dropdown-menu {
    background-color: var(--tan-color); /* or any hex color like #fffbe6 */
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    font-size: 1rem; /* Increased from default */
    padding: 0.2rem 0.2rem;

  }

  .dropdown-menu li {
    margin: 0;
    padding: 0;
  }
  
  /* Custom dropdown links */
  .dropdown-menu .dropdown-item {
    font-weight: 500;
    font-size: 500;
    padding: 0.2rem 0.5rem;
    color: var(--light-bg);
    transition: background-color 0.2s ease;
  }
  
  .dropdown-menu .dropdown-item:hover {
    background-color: var(--dark-bg); /* or any highlight color */
    color: var(--light-bg);
    border-radius: 0.4rem;
  }
