/*!
 * ============================================================================
 * Copyright (c) 2025 ATH SOLUTIONS (PTY) LTD. All rights reserved.
 * KwaZulu-Natal, Republic of South Africa.
 * ============================================================================
 *
 * @BEGIN Developer Log Header Block
 * @FILENAME: site.css
 * @TITLE: Earthwood Craft - Brochure Site Stylesheet
 * @DESCRIPTION: Styles for the public brochure site (index.html, about.html,
 *               services.html, projects.html, contact.html). Depends on
 *               design-tokens.css being loaded first for colour/spacing vars.
 * @AUTHOR: Ary van der Pijl
 * @COMPANY: ATH SOLUTIONS (PTY) LTD
 * @WEBSITE: https://www.ath.solutions/
 * @EMAIL: info@ath.solutions
 * @COPYRIGHT: All Rights Reserved
 * @LICENSE: ATH SOLUTIONS - PROPRIETARY SOFTWARE LICENCE AGREEMENT (https://www.ath.solutions/documents/ath_solutions_software_licence_agreement.pdf)
 *
 * BEGIN CHANGELOG
 * @IMPORTANT NOTICE: Developers working on these files MUST update and maintain the Developers Change Log, failure to do is not an option:
 * !==================================================================================================================================================================
 * VERSION 1.0.0.3
 * - File Modified | Ary van der Pijl | 2026-07-02 | EWC-003 | Restored the missing hero background photo (Home_Cover_bg.png) behind the cream gradient overlay, matching the live site's .et_pb_section_0 background-image |
 * VERSION 1.0.0.2
 * - File Modified | Ary van der Pijl | 2026-07-02 | EWC-002 | Rebuilt to match the live earthwoodcraft.co.za site: swapped Roboto/Helvetica for Open Sans/Poppins, replaced placeholder icon panels with real photography, added multi-page nav, ghost buttons, eyebrow labels, about/services/projects/contact page styles |
 * VERSION 1.0.0.1
 * - File Created | Ary van der Pijl | 2026-07-02 | EWC-001 | Initial brochure site stylesheet |
 * ==================================================================================================================================================================!
 * END CHANGELOG
 */

/* ─── Local Fonts ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/open-sans/OpenSans-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── Base ────────────────────────────────────────────────────────────────── */

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text-muted);
  background-color: var(--color-surface);
  padding-top: 84px; /* clears the fixed-top navbar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: var(--color-text);
}

a { color: var(--color-primary); }
a:hover { color:white }

.section { padding: var(--space-16) 0; }
.section-muted { background-color: white; }

.eyebrow {
  display: block;
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brown-600);
  margin-bottom: var(--space-3);
}

.eyebrow-left {
    display: block;
    text-align: left;
}


.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  font-family: Notif Serif TC;
}

.section-title-left {
    text-align: left;
}

.section-lead {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons (Divi-style ghost buttons) ─────────────────────────────────── */

