/* ===========================================
   ROOT COLORS
=========================================== */
:root {
    --main: #C69A36;          /* Gold */
    --main-light: #d4ad55;   /* Smooth Gold */
    --main-dark: #8b6a1f;    /* Deep Gold */
    --soft-bg: #faf8f2;      /* Light cream background */
    
    --soft2: #e8e2d6;
    --text: #0f172a;
    --muted: #6b7280;
    --white: #ffffff;

    --card-bg: #ffffff;
    --card-border: #dcd2ba;
}




/* ===========================================
   GENERAL
=========================================== */
body {
    font-family: "Tajawal", sans-serif !important;
    background: var(--soft-bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

/* ===========================================
   NAVBAR
=========================================== */
.navbar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--soft2);
}

.navbar .nav-link {
    font-weight: 700;
    color: var(--text) !important;
    transition: 0.2s ease;
}

.navbar .nav-link:hover {
    color: var(--main-light) !important;
}

.lang-switch a {
    text-decoration: none;
    font-weight: 700;
    color: var(--text);
}
.lang-switch a:hover {
    color: var(--main);
}

/* Brand Desktop */
.brand-line1 {
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
}
.brand-line2 {
    font-weight: 500;
    color: var(--muted);
    line-height: 1.1;
}

/* Mobile brand */
.mobile-brand-title {
    font-weight: 800;
    color: var(--text);
}
.mobile-brand-sub {
    color: var(--muted);
}

/* ===========================================
   HERO SECTION
=========================================== */
.hero {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.48);
}

.hero .container {
    position: relative;
    color: #fff;
    z-index: 5;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 900;
}
.hero p {
    font-size: 1.15rem;
    opacity: .94;
    max-width: 760px;
}

.btn-main {
    background: var(--main);
    border: none;
    padding: 12px 30px;
    font-weight: 800;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(10,61,98,.28);
}
.btn-main:hover {
    background: var(--main-dark);
}

/* ===========================================
   SECTIONS
=========================================== */
.section {
    padding: 70px 0;
}

.section h2 {
    font-weight: 900;
    color: var(--main);
}

/* ===========================================
   CARDS (HOME & SERVICES)
=========================================== */
.cardx {
    background: var(--card-bg);
    border-radius: 14px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,.06);
    height: 100%;
    transition: .25s ease;
}

.cardx:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,.10);
}

.cardx img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cardx .p {
    padding: 18px;
}

.cardx h5 {
    font-weight: 800;
}

/* ===========================================
   FEATURE BOXES
=========================================== */
.feature-box {
    background: var(--white);
    border: 1px solid var(--soft2);
    border-radius: 14px;
    padding: 20px;
    height: 100%;
    transition: .25s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* ===========================================
   ABOUT PAGE IMAGE
=========================================== */
.about-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 14px;
}

/* ===========================================
   CONTACT FORM
=========================================== */
input.form-control,
textarea.form-control {
    border-radius: 10px;
    border: 1px solid var(--soft2);
    padding: 12px 15px;
}

input:focus,
textarea:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 2px rgba(10,61,98,.20);
}

button[type="submit"] {
    background: var(--main);
    border: none;
    padding: 12px;
    font-weight: 800;
    border-radius: 10px;
}
button[type="submit"]:hover {
    background: var(--main-dark);
}

/* ===========================================
   FOOTER
=========================================== */
footer {
    background: var(--main-dark);
    color: #fff;
    padding: 20px 0;
}

/* ===========================================
   RESPONSIVE TWEAKS
=========================================== */

@media (max-width: 380px) {
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    .mobile-brand-title { font-size: .78rem !important; }
    .mobile-brand-sub   { font-size: .7rem !important; }
}

@media (min-width: 381px) and (max-width: 480px) {
    .hero h1 { font-size: 2.1rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
}

@media (min-width: 1025px) {
    .brand-line1 { font-size: 1.15rem !important; }
    .brand-line2 { font-size: .92rem !important; }
}

.hero a,
.section a,
.cardx a,
p a {
    text-decoration: none !important;
    font-weight: 700;
}

p a:hover {
    color: var(--main-light) !important;
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}


