/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.menu-toggle {
    display: none;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    transition: background-color 0.3s ease;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
}
.nav-menu li {
    margin-left: 25px;
    position: relative; /* Add position relative */
}

.nav-menu li:hover {
    background-color: #fff;
}

.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s ease;
    display: block; /* Add display block */
    padding: 10px; /* Add padding */
}

.nav-menu li:hover::before {
    content: ''; /* Add pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.5; /* Adjust the opacity as desired */
    z-index: -1; /* Push it behind the text */
}

.nav-menu li a:hover {
    color: #000;
}

/* Hero section */

.hero {
    top: 80px;

    height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    background-image: url(IMG_0433.JPG);

    background-repeat: no-repeat;

    background-size: cover;

    background-position: top center;

    position: relative;

    overflow: hidden;
}

.hero:before {
    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image: url('IMG_0433.JPG');

    background-size: cover;

    background-position: center;

    transform: translateZ(-1px) scale(1.5);

    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-heading {
    font-size: 60px;
    margin-bottom: 20px;
    text-shadow: 5px 5px 1px rgba(0, 0, 0, 1);
}
.hero-subheading {
    font-size: 36px;
    margin-bottom: 40px;
    text-shadow: 3px 3px 1px rgba(0, 0, 0, 1);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
    font-size: 24px;
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 15px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.75);
    transition: background-color 0.75s ease, color 0.75s ease;
}

.cta-button:hover {
    background-color: #000;
    color: #fff;
}

/* Apply styles when the :target pseudo-class is active */
.hero:target {
    /* Set the top margin to account for the fixed navbar's height */
    margin-top: 80px;
    /* Add other styling if needed */
}

/* Reset the top margin when :target is not active */
.hero {
    margin-top: 0;
    /* Add other styling if needed */
}

/* About section */
.about {
    padding: 100px 0;
    background-color: #050505;
    color: #fff;
}

.section-heading {
    font-size: 48px;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 3px 3px 1px rgba(0, 0, 0, 0.5);
}

.about div p {
    margin-bottom: 20px;
    text-indent: 1em;
    font-size: 20px;
}

/* Portfolio section */
.portfolio {
    padding: 100px 0;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    grid-gap: 20px; /* Gap between videos */
}

.gallery-item {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 divided by 16) */
    overflow: hidden;
}

.gallery-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Services section */
.services {
    padding: 100px 0;
    background-color: #050505;
    color: #fff;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.service-list li {
    flex: 0 0 50%;
    padding: 20px;
}

.service-list h3 {
    font-size: 36px;
    margin-bottom: 10px;
}

.service-list li p {
    text-indent: 1em;
        font-size: 20px;
}

.service-list li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
/* Contact section */
.contact {
    padding: 100px 0;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5em;
}

.contact-item {
    width: 17em;
    text-align: center;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    padding: 0.5em;
    transition: background-color 0.75s ease, transform 0.75s ease;
}

.contact-item:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    padding: 0.5em;
}

.contact-item i {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-item a {

    text-align: center;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    margin: 0;
    
}

.contact-item a p {
    white-space: normal;
    line-height: normal;
    overflow: hidden;
        font-size: 18px
}

.contact-form label {
    font-size: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #000000;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: background-color 0.75s ease, color 0.75s ease;
}

.contact-form button:hover {
    background-color: #000;
    color: #fff;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        top: 100px;
    }
    
    .hero-heading {
        font-size: 36px;
    }

    .hero-subheading {
        font-size: 16px;
    }

    .section-heading {
        font-size: 48px;
    }

    .service-list li {
        flex: 0 0 100%;
    }

    .navbar {
        position: fixed;
        top: 0;
        padding: 10px 0;
    }

    .logo {
        width: 25%;
        font-size: 24px;
    }

    .nav-menu {
        display: none;
        margin-top: 10px;
    }

    .nav-menu li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .nav-menu li a {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
        background-color: #333;
        color: #fff;
        border: 1px solid #fff;
        border-radius: 50%;
        padding: 10px 15px;
        font-size: 16px;
        cursor: pointer;
    }

    .menu-toggle.hide {
        display: none;
    }

    .menu-toggle:focus {
        outline: none;
    }

    .menu-open .nav-menu {
        width: 8em;
        margin: 10em 0 0 0;
        display: block;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .gallery {
        grid-template-columns: 1fr; /* One column */
    }
    
    .service-list li h3 {
        font-size: 24px;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 5em;
    }

    .contact-item {
        width: 75%;
        margin-bottom: 2em;
    }

    .contact-item:hover {
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
        padding: 0.5em;
    }

    .contact-item i {
        font-size: 20px;
        margin-right: 1em;
        margin-bottom: 0;
    }

    .contact-item a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        text-decoration: none;
        color: #000;
        cursor: pointer;
        font-weight: bold;
        margin: 0;
    }
}