.btn-ghost {
  display: inline-block;
  padding: 0.7em 1.6em;
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: 0.02em;
  border: 2px solid;
  border-radius: 3px;
  background-color: transparent;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.btn-ghost-teal {
  color: var(--color-teal-600);
  border-color: var(--color-teal-600);
}

.btn-ghost-teal:hover {
  background-color: var(--color-teal-600);
  color: #fff;
}

.btn-ghost-brown {
  color: #7fa9b5;
  border-color: #7fa9b5;
}

.btn-ghost-brown:hover {
  background-color: #7fa9b5;
  color: #fff;
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-ghost-light:hover {
  background-color: #fff;
  color: var(--color-brown-700);
}

/* ─── Navbar ──────────────────────────────────────────────────────────────── */

.site-navbar {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

.site-navbar .navbar-brand {
  display: flex;
  align-items: center;
}

.site-navbar .navbar-brand img { height: 52px; width: auto; }

.site-navbar .nav-link {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: 0.03em;
  color: var(--color-text);
  padding: var(--space-2) var(--space-4) !important;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active { color: var(--color-teal-600); }

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  background-color: var(--color-cream-100);
  background-image: linear-gradient(90deg, var(--color-cream-100) 19%, rgba(246, 241, 234, 0.61) 58%),
  url('../images/site/Home_Cover_bg.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-16) 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-family:"Notif Serif TC", serif;
  font-size:5rem;
  font-weight:500;
  color:#111;
  line-height:1;
  margin-bottom:28px;
}

.hero-line{
    width:95px;
    height:2px;
    background: #7fa9b5;
    margin-bottom:40px;
}

.hero-subtitle {
    font-size:1.3rem;
    line-height:1.9;
    color:#111;
    font-weight:500;
    margin-bottom:0;
    max-width: 500px;
}

.hero-btn{
    position: absolute;
    margin-top: var(--space-6);
    padding:16px 34px;
    background:#7fa9b5;
    color:#fff;
    border:none;
    border-radius:6px;
    font-size:1rem;
    font-weight:600;
    letter-spacing:.5px;
}
.hero .btn-ghost { margin-top: var(--space-6); }

/* ─── About Teaser / About Page ──────────────────────────────────────────── */

.home-about{
    background:#FBF2E5;
}

.about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content{
    max-width: 580px;
    padding: 50px;
}

.about-subtitle{
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brown-600);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.about-title{
    font-family: "Notif Serif TC", serif;
    font-size: 2rem;
    line-height: 1.1;
    color: #111;
    margin-bottom: 35px;
}

.about-text{
    font-size: 1rem;
    line-height: 1.7;
    color: #222;
    font-weight: 500;
    margin-bottom: 40px;
}

.about-btn{
    background:#92584A;
    color:#fff;
    padding:10px 20px;
    border-radius:4px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
}

.about-btn:hover{
    background:#7d493d;
    color:#fff;
}

/* ─── Services on Home ────────────────────────────────────────────────────────────── */

.service-card {
    height: 100%;
    padding: var(--space-8) var(--space-6);
    background-color: #f6f1ea;
    border-right: 2px solid #894b42;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-line-2{
    width: 95px;
    height: 2px;
    background-color: #7fa9b5;
    margin: 16px auto 40px auto;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}

.service-text {
    color: black;
    margin: 0;
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

.service-photo-card {
    height: 100%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.btn-services {
    color: white;
    background-color: var(--color-brown-600);
    border-radius: 6px;
}

.service-photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-photo-card .service-photo-body {
    padding: var(--space-6);
}

/* ─── Featured / Projects ─────────────────────────────────────────────────── */

.featured-projects-strip img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.projects-empty-state {
    text-align: center;
    padding: var(--space-16) 0;
    color: var(--color-text-muted);
}

/* ─── CTA Band ────────────────────────────────────────────────────────────── */

.cta-band {
    background-image: url("../images/site/cta.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-12) 0;
    text-align: center;
    color: #fff;
}

.cta-band .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-band h2 {
    color: #fff;
    margin: 0;
    text-align: left;
    font-family: Notif Serif TC;
    width: 30%;
}

.cta-band .btn-ghost-light {
    margin-left: var(--space-8);
}



/* ─── Contact ─────────────────────────────────────────────────────────────── */

.contact-page-header{
    min-height:70vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(
        to right,
        rgba(251,242,229,1) 0%,
        rgba(251,242,229,.95) 22%,
        rgba(251,242,229,.78) 42%,
        rgba(251,242,229,.35) 65%,
        rgba(251,242,229,.08) 100%
    ),
    url("../images/site/Contact_hero.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.contact-page-header .container{
    position:relative;
    z-index:2;
}

.contact-hero-subtitle{
    display:block;
    margin-bottom:22px;
    color:#7A5A43;
    font-size:16px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.contact-hero-title{
    font-family: Notif Serif TC;
    font-size:clamp(3rem,5vw,4.6rem);
    font-weight:400;
    line-height:1.1;
    margin-bottom:30px;
}

.contact-hero-line{
    width:90px;
    height:2px;
    background:#7FA9B5;
    margin-bottom:34px;
}

.contact-hero-text{
    max-width:520px;
    font-size:1.3rem;
    line-height:1.8;
    color: var(--color-text);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding-bottom: 60px;
    border-bottom: 1px solid #6a4a35;
}

.contact-text-size {
    font-size: 1rem;
    color: #6a4a35 ;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #eee7e3;
    color: #6a4a35;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form .form-label { 
    font-weight: 600; 
    text-transform: uppercase;
}

.contact-submit-btn {
    background-color: #7fa9b5;
    border-color: #7fa9b5;
    border-radius: 10px;
    padding: 14px 32px;
    font-weight: 600;
    width: 100%;
}

.contact-submit-btn:hover {
    background-color: #2c3d5f;
    border-color: #2c3d5f;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(126, 190, 197, 0.20);
}

/* Honeypot field - hidden from sighted users, still reachable by bots/screen-reader-agnostic scrapers */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#contact-alert { display: none; }
#contact-alert.show { display: block; }

/* ─── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
    background: #e7d7c3;
    padding: 80px 0 32px;
}

.site-footer .row {
    align-items: stretch;
}

/* Left Column */

.footer-brand {
    padding-right: 48px;
    border-right: 2px solid #7b5b43;
}

.footer-logo {
    width: 140px;
    margin-bottom: 28px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
}

/* Middle Column */

.footer-nav {
    padding: 0 48px;
    border-right: 2px solid #7b5b43;
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li {
    margin-bottom: 18px;
}

.footer-nav li:last-child {
    margin-bottom: 0;
}

.footer-nav a {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: .25s;
}

.footer-nav a:hover {
    color: #7fa9b5;
}

/* Right Column */

.footer-contact {
    padding-left: 48px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.footer-contact-item i {
    width: 42px;
    font-size: 2rem;
    color: #7b5b43;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item div {
    font-size: 1rem;
    line-height: 1.5;
}

.footer-contact hr {
    margin: 30px 0;
    border: 0;
    border-top: 2px solid rgba(123,91,67,.35);
}

/* Social Icons */

.footer-social {
    display: flex;
    gap: 28px;
}

.footer-social a {
    color: #7b5b43;
    font-size: 2rem;
    transition: .25s;
}

.footer-social a:hover {
    color: #7fa9b5;
}

/* Bottom */

.footer-bottom {
    text-align: center;
    margin-top: 60px;
}

.footer-bottom p {
    margin: 0;
}

.footer-powered {
    margin-top: 10px;
    font-size: .95rem;
    color: #6d6d6d;
}

.footer-powered a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.footer-powered a:hover {
    color: #7fa9b5;
}

/* ─── About Page Styles ───────────────────────────────────────────────────────────── */
/* ─── About Hero ───────────────────────────────────────────────────────── */

.about-page-header{
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(251,242,229,.96) 0%,
            rgba(251,242,229,.88) 34%,
            rgba(251,242,229,.25) 62%,
            rgba(251,242,229,.08) 100%
        ),
        url("../images/site/About_hero.png");
    background-size: cover;
    background-position: center;
}

.about-hero-subtitle{
    display:block;
    margin-bottom:18px;
    font-family: var(--font-body);
    font-size:0.95rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7a5a43;
}

.about-hero-title{
    font-family: Notif Terif TC;
    font-size:clamp(3rem,5vw,4.5rem);
    font-weight:400;
    line-height:1.05;
    margin-bottom:30px;
}

.about-hero-line{
    width:90px;
    height:2px;
    background:#7fa9b5;
    margin-bottom:32px;
}

.about-hero-text{
    max-width:470px;
    font-size:1.25rem;
    line-height:1.8;
    color:var(--color-text);
}

/* ─── About Story ───────────────────────────────────────────────────────── */

.our-story{
    background:#fff;
}

.story-image{
    height:100%;
}

.story-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.story-content{
    max-width:700px;
    padding:60px 60px;
}

.story-subtitle{
    font-family:var(--font-body);
    font-size:16px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#7A5A43;
    margin-bottom:24px;
}

.story-title{
    font-family: Notif Terif TC;
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 32px;
    max-width: 700px;
}

.story-text{
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 28px;
}

.story-text:last-child{
    margin-bottom:0;
}

/* ─── About Values ───────────────────────────────────────────────────────── */

.our-values{
    background:#fbf2e5;
    padding:100px 0;
}

.values-header{
    text-align:center;
    margin-bottom:80px;
}

.values-subtitle{
    font-size:16px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7A5A43;
    margin-bottom:18px;
}

.values-line{
    width:90px;
    height:2px;
    background:#7fa9b5;
    margin:0 auto 40px;
}

.values-heading{
    font-family: Notif Terif TC;
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    font-weight:400;
    line-height:1.2;
    margin:0;
}

.values-row{
    margin-bottom:80px;
}

.value-item{
    text-align:center;
    padding:20px 30px 30px;
    height:100%;
}

.value-divider{
    border-left:1px solid #7A5A43;
}

.values-icon{
    width:100px;
    height:100px;
    object-fit:contain;
    margin-bottom:36px;
}

.value-item h3{
    font-size:1rem;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:28px;
}

.value-item p{
    font-size:1rem;
    line-height:1.8;
    max-width:240px;
    margin:0 auto;
    color:var(--color-text);
}

/* ─── Services Page ───────────────────────────────────────────────────────── */
/* ─── Services Hero ───────────────────────────────────────────────────────── */

.services-hero{
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background:
    linear-gradient(
        to right,
        rgba(251,242,229,0) 0%,
        rgba(251,242,229,.25) 25%,
        rgba(251,242,229,.65) 45%,
        rgba(251,242,229,.90) 60%,
        rgba(251,242,229,1) 75%
    ),
    url("../images/site/Services_hero.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

.services-hero .container{
    position: relative;
    z-index: 2;
}

.services-hero .row{
    min-height: 78vh;
}

.services-hero-content{
    max-width: 640px;
    margin-left: auto;
    padding: 2rem 0;
}

.services-hero-subtitle{
    color:#7A5A43;
    font-size:16px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:20px;
}

.services-hero-title{
    font-family: Notif Terif TC;
    font-size:clamp(3rem,5vw,4.5rem);
    font-weight:400;
    line-height:1.05;
    margin-bottom:32px;
}

.services-hero-line{
    width:90px;
    height:2px;
    background:#7fa9b5;
    margin-bottom:32px;
}

.services-hero-text{
    max-width:520px;
    font-size:1.25rem;
    line-height:1.8;
    color: #111;
}

/* ─── Services Main ───────────────────────────────────────────────────────── */

#services-main {
    padding: var(--space-16) 0;
    background: #fff;
}

.services-eyebrow {
    display:block;
    margin-bottom:14px;
    font-size:16px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7A5A43;
}

.services-section-title { 
    font-family: Notif Terif TC;
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    font-weight:400;
    line-height:1.15;
    margin-bottom:3rem;
}

.services-card {
    height:100%;
    background:#fff;
    border:1px solid #8B6954;
    border-radius:10px;
    overflow:hidden;
    transition:.3s ease;
}

.services-card:hover {
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.services-card-image {
    width:100%;
    height:190px;
    display:block;
    object-fit:cover;
    padding:18px 18px 0;
    background:#8B6954;
}

.services-card-body {
    background:#fff;
    text-align:center;
    padding:28px 26px 34px;
}

.services-card-icon {
    width:58px;
    height:58px;
    object-fit:contain;
    margin-bottom:18px;
}

.services-card-title {
    font-family: Notif Terif TC;
    font-size:1.55rem;
    font-weight:400;
    color:#7A5A43;
    margin-bottom:14px;
    text-transform: uppercase;
}

.services-card-text {
    font-family: 'Poppins', sans-serif;
    font-size:1rem;
    line-height:1.7;
    color:#222;
    max-width:270px;
    margin:0 auto;
}

#services-main .row.justify-content-center {
    margin-top:18px;
}

/* ─── Services Main Custom Projects ───────────────────────────────────────────────────────── */

#custom-projects{
    text-align:center;
    background-color: #f6f1ea;
}

.custom-projects-eyebrow{
    font-size:16px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7A5A43;
}

.custom-project-item{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:36px;
    text-align:left;
}

.custom-project-item i{
    font-size:24px;
    color:#9A5C4A;
    flex-shrink:0;
}

.custom-project-item span{
    font-family:var(--font-heading);
    font-size:1rem;
    font-weight:400;
    line-height:1.4;
    color:#6F4C3A;
}

#custom-projects .btn-ghost{
    margin-top:24px;
}

/* ─── Projects Page Header ───────────────────────────────────────────────────────── */
.projects-page-header{
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(251,242,229,.96) 0%,
            rgba(251,242,229,.88) 34%,
            rgba(251,242,229,.25) 62%,
            rgba(251,242,229,.08) 100%
        ),
        url("../images/site/About_hero.png");
    background-size: cover;
    background-position: center;
}

.projects-hero-subtitle{
    display:block;
    margin-bottom:18px;
    font-family: var(--font-body);
    font-size:0.95rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7a5a43;
}

.projects-hero-title{
    font-family: Notif Terif TC;
    font-size:clamp(3rem,5vw,4.5rem);
    font-weight:400;
    line-height:1.05;
    margin-bottom:30px;
}

.projects-hero-line{
    width:90px;
    height:2px;
    background:#7fa9b5;
    margin-bottom:32px;
}

.projects-hero-text{
    max-width:470px;
    font-size:1.25rem;
    line-height:1.8;
    color:var(--color-text);
}

.projects-eyebrow {
    display:block;
    margin-bottom:14px;
    font-size:16px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7A5A43;
}

.projects-section-title { 
    font-family: Notif Terif TC;
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    font-weight:400;
    line-height:1.15;
    margin-bottom:3rem;
}
/* ─── Projects Page Cards ───────────────────────────────────────────────────────── */

.projects {
    position: relative;
    overflow: hidden;
}

.projects-header {
    margin-bottom: 3rem;
}

.projects-header h2 {
    margin-top: .75rem;
    max-width: 520px;
}

.section-label {
    display: inline-block;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color:#7A5A43;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    font: inherit;
    font-size: 1rem;
    color: var(--color-text);
    transition: color .3s ease;
}

.filter-btn:hover {
    color: var(--color-primary);
}

.filter-btn.active {
    color: var(--color-primary);
    font-weight: 600;
}

.filter-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #7A5A43;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: #fff;
    border: 1px solid #d8c7b8;
    border-radius: 10px;
    overflow: hidden;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        opacity .35s ease,
        scale .35s ease;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(.97);
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 35px rgba(0,0,0,.08);
}

.project-image {
    height: 230px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-content h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
}

.project-open {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
    transition:
        transform .3s ease,
        color .3s ease;
}

.project-open:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.projects-footer {
    margin-top: 4rem;
    text-align: center;
}
.projects-grid:empty::before {
    content: "Loading projects...";
    color: #888;
}

.project-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .35s ease,
        visibility .35s ease;
    z-index: 999;
    overflow-y: auto;
    padding: 40px 20px;
}

.project-overlay.active {
    opacity: 1;
    visibility: visible;
}

.project-modal {
    width: min(1100px, 92%);
    background: #faf7f1;
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr .95fr;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px) scale(.98);
    transition: all .35s ease;
}

.project-overlay.active .project-modal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #7d5a40;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: .3s;
}

.project-close:hover {
    transform: rotate(90deg);
}


.project-gallery {
    position: relative;
}

.gallery-main-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
}

.gallery-thumbnails img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: .3s;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
}

.gallery-thumbnails img.active {
    border: 2px solid #7A5A43;
    transform: scale(1.05);
}

.overlay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: #8DB3C4;
    border: 1px solid #8DB3C4;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.overlay-button:hover,
.overlay-button:focus {
    background-color: #7AA4B6;
    border-color: #7AA4B6;
    color: #fff;
    text-decoration: none;
}

.gallery-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #d8c6b2;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    transition: .3s;
}

.gallery-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.gallery-prev {
    left: -20px;
}

.gallery-next {
    right: -20px;
}


.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-category {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: #7d5a40;
    margin-bottom: .8rem;
}

.project-title {
    margin-bottom: 1.5rem;

}

.project-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #111;
}

