/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25% 2%;
    background: rgb(30, 30, 30);
    color: white;
    flex-shrink: 0;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    max-height: 50px;
    margin: 0 1rem;
    scale: 2;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: rgb(240, 159, 8);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 0;
    overflow: hidden;
    color: white;
    flex-grow: 1;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-text h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgb(240, 159, 8);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.hero-text .btn:hover {
    background: rgb(233, 123, 21);
}

/* Footer */
footer {
    background: rgb(30, 30, 30);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    flex-shrink: 0;
}
.footer-content .social-icons a {
    margin: 0 0.5rem;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.footer-content .social-icons a:hover {
    color: rgb(240, 159, 8);
}

/* Gallery Page */
.portfolio {
    padding: 2rem;
    text-align: center;
    background: whitesmoke;
    flex-grow: 1;
}

.portfolio h1 {
    margin-bottom: 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: rgb(50,50,50);
}

.gallery {
    display: grid;
    grid-template-columns: 24% 24% 24% 24%;
    gap: 5% 1.33%;
}

.gallery-small {
    display: grid;
    grid-template-columns: 24% 24% 24% 24%;
    gap: 2% 1.33%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Image Viewer Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    padding-top: 60px;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: rgb(240, 159, 8);
    text-decoration: none;
    cursor: pointer;
}

.caption {
    text-align: center;
    color: white;
    text-shadow: black 2px 2px 1px;
    font-size: 20px;
    padding: 10px;
    position: absolute;
    bottom: 15vh;
    width: 100%;
}

/* About Us Page */
.about {
    padding: 3rem 2rem;
    background: whitesmoke;
}

.about-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-header h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: rgb(50, 50, 50);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    margin-top: 1.5rem;
    color: rgb(50, 50, 50);
}

.about-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Image Slider */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border: none;
    transform: translateY(-50%);
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Services Page */
.services {
    padding: 1%;
    background: whitesmoke;
    flex-grow: 1;
}

.services-header {
    text-align: center;
}

.services-header h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: rgb(50, 50, 50);
}

.services-header p {
    font-size: 1.2rem;
    color: rgb(50, 50, 50);
}

.services-grid {
    max-width: 1600px;
    display: grid;
    grid-template-columns: 19% 19% 19% 19% 19%;
    gap: 1.33%;
    margin: 0 auto;
}

.service-item {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 5%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.service-item h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
}

.service-item p {
    font-size: 1rem;
    color: rgb(50, 50, 50);
}

/* Contact Page */
.contact {
    padding: 3rem 2rem;
    background: whitesmoke;
    color: rgb(50, 50, 50);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: rgb(50, 50, 50);
}

.contact-header p {
    font-size: 1.2rem;
    color: rgb(50, 50, 50);
    line-height: 1.6;
    margin-top: 1rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: bold;
    margin: 0.5rem 0 0.2rem;
}

.contact-form input,
.contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgb(240, 159, 8);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form button:hover {
    background: rgb(233, 123, 21);
}

.map-container {
    text-align: center;
    margin-top: 3rem;
}

.map-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#map-embed {
    max-width: 1200px;
    width: 80%;
    height: 450px;
}