/* ================= BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #FFFFFF;
    color: #000000;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

.section-tag {
    color: #BDA79B;
    font-size: 12px;
    letter-spacing: 2px;
}

/* ================= HEADER ================= */
.header {
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a, .nav-item {
    margin-left: 20px;
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

/* Logo */
.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 140px;          /* adjust if you want bigger/smaller */
    height: auto;
    object-fit: contain;
}

/* Make anchor look like button */
.primary-btn,
.secondary-btn {
    display: inline-block;
    text-decoration: none;
}

/* Improve nav alignment + hover */
.nav a, .nav-item {
    margin-left: 20px;
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

.nav a:hover, .nav-item:hover {
    opacity: 0.75;
}

/* Responsive layout */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .value-box {
        flex-direction: column;
        gap: 20px;
    }

    .approach {
        grid-template-columns: 1fr;
    }

    .journey-steps {
        flex-direction: column;
        align-items: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-box {
        position: static;
        transform: none;
        margin: 20px;
        max-width: 100%;
    }
}

/* ================= HERO (SLIDESHOW) ================= */
.hero{
    position: relative;
    min-height: 520px;          /* controls hero height */
    padding: 120px 20px;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;           /* prevents slides from making the section tall */
}

/* Slide container spans the hero */
.hero-slides{
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Each slide is stacked on top of each other (NOT vertical) */
.hero-slides img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;          /* crop nicely */
    object-position: center;
    opacity: 0;
    animation: heroFade 20s infinite;
}

/* 4 slides (5s each) */
.hero-slides img:nth-child(1){ animation-delay: 0s; }
.hero-slides img:nth-child(2){ animation-delay: 5s; }
.hero-slides img:nth-child(3){ animation-delay: 10s; }
.hero-slides img:nth-child(4){ animation-delay: 15s; }

@keyframes heroFade{
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    25%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Dark overlay for readability */
.hero-shade{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

/* Text/button layer sits above */
.hero-content{
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}


.primary-btn {
    margin-top: 30px;
    padding: 12px 30px;
    background: #BDA79B;
    border: none;
    color: #000;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

/* ================= VALUE ================= */
.value-strip {
    padding: 60px 20px;
}

.value-box {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

/* ================= CTA ================= */
.cta-dark {
    background: #000;
    color: #FFF;
    padding: 80px 20px;
    text-align: center;
}

.secondary-btn {
    margin-top: 30px;
    padding: 12px 30px;
    border: 1px solid #BDA79B;
    background: transparent;
    color: #BDA79B;
}

/* ================= APPROACH ================= */
.approach {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ================= IMAGE PANEL ================= */
.image-panel {
    position: relative;
}

.image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    background: rgba(0,0,0,0.4);
    text-align: center;
}


/* Crop images nicely instead of stretching */
.image-panel img,
.testimonial img {
    width: 100%;
    height: 520px;        /* adjust per your design */
    object-fit: cover;    /* key: crops instead of stretching */
    object-position: center;
}

/* Approach image: show full photo without cropping */
.approach-image {
    display: flex;
    align-items: center;     /* vertically centers image beside text */
}

.approach-image img {
    width: 100%;
    height: auto;            /* keeps original aspect ratio */
    max-height: 520px;       /* prevents it becoming too tall */
    object-fit: contain;     /* key: no cropping */
    background: #fff;        /* optional: looks clean if "letterboxing" occurs */
}

/* ================= JOURNEY ================= */
.journey {
    padding: 100px 20px;
    text-align: center;
}

.journey-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

/* ================= TEAM ================= */
.team {
    padding: 100px 20px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

/* ================= CONTACT ================= */
.contact {
    padding: 100px 20px;
}

.contact-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}

/* ================= TESTIMONIAL ================= */
.testimonial {
    position: relative;
}

.testimonial-box {
    position: absolute;
    max-width: 500px;
    background: #FFF;
    padding: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ================= FOOTER ================= */
.footer {
    background: #111;
    color: #FFF;
    padding: 40px 20px;
}

/* ===== Back to top button ===== */
#backToTop{
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px; height: 44px; border-radius: 22px;
  border: none; background: #BDA79B; color: #000;
  font-size: 20px; line-height: 44px; text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease; z-index: 999;
}
#backToTop.show{ opacity: 1; pointer-events: auto; transform: translateY(0); }
#backToTop:focus{ outline: 2px solid #fff; outline-offset: 2px; }

/* ===== Toast notification ===== */
.toast{
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #111; color: #fff; padding: 10px 14px; border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,.2); z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.toast.show{ opacity: 1; }

/* ===== Admin leads (local view) ===== */
.admin-leads{ display: none; padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
:target.admin-leads{ display: block; }
.admin-leads table{ width: 100%; border-collapse: collapse; margin-top: 16px; }
.admin-leads th, .admin-leads td{ border: 1px solid #eee; padding: 8px 10px; text-align: left; }
.admin-leads .actions{ margin-top: 10px; display: flex; gap: 10px; }