/*
Theme Name: Terra N Forge
Theme URI: https://terranforge.in/
Author: Terra N Forge
Description: Premium corporate classic WordPress theme for Terra N Forge Consultancy Services.
Version: 1.0.1
Text Domain: terra-n-forge
*/

:root {
    --navy: #06182b;
    --navy-2: #0b2944;
    --gold: #d7ad4d;
    --gold-light: #f4d889;
    --cream: #f5ead0;
    --white: #ffffff;
    --muted: #b9c6d2;
    --border: rgba(215,173,77,.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(4,18,32,.97);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo img {
    display: block;
    width: 175px;
    height: auto;
}

.main-navigation {
    margin-left: auto;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    display: block;
    padding: 30px 0;
    color: #e9eef2;
    font-size: 14px;
    transition: color .25s ease;
}

.main-navigation a:hover {
    color: var(--gold-light);
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    background: linear-gradient(135deg,#e8c35f,#b88929);
    color: #111;
    border-radius: 7px;
    font-weight: 700;
    white-space: nowrap;
}

/* HERO */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg,rgba(3,17,31,.96),rgba(3,17,31,.70)),
        url("assets/images/hero.jpg") center/cover no-repeat;
}

.hero-content {
    max-width: 720px;
    padding: 100px 0;
}

.eyebrow {
    color: var(--gold-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.hero h1 {
    margin: 15px 0 20px;
    color: #f8efd9;
    font: 700 clamp(45px,7vw,78px)/1.03 Georgia, serif;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero p {
    max-width: 650px;
    color: #d8e1e8;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.gold-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border-radius: 7px;
    font-weight: 700;
}

.gold-button {
    background: linear-gradient(135deg,#e8c35f,#b88929);
    color: #111;
}

.outline-button {
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

/* SECTIONS */

.section {
    padding: 90px 0;
}

.section-dark {
    background: var(--navy-2);
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading span {
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 10px 0;
    color: #f7edd6;
    font: 700 clamp(32px,5vw,50px)/1.1 Georgia, serif;
}

.section-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-image img {
    display: block;
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.about-content h2 {
    color: #f7edd6;
    font: 700 45px/1.1 Georgia, serif;
}

.about-content p {
    color: var(--muted);
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.service-card {
    overflow: hidden;
    background: #061b2e;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.service-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    margin: 0 0 10px;
    color: #f5dfaa;
    font: 700 23px Georgia, serif;
}

.service-content p {
    margin: 0;
    color: var(--muted);
}

/* WHY US */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.why-card {
    padding: 26px;
    text-align: center;
    background: #081e33;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.why-card h3 {
    color: #f5dfaa;
    font: 700 19px Georgia, serif;
}

.why-card p {
    color: var(--muted);
    font-size: 14px;
}

/* TESTIMONIALS */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.testimonial {
    padding: 28px;
    background: #061b2e;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.stars {
    color: var(--gold-light);
    letter-spacing: 3px;
}

.testimonial p {
    color: #dce4eb;
    font: 18px/1.6 Georgia, serif;
}

.testimonial strong {
    color: var(--gold-light);
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
}

.contact-box,
.contact-form {
    padding: 32px;
    background: #081f35;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.contact-box h2 {
    color: #f7edd6;
    font: 700 42px/1.1 Georgia, serif;
}

.contact-detail {
    margin: 18px 0;
    color: var(--muted);
}

.contact-detail strong {
    color: var(--gold-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-light);
    font-size: 13px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px;
    background: #05192b;
    color: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    outline: none;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

/* FOOTER */

.site-footer {
    padding: 35px 0;
    background: #041525;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-logo {
    width: 160px;
}

.footer-copy {
    color: #9eafbd;
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 900px) {

    .header-inner {
        min-height: 72px;
    }

    .site-logo img {
        width: 150px;
    }

    .main-navigation {
        display: none;
    }

    .header-whatsapp {
        margin-left: auto;
        padding: 9px 13px;
        font-size: 13px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .header-whatsapp {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 75px 0;
    }

    .services-grid,
    .why-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: auto;
    }

    .section {
        padding: 70px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
