
/* ==========================================
   G PLUS - INTERIOR & EXTERIOR SOLUTIONS
   COMPLETE WEBSITE STYLESHEET
========================================== */

/* 1. GENERAL SETTINGS */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #10264a;
    --blue: #174b91;
    --gold: #c8a96a;
    --dark: #172338;
    --grey: #687386;
    --light: #f4f6fa;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    scroll-margin-top: 100px;
}

/* 2. NAVIGATION HEADER */

header {
    width: 100%;
    min-height: 95px;
    padding: 12px 7%;
    background: var(--white);

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
}


/* G PLUS HEADER LOGO */

header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

header .logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

header .logo-text h2 {
    color: #10264a;
    font-size: 28px;
    margin: 0;
}

header .logo-text p {
    color: #687386;
    font-size: 10px;
    margin: 0;
    letter-spacing: 1px;
}


/* NAVIGATION LINKS */

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
}

nav a:hover {
    color: var(--gold);
}

/* 3. HOME / HERO SECTION */

.hero {
    min-height: 650px;

    background:
    linear-gradient(
        rgba(5, 20, 40, 0.72),
        rgba(5, 20, 40, 0.55)
    ),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
    background-attachment: scroll;

    display: flex;
    align-items: center;

    padding: 100px 7%;
    color: var(--white);
}

.hero-content {
    max-width: 750px;
    animation: fadeUp 1s ease;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(42px, 6vw, 65px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero p {
    font-size: 19px;
    color: #e5eaf1;
    margin-bottom: 35px;
}

/* 4. BUTTON DESIGN */

.btn {
    display: inline-block;
    padding: 15px 30px;

    background: var(--gold);
    color: var(--navy);

    font-size: 14px;
    font-weight: 800;

    border-radius: 4px;
    border: 1px solid var(--gold);

    transition: 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

/* 5. COMMON SECTION DESIGN */

section:not(.hero) {
    padding: 90px 7%;
    text-align: center;
}

section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 38px;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 25px;
}

#about p {
    max-width: 850px;
    margin: auto;
    color: var(--grey);
    font-size: 16px;
    line-height: 1.9;
}

/* 6. ABOUT SECTION */

#about {
    background: var(--white);
}

#about h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

/* 7. SERVICES SECTION */

#services {
    background: var(--light);
}

.service-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.service {
    background: var(--white);
    padding: 40px 20px;

    min-height: 150px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 6px;
    border-bottom: 3px solid var(--blue);

    color: var(--navy);
    font-size: 16px;
    font-weight: 800;

    box-shadow: 0 5px 20px rgba(16,38,74,0.05);

    transition: 0.3s ease;
}

.service:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--gold);
    box-shadow: 0 15px 30px rgba(16,38,74,0.12);
}

/* 8. PROJECT SECTION */

#projects {
    background: var(--white);
}

#projects p {
    color: var(--grey);
    font-size: 16px;
}

/* 9. CONTACT SECTION */

#contact {
    background: var(--light);
}

#contact p {
    color: var(--grey);
    margin-bottom: 25px;
}

.contact-details a {
    color: var(--blue);
    font-weight: 700;
}

.contact-details a:hover {
    color: var(--gold);
}

/* 10. FOOTER */

footer {
    background: var(--navy);
    color: var(--white);

    text-align: center;
    padding: 45px 20px;
}

footer h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 27px;
    margin-bottom: 10px;
    color: var(--gold);
}

footer p {
    font-size: 13px;
    color: #d0d9e6;
    margin-top: 7px;
}

/* 11. ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 12. TABLET RESPONSIVE DESIGN */

@media (max-width: 1024px) {

    header {
        padding: 15px 4%;
    }

    nav {
        gap: 18px;
    }

    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 13. MOBILE RESPONSIVE DESIGN */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 4%;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .logo img {
        width: 55px;
        height: 55px;
    }

    .logo-text h2 {
        font-size: 25px;
    }

    .hero {
        min-height: 520px;
        padding: 70px 6%;
        background-position: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    section:not(.hero) {
        padding: 65px 6%;
    }

    section h2 {
        font-size: 30px;
    }

    .service-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service {
        padding: 25px 12px;
        min-height: 120px;
        font-size: 13px;
    }
}

/* 14. SMALL MOBILE SCREENS */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 34px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 11px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }
}
