/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 30px 8%;

    background-color: #8C1515;

    color: white;

    border-bottom: none;
}

.logo {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo a {
    color: white;
    text-decoration: none;
}

nav a {
    margin-left: 30px;

    text-decoration: none;

    color: white;

    font-size: 14px;

    letter-spacing: 0.5px;
}

nav a:hover {
    opacity: 0.75;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    position: relative;

    height: 88vh;

    background-image: url("images/main.jpg");

    background-size: contain;

    background-repeat: no-repeat;

    background-position: right center;

    background-color: #000000;

    overflow: hidden;
}

/* Remove dark overlay completely */

.hero::after {
    display: none;
}

/* =========================
   HERO TEXT PANEL
========================= */

.hero-text {
    position: absolute;

    top: 0;
    left: 0;

    width: 380px;
    height: 100%;

    padding: 110px 42px 60px;

    background-color: #000000;

    color: white;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-text h1 {
    font-size: 58px;

    line-height: 1.05;

    margin-bottom: 34px;

    font-weight: 650;

    letter-spacing: -1px;
}

.hero-text p {
    font-size: 18px;

    line-height: 1.75;

    margin-bottom: 40px;

    color: rgba(255,255,255,0.90);
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-block;

    width: fit-content;

    padding: 15px 32px;

    background-color: white;

    color: black;

    text-decoration: none;

    border-radius: 40px;

    font-weight: 600;

    transition: 0.25s ease;
}

.button:hover {
    opacity: 0.85;
}

/* =========================
   SERVICES GRID
========================= */

.services {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 42px;

    padding: 90px 8%;
}

.card img {
    width: 100%;

    height: 300px;

    object-fit: cover;

    margin-bottom: 22px;
}

.card h2 {
    font-size: 30px;

    margin-bottom: 14px;
}

.card p {
    margin-bottom: 22px;

    color: #555555;

    font-size: 17px;
}

.card a {
    text-decoration: none;

    color: black;

    font-weight: 600;
}

.card a:hover {
    opacity: 0.6;
}

/* =========================
   PAGE CONTENT
========================= */

.page-section {
    padding: 90px 8%;

    max-width: 1100px;

    margin: 0 auto;
}

.page-section h2 {
    font-size: 38px;

    margin-bottom: 18px;

    margin-top: 48px;
}

.page-section p {
    font-size: 18px;

    color: #444444;

    max-width: 850px;

    margin-bottom: 24px;
}

/* =========================
   PRICING CARDS
========================= */

.price-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 30px;

    margin: 36px 0 54px;
}

.price-card {
    border: 1px solid #eeeeee;

    padding: 34px;

    background: #ffffff;
}

.price-card h3 {
    font-size: 24px;

    margin-bottom: 12px;
}

.price-card p {
    font-size: 16px;

    margin-bottom: 10px;
}

.price {
    font-weight: 700;

    color: #111111 !important;
}

.button.dark {
    background-color: #111111;

    color: #ffffff;

    margin-top: 20px;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 40px 8%;

    border-top: 1px solid #eeeeee;

    color: #777777;

    font-size: 14px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    header {
        flex-direction: column;

        gap: 20px;
    }

    nav a {
        margin-left: 12px;
        margin-right: 12px;
    }

    .hero {
        height: auto;

        min-height: 90vh;

        background-size: cover;
    }

    .hero-text {
        width: 100%;

        height: auto;

        padding: 120px 36px 70px;

        background: rgba(0, 0, 0, 0.72);
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .card img {
        height: 240px;
    }
}