/* =============================================
   QUIET OATH - Dark Theme Stylesheet
   Colors: #1B2838 slate | #C87941 copper
           #8E9CB2 steel | #0D1520 dark bg
   No rgba text values.
   ============================================= */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0D1520;
    color: #8E9CB2;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #C87941;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e08e56;
}

ul {
    list-style: none;
}

/* ---------- CONTAINER ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #C87941;
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: #8E9CB2;
    margin-bottom: 1rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C87941;
    margin-bottom: 0.75rem;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: 2px solid #C87941;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #C87941;
    color: #0D1520;
}

.btn-primary:hover {
    background-color: #e08e56;
    border-color: #e08e56;
    color: #0D1520;
}

.btn-outline {
    background-color: transparent;
    color: #C87941;
}

.btn-outline:hover {
    background-color: #C87941;
    color: #0D1520;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0D1520;
    border-bottom: 1px solid #1B2838;
    transition: background-color 0.3s ease;
}

.site-header.scrolled {
    background-color: #0D1520;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: #C87941;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-brand:hover {
    color: #e08e56;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #8E9CB2;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #C87941;
    border-bottom-color: #C87941;
}

/* ---------- HAMBURGER ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: #C87941;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 3px 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0D1520;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, #1B2838 0%, transparent 70%),
        radial-gradient(ellipse at 70% 50%, #1B2838 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
}

.hero-content .section-label {
    font-size: 0.8rem;
}

.hero-content h1 {
    font-size: 3.75rem;
    margin-bottom: 1.25rem;
    color: #C87941;
}

.hero-content p {
    font-size: 1.15rem;
    color: #8E9CB2;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 5rem 0;
    background-color: #0D1520;
}

.section-alt {
    background-color: #0f1825;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    color: #C87941;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #8E9CB2;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---------- ABOUT / CARDS ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #1B2838;
    border: 1px solid #1f3044;
    border-radius: 8px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    border-color: #C87941;
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2rem;
    color: #C87941;
    margin-bottom: 1rem;
}

.card h3 {
    color: #C87941;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: #8E9CB2;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- FEATURES ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: #1B2838;
    border-radius: 8px;
    border: 1px solid #1f3044;
    transition: border-color 0.3s ease;
}

.feature-item:hover {
    border-color: #C87941;
}

.feature-marker {
    flex-shrink: 0;
    width: 3px;
    background-color: #C87941;
    border-radius: 2px;
}

.feature-text h4 {
    color: #C87941;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.feature-text p {
    color: #8E9CB2;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- TESTIMONIAL / QUOTE ---------- */
.testimonial {
    background-color: #1B2838;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    border: 1px solid #1f3044;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #8E9CB2;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial cite {
    font-style: normal;
    color: #C87941;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial cite span {
    display: block;
    color: #8E9CB2;
    font-weight: 400;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ---------- CTA ---------- */
.cta-section {
    background-color: #1B2838;
    border-top: 1px solid #1f3044;
    border-bottom: 1px solid #1f3044;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: #C87941;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: #8E9CB2;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background-color: #0D1520;
    border-top: 1px solid #1B2838;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand h4 {
    color: #C87941;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: #8E9CB2;
    font-size: 0.85rem;
    max-width: 300px;
}

.footer-col h5 {
    color: #C87941;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: #8E9CB2;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #C87941;
}

.footer-bottom {
    border-top: 1px solid #1B2838;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #6a7a8e;
}

/* ---------- RESPONSIVE ---------- */

/* Tablet & below */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.85rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* ---------- HAMBURGER VISIBLE ---------- */
    .hamburger {
        display: flex;
    }

    /* ---------- NAV OVERLAY ---------- */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #0D1520;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.35rem;
        color: #8E9CB2;
        border-bottom: none;
        padding: 0.5rem 1rem;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #C87941;
        border-bottom: none;
    }

    /* ---------- HERO ---------- */
    .hero {
        min-height: 80vh;
        padding: 5rem 0 3rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    /* ---------- SECTIONS ---------- */
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* ---------- CARDS ---------- */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .card {
        padding: 1.5rem;
    }

    /* ---------- FEATURES ---------- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-item {
        padding: 1.25rem;
    }

    /* ---------- TESTIMONIAL ---------- */
    .testimonial {
        padding: 2rem 1.5rem;
    }

    .testimonial blockquote {
        font-size: 1.05rem;
    }

    /* ---------- CTA ---------- */
    .cta-section {
        padding: 3rem 0;
    }

    /* ---------- FOOTER ---------- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.85rem;
    }
    h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .card {
        padding: 1.25rem;
    }
}

/* ---------- UTILITY ---------- */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}
.mt-2 {
    margin-top: 2rem;
}
.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}
.mb-2 {
    margin-bottom: 2rem;
}
.mb-3 {
    margin-bottom: 3rem;
}

.hidden {
    display: none !important;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0D1520;
}

::-webkit-scrollbar-thumb {
    background: #1B2838;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a3f55;
}

/* ---------- SELECTION ---------- */
::selection {
    background-color: #C87941;
    color: #0D1520;
}