.project-services {
    margin-bottom: 2rem;
}

.project-services ul {
    margin: 0;
    padding-left: 1.2rem;
}

.project-services li {
    margin-bottom: .5rem;
    color: #111;
}

/* Responsive Mobile*/

@media (max-width: 767.98px) {

/* Navigation */

    body {
        padding-top: 72px;
    }

    .site-navbar {
        padding: 10px 0;
    }

    .site-navbar .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-navbar .navbar-brand img {
        height: 40px;
        width: auto;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .navbar-collapse {
        margin-top: 18px;
        padding: 20px;
        background: #FBF2E5;
        border-radius: 10px;
        box-shadow: 0 12px 24px rgba(0,0,0,.08);
    }

    .navbar-nav {
        gap: 0;
    }

    .site-navbar .nav-link {
        display: block;
        padding: 14px 0 !important;
        text-align: center;
        font-size: 1rem;
        border-bottom: 1px solid rgba(122,90,67,.12);
    }

    .site-navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }

/* Shared Hero Sections */

.hero,
.about-page-header,
.services-hero,
.projects-page-header,
.contact-page-header {
    min-height: auto;
    padding: 60px 0 60px;
    text-align: center;
    background-position: center center;
}

/* Shared Content */

.hero .container,
.about-page-header .container,
.services-hero .container,
.projects-page-header .container,
.contact-page-header .container {
    text-align: center;
}

.services-hero .row {
    min-height: 0;
}

/* Main Home Hero */

.hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto;
}

