/* --------------------
   CSS Variables and Base Settings
-------------------- */
:root {
    --primary-bg: #2c3e50;                /* Dark blue-gray */
    --secondary-bg: #ecf0f1;              /* Light gray */
    --accent-color: #e67e22;              /* Warm orange */
    --text-color: #34495e;                /* Dark slate */
    --header-footer-bg: linear-gradient(135deg, #2c3e50, #34495e);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0;
    background-color: var(--secondary-bg);
    font-family: var(--font-secondary);
    line-height: 1.6;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
  }
  
  /* Base containers */
  .container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    grid-column: 2 / 6; /* Center content by default */
  }
  
  .gcontainer {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    grid-column: 2 / 6;
  }
  
  /* --------------------
     Typography (Headings & Paragraphs)
  -------------------- */
  
  /* Headings (Modern Look) */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  }
  
  /* Example for h1 */
  h1 {
    font-size: 2.5rem; /* Adjust size as needed */
    font-weight: 700;
  }
  
  /* Paragraphs (Improved Readability) */
  p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    max-width: 700px;          /* Limits width for better readability */
    margin-left: auto;         /* Center the paragraph */
    margin-right: auto;        /* Center the paragraph */
  }
  
  /* --------------------
     Links
  -------------------- */
  a {
    text-decoration: none;
    color: var(--accent-color);
    margin-right: 15px;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--accent-color);
  }
  
  /* --------------------
     Header
  -------------------- */
  header {
    grid-column: 1 / 7;
    background: var(--header-footer-bg);
    color: white;
    padding: 20px 0;
    position: relative;
  }
  
  .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  header .logo {
    width: 150px;
    margin-bottom: 15px;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  nav ul li {
    margin: 0 15px;
  }
  
  nav ul li a {
    color: white;
    font-weight: 600;
    transition: font-weight 0.3s ease;
  }
  
  /* Nav Hover: Make links extra bold and keep white */
  nav ul li a:hover {
    color: white;
    font-weight: 1000;
  }
  
  /* --------------------
     Language Toggle Switch
  -------------------- */
  .toggle-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .toggle-container span {
    font-weight: 600;
    font-size: 14px;
    color: white;
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 10px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #bdc3c7;
    transition: 0.4s;
    border-radius: 24px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }
  
  .switch input:checked + .slider {
    background-color: var(--accent-color);
  }
  
  .switch input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .switch input:focus + .slider {
    box-shadow: 0 0 3px 2px rgba(21, 156, 228, 0.4);
  }
  
  /* --------------------
     Sections
  -------------------- */
  section {
    grid-column: 1 / 7;
    padding: 50px 0;
    text-align: center;
  }
  
  /* --------------------
     About Section Image
  -------------------- */
  .about-img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    display: block;
  }
  
  /* --------------------
     Menu Items
  -------------------- */
  .menu-items {
    grid-column: 2 / 6;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }
  
  .menu-item {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* --------------------
     Adjust Menu Items for Large Screens
  -------------------- */
  @media (min-width: 1200px) {
    /* Set each column to a fixed width and center the grid */
    .menu-items {
      grid-template-columns: repeat(2, 300px);
      justify-content: center;
      gap: 10px; /* Reduced gap between columns */
    }
    .menu-item {
      max-width: 300px;
    }
  }
  
  .menu-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .menu-img:active {
    transform: scale(1.03);
  }
  
  .menu-img:focus {
    outline: 2px solid var(--accent-color);
  }
  
  /* --------------------
     Modal Overlay
  -------------------- */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-image {
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
  }
  
  /* --------------------
     Social Links
  -------------------- */
  .social-links {
    margin-top: 20px;
  }
  
  .social-links a {
    margin: 0 10px;
  }
  
  /* --------------------
     Footer
  -------------------- */
  footer {
    grid-column: 1 / 7;
    background: var(--header-footer-bg);
    color: white;
    text-align: center;
    padding: 15px 0;
  }
  
  /* Override the generic container grid setting for the footer */
  footer .container {
    grid-column: 1 / -1;
  }
  
  /* Ensure footer paragraphs are white */
  footer p {
    color: white;
  }
  
  /* --------------------
     Mobile Styles
  -------------------- */
  @media (max-width: 768px) {
    body {
      grid-template-columns: 1fr;
    }
    
    .container, .gcontainer {
      width: 90%;
      grid-column: 1 / 2;
    }
    
    header .header-content {
      flex-direction: column;
    }
    
    nav ul {
      flex-direction: column;
      gap: 10px;
    }
    
    .menu-items {
      grid-template-columns: 1fr;
    }
    
    .about-img {
      max-width: 90%;
    }
    
    h1 {
      font-size: 2rem;
    }
    
    p {
      font-size: 0.95rem;
      padding: 0 1rem;
    }
  }
  