
/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
   /* background: #000000; /*Back ground*/
    color: #ffffff; /*content Text*/
    line-height: 1.5;
    background-image:url('backdrop.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    min-height: 140px;

    display: flex;
    align-items: center;

    padding: 20px 40px;

    background: #272400;
    color: white;
}


/* Logo on left */

.logo {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100%;
    height: auto;
    border: 10px, double, white;
    border-radius: 10%;
    object-fit: contain;
}


/* Text on right of logo */

.header-text {
    margin-left: auto;
    text-align: right;
}

.header-text h1 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.header-text p {
    color: #cbd5e1;
}
.bond {
    font-size: 15px;
}

/* =========================================
   PAGE LAYOUT
========================================= */

.page-layout {
    max-width: 100%;
    margin: 0 auto;

    display: grid;

    grid-template-columns: 180px 1fr;

    min-height: calc(100vh - 140px);
}


/* =========================================
   NAVIGATION
========================================= */

.side-nav {
    background: #00005a;
    padding: 30px 15px;
}

.side-nav ul {
    list-style: none;
}

.side-nav li {
    margin-bottom: 8px;
}

.side-nav a {
    display: block;

    padding: 12px 15px;

    color: #ffffff;
    text-decoration: none;

    border-radius: 6px;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

.side-nav a:hover {
    background: #374151;
    padding-left: 20px;
}

/* Style all font awesome icons */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Mobile menu button */

.menu-toggle {
    display: none;

    width: 100%;
    padding: 12px;

    border: none;
    border-radius: 5px;

    background: #374151;
    color: white;

    cursor: pointer;

    font-size: 1rem;
}


/* =========================================
   MAIN CONTENT
========================================= */

.main-content {

    display: grid;

    /*
        Gallery = 2 parts
        Services = 1 part
        Contact = 1 part

        Total = 4 parts

        Gallery = 50%
        Services = 25%
        Contact = 25%
    */

    grid-template-columns: 2fr 1fr 1fr;

    gap: 20px;

    padding: 30px;
   
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.gallery-section,
.services-section,
.contact-section {
   
    background: #27240050;
    
    border-radius: 10px;

    padding: 25px;

    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.521);
}

section h2 {
    margin-bottom: 20px;

    font-size: 1.5rem;

    /*color: #00005a; /*section headers text color*/
}


/* =========================================
   IMAGE GALLERY
========================================= */

.image-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}


/*
    Keeps all images the same shape.
*/

.image-card {
    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-radius: 8px;

    background: #ddd;
}


.image-card img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.3s ease;
}


.image-card:hover img {
    transform: scale(1.05);
}

/* =========================================
   GALLERY FOOTER
========================================= */
.gallery-extra{
    width:100%;
    padding-top: 10px;
    align-items: center;
    list-style: none;
}
.gallery-extra h4{
    width:100%;
    text-align: center;
}
.gallery-extra i{
    width:100%;
    text-align: center;
}
.gallery-extra a{
    width:100%;
    text-align: center;
    color:#ffffff;
}
/* =========================================
   SERVICES
========================================= */

.services-list {
    list-style: none;
}


.services-list li {

    padding: 15px 0;

    border-bottom: 1px solid #ddd;
}


.services-list li:last-child {
    border-bottom: none;
}


.services-list strong {
    display: block;

    margin-bottom: 4px;

    color: #1c2938;
}


.services-list span {
    display: block;

    font-size: 0.9rem;

    color: #666;
}


/* =========================================
   CONTACT FORM
========================================= */

.form-group {
    margin-bottom: 15px;
}


.form-group label {

    display: block;

    margin-bottom: 5px;

    font-weight: bold;

    font-size: 0.9rem;
}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 11px;

    border: 1px solid #ccc;

    border-radius: 5px;

    font-family: inherit;

    font-size: 1rem;

    background: white;
}


.form-group textarea {
    resize: vertical;
}


.form-group input:focus,
.form-group textarea:focus {

    outline: none;

    border-color: #2563eb;

    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}


/* =========================================
   BUTTON
========================================= */

.submit-button {

    width: 100%;

    padding: 12px;

    border: none;

    border-radius: 5px;

    background: #2563eb;

    color: white;

    font-size: 1rem;

    font-weight: bold;

    cursor: pointer;

    transition: background 0.2s ease;
}


.submit-button:hover {
    background: #1d4ed8;
}


.form-message {

    margin-top: 15px;

    text-align: center;

    font-size: 0.9rem;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .main-content {

        /*
            Gallery still gets more space,
            but side columns remain equal.
        */

        grid-template-columns: 1.7fr 1fr 1fr;

        padding: 20px;
    }

}


/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 850px) {
     .site-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    .header-text {
        margin-left:0%;
        text-align: center;
    }

    .logo{
        width: 100%;
    }

    .page-layout {
        grid-template-columns: 1fr;
    }


    .side-nav {
        padding: 10px 20px;
    }


    .menu-toggle {
        display: block;
    }


    .side-nav ul {
        display: none;
        margin-top: 10px;
    }


    .side-nav ul.active {
        display: block;
    }


    .side-nav li {
        margin-bottom: 3px;
    }


    .main-content {

        /*
            Gallery takes full width.

            Services and Contact sit
            beside each other underneath.
        */

        grid-template-columns: 1fr 1fr;

    }


    .gallery-section {
        grid-column: 1 / -1;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .site-header {

        min-height: 110px;
        padding: 15px 20px;
    }

    .logo {
        width: 100%;
    }


    .header-text h1 {
        font-size: 1.5rem;
    }


    .header-text p {
        font-size: 0.8rem;
    }


    .main-content {

        display: grid;

        grid-template-columns: 1fr;

        padding: 15px;
    }


    .gallery-section {
        grid-column: auto;
    }


    .image-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }


    .gallery-section,
    .services-section,
    .contact-section {
        padding: 18px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .image-grid {
        grid-template-columns: 1fr;
    }


    .header-text p {
        display: none;
    }

}
/* =========================================
   FOOTER
========================================= */

.site-footer {
    min-height: 140px;

    display: flex;
    align-items: center;

    background: #272400;
    color: white;
}

.footer-text {
    width:100%;
    text-align: center;
}

.footer-text h1 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.footer-text p {
    color: #cbd5e1;
}