/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* HEADER & NAV */
header {
    background: #000c7b;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

nav h2 {
    font-size: 1.6rem;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

/* main-header MENU */
.main-header {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.main-header span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin-bottom: 5px;
    border-radius: 2px;
}

/* HOME SECTION */
.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/home.jpg') no-repeat center/cover;
    color: #fff;
    padding: 0 1rem;
}

.home h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px #000;
}

.home p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 6px #000;
}

/* MAIN CONTENT */
main {
    padding: 3rem 2rem;
}

section {
    margin-bottom: 3rem;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #f7f7f7, #e0e0e0);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #0077cc;
    margin-bottom: 0.8rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0077cc;
    outline: none;
    box-shadow: 0 0 8px rgba(0,119,204,0.3);
}

.contact-form button {
    padding: 0.9rem;
    background: linear-gradient(135deg, #0077cc, #00aaff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #005fa3, #0099dd);
}

/* FOOTER */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: #0077cc;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
    }

    nav ul.show {
        display: flex;
    }

    .main-header {
        display: flex;
    }

    .home h1 {
        font-size: 2.2rem;
    }

    .home p {
        font-size: 1rem;
    }
	
    .pop-btn {
        background-color: #2ecc71;
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Triggers animation for transform and box-shadow changes */
        transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .pop-btn:hover {
  /* Scales the button up to 105% of its size */
        transform: translateY(-2px) scale(1.05);
  /* Makes the shadow larger to simulate height */
        box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

}

/* ChatGPT responsive cleanup */
img,video{max-width:100%;height:auto;}
.container,.container-fluid{padding-left:16px;padding-right:16px;}
body{overflow-x:hidden;}
iframe{max-width:100%;}
@media (max-width:768px){
 table{display:block;overflow-x:auto;}
 nav,header{padding-left:0!important;padding-right:0!important;}
 .row,[class*=row]{flex-direction:column;}
 h1{font-size:2rem!important;}
 h2{font-size:1.6rem!important;}
 input,select,textarea,button{min-height:44px;}
}

/* Rev3 mobile menu fixes */
@media (max-width:768px){
#nav-menu{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;z-index:9999;padding:10px;}
#nav-menu.show{display:block!important;}
#nav-menu li{display:block;margin:10px 0;}
.main-header{display:block!important;cursor:pointer;z-index:10000;}
}
