:root {
    --orange-dark: rgb(255, 130, 0);
    --orange-medium: rgb(255, 227, 183);
    --orange-light: rgb(255, 180, 60);
    --white: #ffffff;
    --dark: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html, body {
    background: #1d2734;
    font-family: "Raleway", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #eee;
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1 {
    font-weight: 300;
    color: var(--orange-dark);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

h2 {
    font-weight: 300;
    color: var(--orange-light);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

h4 {
    font-weight: 300;
    color: var(--orange-medium);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

p {
    font-weight: 300;
    color: var(--white);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    margin-top: 0.75rem;
}

/* =========================
   NAVIGATION
   ========================= */

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(29, 39, 52, 0.85);
}

nav {
    padding: 0.7rem 5vw;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: clamp(0.75rem, 2vw, 2rem);
}

nav a {
    color: #ddd;
    text-decoration: none;
    font-weight: 300;
    padding: .5rem .75rem;
    position: relative;
}

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

nav a.active {
    color: var(--orange-medium);
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.25rem;
    height: 2px;
    background: var(--orange-medium);
}

/* =========================
   SECTION RAIL
   ========================= */

.section-rail {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: clamp(1rem, 5vw, 5rem);
    padding-right: clamp(1rem, 5vw, 5rem);
    position: relative;
    z-index: 2;
}

/* =========================
   GLOBAL SECTION SPACING
   ========================= */

section {
    position: relative;
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* =========================
   HERO
   ========================= */

.hero-section {
    background-image: url("images/sisters opening.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 60%;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* =========================
   MISSION
   ========================= */

.mission-section {
    background-image: url("images/Wooster.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 40%;
}

.mission-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* =========================
   SERVICES
   ========================= */

.services-section {
    background-image: url("images/planks2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 45%;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* =========================
   ABOUT
   ========================= */

.about-section {
    background-image: url("images/2ndbcg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 25%;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.about-photo {
    grid-column: 2; /* force image to second column */
    float: right;
    max-width: 160px;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
 /* added to control pas2.jpg alignment with top/bottom of section*/
 .about-section .section-rail {
    display: grid;
    grid-template-columns: 1fr auto;/* text | image */
    align-items: start;
    gap: 1.5rem;
}
/* =========================
   CONTACT
   ========================= */

.contact-section {
    background-image: url("images/tools.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 30%;
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contact-form {
    margin-top: 1.5rem;
    max-width: 520px;
}

.contact-form label {
    display: block;
    margin-top: 1rem;
    /*extra*/color: var(--orange-light);
}

.contact-form span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
   /*width: 100%;
    padding: 0.6rem;
    border-radius: 4px;
    border: none;
    font-family: inherit;*/
    /*extra*/ font-family: inherit;
    font-size: 1rem;
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(29, 39, 52, 0.75);
    color: #fff;
}

/* =========================
   CTA BUTTON
   ========================= */

.cta-button {
    margin-top: 1rem;
    background: var(--orange-medium);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--orange-dark);
}

/* =========================
   FOOTER
   ========================= */

footer {
    background: var(--dark);
    text-align: center;
    padding: 2rem 0;
}

footer p,
footer a {
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: none;
}