.hero-line {
    margin: 0 auto 28px;
}

.hero-btn {
    position: static;
    display: inline-block;
    margin-top: 32px;
}

/* Home - About */

.home-about {
    overflow: hidden;
}

.home-about .row {
    flex-direction: column;
}

.about-image {
    height: 320px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 48px 28px;
    text-align: center;
}

.about-subtitle {
    font-size: .85rem;
    letter-spacing: .15em;
}

.about-title {
    font-size: 1.3rem;
    line-height: 1.25;
    margin: 18px 0;

}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.3rem;
}

.about-btn {
    width: 100%;
    justify-content: center;
}

/* About Hero */

.about-hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
}

.about-hero-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto;
}

.about-hero-line {
    margin: 0 auto 28px;
}

/* Services Hero */

.services-hero-content {
    margin: 0 auto;
    text-align: center;
}

.services-hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
}

.services-hero-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto;
}

.services-hero-line {
    margin: 0 auto 28px;
}

/* Projects Hero */

.projects-hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
}

.projects-hero-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto;
}

.projects-hero-line {
    margin: 0 auto 28px;
}

/* Contact Hero */

.contact-hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
}

.contact-hero-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto;
}

.contact-hero-line {
    margin: 0 auto 28px;
}

/* About Page */

/* Our Story */

