/* =========================================
   ADAM SALONG DEMO
   CB WEB & GIS
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #1b1b1b;
}

/* HEADER */

.site-header {
    width: 100%;
    background: #07111f;
    color: white;
}

.top-bar {
    min-height: 38px;
    padding: 8px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #020812;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

/* NAVIGATION */

.navbar {
    min-height: 82px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:hover {
    color: #d9272e;
}

.nav-btn {
    padding: 12px 22px;
    background: #d9272e;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

.nav-btn:hover {
    background: #b91f25;
}
/* HERO SECTION */

.hero {
  min-height: 540px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
    padding: 0;
    background: #07111f;
    color: white;
}

.hero-content {
    max-width: none;
    padding: 90px 7% 90px 14%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    min-height: 540px;
    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 31, 0.35),
            rgba(7, 17, 31, 0.05)
        ),
        url("images/hero-salon.jpg");

  background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-color: #07111f;
}
.hero-small {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #d9272e;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 54px;
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero h1 span {
    color: white;
}

.hero-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #d8dce2;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 14px 26px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

.hero-btn.primary {
    background: #d9272e;
    color: white;
}

.hero-btn.secondary {
    border: 2px solid white;
    color: white;
}

.hero-btn.primary:hover {
    background: #b91f25;
}

.hero-btn.secondary:hover {
    background: white;
    color: #07111f;
}
/* BARBER ACCENT */

.hero {
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 7px;

    background: repeating-linear-gradient(
        135deg,
        #d9272e 0 35px,
        #ffffff 35px 70px,
        #174c8c 70px 105px,
        #ffffff 105px 140px
    );
}
/* SERVICES SECTION */

.services {
    padding: 70px 7%;
    background: #07111f;
    color: white;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading p {
    color: #d9272e;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 38px;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: linear-gradient(
        145deg,
        #234f82 0%,
        #173b68 55%,
        #102d50 100%
    );

    padding: 34px 24px;
    text-align: center;

    border-radius: 10px;
    border: 1px solid #35689f;
    border-top: 4px solid #d9272e;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.service-card span {
    display: block;
    font-size: 34px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card p {
    color: #d7e2ef;
    line-height: 1.6;
}
/* ABOUT SECTION */

.about {
    padding: 100px 7%;
    background: #07111f;
    color: white;
}

.about-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-label {
    color: #d9272e;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-content > p:not(.about-label) {
    color: #cbd1da;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 26px;
    background: #d9272e;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

.about-btn:hover {
    background: #b91f25;
}
/* CONTACT SECTION */

.contact {
    padding: 90px 7%;
    background: #f4f5f7;
}

.contact-grid {
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 8px;
    border-bottom: 4px solid #174c8c;
}

.contact-card h3 {
    color: #07111f;
    margin-bottom: 15px;
    font-size: 21px;
}

.contact-card p {
    color: #5c6470;
    line-height: 1.7;
}

.contact-card a {
    color: #d9272e;
    text-decoration: none;
    font-weight: 700;
}

.contact-card a:hover {
    text-decoration: underline;
}
/* DEMO NOTICE */

.demo-notice {
    background: #d9272e;
    color: white;
    text-align: center;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
/* FOOTER */

.footer {
    background: #020812;
    color: white;
    padding: 45px 7%;
    text-align: center;
}

.footer-brand strong {
    display: block;
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: #aeb6c2;
    margin-bottom: 18px;
}

.footer-contact {
    margin-bottom: 25px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.footer-contact a:hover {
    color: #d9272e;
}

.footer-demo {
    padding-top: 20px;
    border-top: 1px solid #263140;
    color: #7f8996;
    font-size: 13px;
}
/* =========================================
   QUICK SERVICES STRIP
========================================= */

.quick-services {
    background: #0c1726;
    color: white;
    padding: 22px 7% 26px;
    border-bottom: 1px solid #243448;
}

.quick-services-title {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.quick-services-title h2 {
    font-size: 24px;
    letter-spacing: 1px;
    border-bottom: 3px solid #176b52;
    padding-bottom: 7px;
}

.quick-services-title p {
    color: #aeb9c7;
    font-size: 14px;
}

.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-service-item {
    background: #173b68;
    border: 1px solid #315b88;
    border-radius: 6px;
    padding: 17px 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quick-service-item span {
    font-size: 22px;
}

.quick-service-item strong {
    font-size: 15px;
}
.service-image-card {
    min-height: 150px;
    position: relative;
    overflow: hidden;

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

    align-items: flex-end;
    justify-content: flex-start;
    padding: 0;
}

.service-image-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(4, 12, 23, 0.95) 0%,
        rgba(4, 12, 23, 0.20) 65%
    );
}

.service-image-card strong {
    position: relative;
    z-index: 1;

    width: 100%;
    padding: 16px 18px;

    color: white;
    font-size: 16px;
    text-align: left;
}
/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .top-bar {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .navbar {
        flex-direction: column;
        padding: 20px 7%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .hero {
        min-height: 520px;
        padding: 70px 7%;
    }

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

    .hero-text {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .about h2 {
        font-size: 30px;
    }

}
/* =========================================
   DARK GREEN ACCENT
========================================= */

.demo-notice,
.nav-btn,
.hero-btn.primary,
.about-btn {
    background: #176b52;
}

.nav-btn:hover,
.hero-btn.primary:hover,
.about-btn:hover {
    background: #10513e;
}

.hero-small,
.section-heading p,
.about-label {
    color: #2e9b76;
}

.service-card {
    border-top-color: #176b52;
}

.nav-links a:hover,
.footer-contact a:hover,
.contact-card a {
    color: #2e9b76;
}
/* ==========================================
   BACK TO DEMO PORTFOLIO
========================================== */

.demo-back-bar {
    padding: 14px 6%;
    background: #0b1c2c;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.back-to-portfolio {
    display: inline-block;

    color: #59c3ff;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.back-to-portfolio:hover {
    color: #ffffff;
    transform: translateX(-4px);
}
