/* âââââââââââââââââââââââââââââââââââââââââââââââ
   ARDENT FORT LAW â Global Styles
âââââââââââââââââââââââââââââââââââââââââââââââ */
@import url('./variables.css');

/* ââ Fonts ââ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ââ Reset ââ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background var(--duration-base) var(--ease-in-out),
                color var(--duration-base) var(--ease-in-out);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--duration-fast); }

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--gold-100);
}

/* ââ Layout ââ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ââ Skip Link ââ */
.skip-link {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 12px 24px;
    background: var(--gold-400);
    color: var(--text-inverse);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.85rem;
    transition: top var(--duration-fast);
}

.skip-link:focus { top: 12px; }

/* ââ Typography ââ */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }

p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.gold-text {
    background: var(--gold-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ââ Section Components ââ */
.section-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold-400);
}

.section-label.centered {
    justify-content: center;
}

.section-label.centered::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold-400);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: var(--space-6);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.8;
    font-weight: 400;
}

/* ââ Dividers ââ */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin: var(--space-12) 0;
}

.divider-line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

/* ââ Buttons ââ */
.btn {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    transition: all var(--duration-base) var(--ease-out-quart);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn i { width: 16px; height: 16px; }

.btn-primary {
    background: var(--gold-400);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--gold-300);
    transform: translateY(-2px);
    box-shadow: var(--gold-glow-strong);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--gold-400);
    color: var(--gold-200);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--gold-400);
    padding: 10px 0;
    letter-spacing: 0.08em;
}

.btn-ghost:hover { color: var(--gold-200); }

.btn-ghost i { transition: transform var(--duration-fast); }
.btn-ghost:hover i { transform: translateX(4px); }

/* ââ Cards ââ */
.card {
    padding: var(--space-10);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-base) var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-slow) var(--ease-out-expo);
}

.card:hover::before { transform: scaleX(1); }

.card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--gold-glow);
}

/* ââ Callout Box ââ */
.callout {
    padding: var(--space-10) var(--space-8);
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    position: relative;
    text-align: center;
}

.callout::before,
.callout::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--gold-400);
    border-style: solid;
}

.callout::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.callout::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.callout p {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* ââ Highlight Block ââ */
.highlight-block {
    padding: var(--space-6);
    background: rgba(212, 175, 55, 0.03);
    border-left: 2px solid var(--gold-400);
}

.highlight-block p {
    font-weight: 500;
    color: var(--gold-200) !important;
    font-style: italic;
}

/* ââ Icon Box ââ */
.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.04);
    flex-shrink: 0;
}

.icon-box i { width: 22px; height: 22px; }
.icon-box.sm { width: 40px; height: 40px; }
.icon-box.sm i { width: 18px; height: 18px; }

/* ââ List Styles ââ */
.clean-list {
    list-style: none;
}

.clean-list li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.clean-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--gold-400);
}

/* ââ Form Elements ââ */
.form-field label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }

.form-field select { cursor: pointer; color: var(--text-muted); }
.form-field select option { background: var(--bg-primary); color: var(--text-primary); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

/* ââ GSAP reveal classes ââ */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-left { opacity: 0; transform: translateX(-30px); }
.reveal-right { opacity: 0; transform: translateX(30px); }
.reveal-scale { opacity: 0; transform: scale(0.95); }

/* ââ Focus a11y ââ */
:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 3px;
}

/* ââ Reduced Motion ââ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ââ Print ââ */
@media print {
    .nav, .mobile-menu, .whatsapp-float, .theme-toggle { display: none !important; }
    body { background: white; color: black; }
}