.our-story {
    padding: 20px 0;
}

.story-image {
    height: 320px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    max-width: 100%;
    padding: 45px 28px;
    text-align: center;
}

.story-subtitle {
    font-size: .85rem;
    letter-spacing: .15em;
    margin-bottom: 18px;
}

.story-title {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 28px;
}

.story-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

/* Our Values */
.our-values {
    padding: 70px 0;
}

.values-header {
    margin-bottom: 50px;
    text-align: center;
}

.values-subtitle {
    font-size: .85rem;
    letter-spacing: .15em;
}

.values-heading {
    font-size: 1.3rem;
    line-height: 1.25;
}

.values-line {
    margin: 18px auto 28px;
}

.values-row {
    margin-bottom: 40px;
    row-gap: 35px;
}

.value-item {
    padding: 0;
    text-align: center;
}

.value-divider {
    border-left: none;
}

.values-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 24px;
}

.value-item h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.value-item p {
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.7;
}

.our-values .btn-ghost {
    width: 100%;
    text-align: center;
}

/* Services Page */
/* Main Services */

#services-main {
    padding: 70px 0;
}

.services-eyebrow {
    display: block;
    text-align: center;
    font-size: .85rem;
    letter-spacing: .15em;
}

.services-section-title {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.25;
    margin: 18px auto 45px;
}

