/* CSS variables for consistent theming */
:root {
    --primary: #e6804c;      /* warm coral colour similar to the reference site */
    --secondary: #fff5ef;    /* light peach for soft backgrounds */
    --text: #333333;        /* primary text colour */
    --heading: #222222;     /* heading colour */
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo styles with image */
header .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
}

header .logo img {
    height: 40px;
    margin-right: 0.5rem;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

header nav a {
    color: var(--white);
    font-weight: bold;
}

header nav a.active {
    text-decoration: underline;
}

/* Hero sections */
.hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.small-hero {
    height: 40vh;
}

.btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.btn.small {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

.btn:hover {
    filter: brightness(0.95);
}

/* Sections */
.section {
    padding: 3rem 1rem;
}

.section.bg-light {
    background-color: var(--secondary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card h3 {
    margin-top: 0;
    color: var(--heading);
}

.feature-card p {
    flex-grow: 1;
}

.feature-card .feature-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Service details section */
.service-details {
    max-width: 800px;
    margin: 0 auto;
}

.service-details h3 {
    color: var(--heading);
    margin-top: 2rem;
}

.service-details h3:first-child {
    margin-top: 0;
}

.cta {
    text-align: center;
    margin-top: 2rem;
}

/* Lists */
.list {
    list-style: disc inside;
    padding-left: 1rem;
}

/* Forms */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea,
select {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input[type="checkbox"] {
    margin-right: 0.5rem;
}

.button {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.button:hover {
    filter: brightness(0.95);
}

.consent {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-brand img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    background: rgba(255,255,255,0.85);
    padding: 1px;
}
.footer-brand h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-col h3 {
    margin-top: 0;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--white);
}

.copyright {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    .features {
        grid-template-columns: 1fr;
    }
    header nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-flex {
        flex-direction: column;
    }
}

/* Responsive header navigation */
header{position:sticky;top:0;z-index:20;gap:1rem}
header .brand{display:flex;align-items:center;gap:0.9rem;font-weight:800;font-size:1.7rem;}
header .brand img{height:44px;width:auto;border-radius:8px;background:rgba(255,255,255,0.85);padding:1px}
#nav-toggle{display:none;background:transparent;border:none;color:#fff;font-size:1.8rem;padding:.2rem .4rem;cursor:pointer;}
header nav{display:flex;gap:1rem;align-items:center;}
header nav a{white-space:nowrap;}
@media (max-width: 800px){
  header nav{display:none;flex-direction:column;align-items:flex-start;background:var(--primary);position:absolute;left:0;right:0;top:60px;padding:0.7rem 1rem;border-top:1px solid rgba(255,255,255,0.25);}
  header nav.open{display:flex;}
  #nav-toggle{display:block;}
}
/* Active link underline */
header nav a.active{text-decoration:underline;text-underline-offset:4px;}
