/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    color: #4a4a49;
}

/* Body padding for header/footer */
body {
    padding-top: 100px;
    padding-bottom: 140px;
}

/* Fixed header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1100;
    background: #000;
    display: flex;
    flex-direction: column;
}

/* Header layout */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50%;
    padding: 0 24px;
}

.header-left, .header-right {
    flex: 1 1 auto;
    align-self: center;
}

.header-right {
    text-align: right;
}

/* Header text bright green */
.header-left h1 {
    font-size: 2.5rem;
    margin-top: 25px;
    color: #00ff00;
    margin-bottom: 6px;
}

.header-right p {
    font-size: 2rem;
    color: #00ff00;
    margin: 0;
}

/* Nav */
.main-nav {
    background: #111;
    padding: 10px 20px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #d9d9d9;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.main-nav .dropdown > .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 220px;
    border-radius: 0 0 6px 6px;
    z-index: 2000;
}

.main-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #d9d9d9;
    text-decoration: none;
    white-space: nowrap;
    text-transform: none;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ff00;
}

/* Panels */
.panel {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    margin-top:0px;
    scroll-margin-top: 100px;
}

/* Panel backgrounds */
.panel-home { background-image: url('../images/default.jpg'); }
.panel-services { background-image: url('../images/14.jpg'); }
.panel-about { background-image: url('../images/photo13.png'); }
.panel-testimonials { background-image: url('../images/11.jpg'); }
.panel-contact { background-image: url('../images/photo12.jpg'); }
.panel-gallery { background-image: url('../images/13.jpg'); }
.panel-reviews { background-image: url('../images/13.jpg'); }

/* Panel content */
.panel-content {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    margin-bottom:155px;
    padding: 30px;
    background: rgba(0,0,0,0.7);
    border-radius: 8px;
    line-height: 2em;
    color: #fff;
    text-align: left;
}

/* H2 spacing */
.panel-content h2 {
    margin-top: 2em;
}

/* Paragraph spacing */
.panel-content p {
    margin-bottom: 2em;
}

/* Links */
.panel-content a {
    color: #fff;
    text-decoration: none;
}

.panel-content a:hover {
    color: #00ff00;
    text-decoration: underline;
}

/* Row with image and text */
.row-image {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.row-image img {
    width: 200px;
    height: auto;
    border-radius: 6px;
}

.row-image .text {
    flex: 1;
}

/* Home phone number */
.panel-home .panel-content a {
    font-size: 2.5rem;
    margin-top: 50px;
    display: inline-block;
}

/* Contact panel */
.contact-link { font-size: 2rem; }
.contact-phone { font-size: 1.65rem; margin-top: 20px; display: inline-block; }

/* Sticky footer */
.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height:140px;
    background: #000;
    color: #d9d9d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 1200;
}

/* Mobile / small screens */
@media (max-width: 768px) {

    .panel-content {
        width: 95%;
        padding: 20px;
    }

    .row-image {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .row-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .row-image .text {
        width: 100%;
    }

    .header-left h1 {
        font-size: 2rem;
    }

    .header-right p {
        font-size: 1.2rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .main-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Table spacing matches .contact-form */
.contact-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px; /* same as gap in .contact-form */
  }
  
  .contact-table td {
    vertical-align: top;
  }
  
  /* Labels align with inputs */
  .contact-table td label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
  }
  
  /* Inputs and textarea take full width like .contact-form */
  .contact-table input,
  .contact-table textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid grey;
    border-radius: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .contact-table input:focus,
  .contact-table textarea:focus {
    border-color: grey;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 8px black;
  }
  
  /* Center recaptcha */
  .recaptcha-cell {
    text-align: center;
  }
  
  /* Center submit button */
  .submit-cell {
    text-align: center;
  }

 .alert h2{
      color:yellow;
  }
  
  .contact-table button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: grey;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .contact-table button:hover {
    background-color: black;
    transform: scale(1.05);
  }
  
  /* Responsive: stack labels/inputs on small screens */
  @media (max-width: 768px) {
    .contact-table,
    .contact-table tr,
    .contact-table td {
      display: block;
      width: 100%;
    }
  
    .contact-table td {
      margin-bottom: 12px;
    }
  }
  
/* Gallery grid */
.panel-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .panel-gallery .gallery-item {
    background: rgba(0,0,0,0.6);
    padding: 10px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .panel-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
  }
  
  .panel-gallery .gallery-item:hover {
    transform: scale(1.03);
  }

  /* Override for gallery panel */
.panel-gallery {
    min-height: auto;       /* allow height to grow with content */
    padding-bottom: 60px;   /* space above footer */
}
  


/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #00ff00;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1500;
}
/* Hide mobile nav by default */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -250px; /* hidden off screen */
    width: 250px;
    height: 100%;
    background: #111;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 2000;
    padding-top: 60px; /* below header */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.mobile-nav ul li a:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile menu icon */
.mobile-menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #00ff00;
    position: absolute;
    top: 40px;
    right: 20px;
}

/* Show hamburger on small screens */
@media screen and (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-icon { display: block; }
    .footer-left p {font-size:}
    .panel {
        padding-bottom: 160px; /* slightly more than footer height */
    }

    .panel-gallery {
        padding-bottom: 200px; /* if gallery has extra content */
    }
}