.services-card {
    max-width: 420px;
    margin: 0 auto;
}

.services-card-image {
    height: 240px;
}

.services-card-body {
    padding: 30px 24px;
    text-align: center;
}

.services-card-icon {
    width: 65px;
    margin-bottom: 20px;
}

.services-card-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.services-card-text {
    line-height: 1.7;
}

/* Custom Projects */

#custom-projects {
    padding: 70px 0;
}

.custom-projects-eyebrow {
    text-align: center;
    font-size: .85rem;
    letter-spacing: .15em;
}

.custom-project-item {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.custom-project-item i {
    margin-right: 14px;
}

#custom-projects .row {
    row-gap: 0;
}

#custom-projects .btn-ghost {
    width: 100%;
    margin-top: 40px !important;
}

/* Projects Page */

.projects {
    padding: 70px 0;
}

.projects-header {
    text-align: center;
    margin-bottom: 40px;
}

.projects-header h2 {
    max-width: 100%;
    font-size: 1.3rem;
    line-height: 1.2;
}

.section-label {
    display: block;
    text-align: center;
}

/* Filters for projects */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 18px;
    margin-bottom: 35px;
}

.filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Project CArds */

.projects-grid {
    grid-template-columns: 1fr;
    gap: 28px;
}

.project-card {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.project-image {
    height: 250px;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1rem;
}

/* Project Overlay */
.project-overlay {
    padding: 20px;
    align-items: flex-start;
    overflow-y: auto;
}

.project-modal {
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.project-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(122, 90, 67, .95);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 100;
}

/* Project Gallery */

.project-gallery {
    position: relative;
    width: 100%;
}

.gallery-main-image {
    display: block;
    height: 260px;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.gallery-arrow {
    width: 42px;
    height: 42px;
    position: absolute;
    top: 130px;
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.gallery-thumbnails {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-thumbnails img {
    width: 70px;
    height: 60px;
}

/* Project Info */

.project-info {
    text-align: center;
}

.project-category {
    display: block;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.project-description {
    margin-bottom: 28px;
}

.project-services {
    text-align: left;
}

.project-services h3 {
    text-align: center;
    margin-bottom: 18px;
}

.project-services-list {
    padding-left: 0;
    list-style: none;

}

.project-services-list li {
    margin-bottom: 12px;
}

.overlay-button {
    width: 100%;
    margin-top: 20px;
}

/* Projects Footer */

.projects-footer {
    margin-top: 45px;
}

.projects-footer .btn {
    width: 100%;
}

/* Contact Page */

/* Contact Section */

#contact {
    padding: 70px 0;
}

#contact .row {
    row-gap: 20px;
}

#contact .section-title {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Contact Form */

.contact-form {
    padding: 20px 24px !important;
    border-radius: 12px;
}

.contact-form .row {
    row-gap: 0;
}

.contact-form .form-label {
    font-size: .85rem;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    height: 52px;
    font-size: 1rem;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Contact Info */

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.2rem;
}

.contact-text-size {
    display: block;
    margin-bottom: 6px;
}

.contact-info-item span {
    line-height: 1.7;
}

/* Contact Submit */

.contact-submit-btn {
    width: 100%;
    padding: 10px 10px 10px 10px;
    font-size: 1rem;
}

}

/* Footer */

.site-footer {
    padding: 60px 0 28px;
    text-align: center;
}

.site-footer .row {
    row-gap: 40px;
}

.footer-brand {
    padding: 0;
    border: none;
}

.footer-logo {
    width: 120px;
    margin: 0 auto 20px;
    display: block;
}

.footer-tagline {
    max-width: 260px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Navigation Footer */

.footer-nav {
    padding: 0;
    border: none;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    display: inline-block;
    font-size: .95rem;
}

/* Contact Footer*/

.footer-contact {
    padding: 0;
}

.footer-contact-item {
    align-items: center;
    text-align: left;
    gap: 14px;
    margin-bottom: 22px;
    padding-right: 10px;
}

.footer-contact-item i {
    width: 32px;
    font-size: 1.25rem;
    margin-top: 0;
}

.footer-contact hr {
    margin: 26px auto;
    width: 70%;
}

/* Social in footer */

.footer-social {
    justify-content: center;
    gap: 24px;
}

.footer-social a {
    font-size: 1.6rem;
}

/* Bottom Footer*/

.footer-bottom {
    margin-top: 45px;
}

.footer-bottom p {
    font-size: .9rem;
    line-height: 1.6;
}

.footer-powered {
    margin-top: 8px;
}




