/* style.css */

/* Full-screen background */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Oswald, sans-serif;
    color: #e2e7ec;
    /* Background image covers entire viewport, including header/footer */
    background: url('slide2.png') no-repeat center center fixed;
    background-size: cover; 
    background-color: #044186;
}
*, *::before, *::after {
    box-sizing: inherit;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.6); /* deeper overlay */
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 1001;
}
header img {
    max-width: 200px;
    width: 100%;
    height: auto;
}
.menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    z-index: 1100;              /* so you can always open/close */
    cursor: pointer;
}

/* Drawer navigation */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: rgba(10,10,30,0.9);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1002;              /* ensure it's on top */
    pointer-events: none;       /* ignore clicks when closed */
}
.drawer.open {
    transform: translateX(0);
    pointer-events: auto;       /* accept clicks when open */
}
.drawer nav ul {
    list-style: none;
    padding: 0;
    margin: 4rem 0 0;
    display: flex;
    flex-direction: column;
}
.drawer nav ul li {
    margin: 10px 0;
}
.drawer nav ul li a {
    display: block;             /* fill full width for easy tapping */
    width: 100%;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
    pointer-events: auto;       /* ensure the link itself is clickable */
    z-index: 1001;
}
.drawer nav ul li a:hover {
    background-color: rgba(10, 10, 30, 0.65); /* slightly lighter on hover */
}

/* Main content */
main {
    padding: 2rem;
    padding-bottom: 4rem; 
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1001;
}

/* Footer */
/* Footer always fixed at viewport bottom */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 1rem;
    z-index: 1001;
  }

/* Responsive behavior */
@media (max-width: 768px) {
    header img {
        max-width: 150px;
    }
    .menu-toggle {
        display: block;
        z-index: 1003;
    }
    main {
        padding: 1rem;
    }
    footer {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    .drawer {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        background: rgba(10, 10, 30, 0.9);
        display: flex;
        justify-content: center;
        pointer-events: auto;   /* always active on desktop */
    }
    .drawer nav ul {
        flex-direction: row;
        margin: 0;
    }
    .drawer nav ul li {
        margin: 0 15px;
    }
    .drawer nav ul li a {
        display: inline-block;
        width: auto;
    }
}

/* Contact form table layout */
.contact-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    border-collapse: collapse;
}
.contact-table th,
.contact-table td {
    padding: 0.75rem;
    vertical-align: top;
}
.contact-table th {
    text-align: left;
    width: 30%;
    white-space: nowrap;
}
.contact-table td input,
.contact-table td textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.contact-table td textarea {
    height: 150px;
    resize: vertical;
}
.contact-table .submit-cell {
    text-align: center;
}
.contact-table button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.contact-table button:hover {
    background-color: #333;
}
/* Services layout: graphic on left, text on right */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* space between items */
  }
  
  .service-item {
    display: flex;
    align-items: flex-start;
  }
  
  .service-item img {
    width: 300px;
    height: auto;
    flex-shrink: 0;
    margin-right: 1.5rem;
  }
  
  /* Stack them on narrow screens */
  @media (max-width: 768px) {
    .service-item {
      flex-direction: column;
      text-align: center;
    }
    .service-item img {
      margin: 0 0 1rem;
      width: 100%;
      max-width: 300px;
    }
  }
  

  /* style.css */

/* — your existing rules up to here — */

/* Slideshow styles */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .slide {
    display: none;               /* hide all by default */
    min-height: 70vh;            /* preserve your old height */
    display: flex;               /* for centering */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
  }
  
  .slide.active {
    display: flex;               /* show only the “active” slide */
  }
  
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1001;
  }
  
  .prev { left: 1rem; }
  .next { right: 1rem; }
  
  .dots {
    text-align: center;
    margin: 1rem 0 2rem;
    z-index: 1001;
    position: relative;
  }
  
  .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
  }
  
  .dot.active {
    background: rgba(255,255,255,1);
  }
  
  /* Responsive tweak: reduce button size on small screens */
  @media (max-width: 480px) {
    .prev, .next {
      font-size: 1.5rem;
      padding: 0.25rem 0.5rem;
    }
  }
  
  