:root {
    --navy: #0a1628;
    --navy-foreground: #f8fafc;
    --navy-light: #1a2d47;
    --gold: #c9a227;
    --gold-light: #e8c04a;
    --accent: #c9a227;
    --background: #fafafa;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --primary: #c9a227;
    --primary-foreground: #0a1628;
    --secondary: #f1f5f9;
    --secondary-foreground: #0f172a;
    --destructive: #ef4444;
    --radius: 0.75rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.1;
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 162, 39, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.logo-sub {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    background: var(--navy);
    color: var(--navy-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(10, 22, 40, 0.3);
    transition: opacity 0.2s ease;
}

.btn-nav:hover {
    opacity: 0.9;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

/* Hero Sections */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

/* Hero Slideshow - Pure CSS */
.slideshow {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: slideShow 15s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    28% {
        opacity: 1;
    }
    33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--navy) 0%,
        rgba(10, 22, 40, 0.8) 50%,
        rgba(10, 22, 40, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    background: rgba(201, 162, 39, 0.1);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: white;
    margin-top: 1.5rem;
}

.hero p {
    max-width: 540px;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Stats */
.stats-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item .stat-value {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--navy);
}

.stat-item .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

/* Companies Grid */
.companies-section {
    padding: 6rem 0;
}

.section-header {
    max-width: 600px;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--navy);
}

.companies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.company-card {
    position: relative;
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.company-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-card-header img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.company-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
}

.company-card h3 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-top: 1.5rem;
}

.company-card p {
    color: var(--muted-foreground);
    margin-top: 0.75rem;
}

.company-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 1.5rem;
}

.company-card-link svg {
    transition: transform 0.2s ease;
}

.company-card:hover .company-card-link svg {
    transform: translateX(4px);
}

/* Vision Section */
.vision-section {
    background: var(--navy);
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.vision-section svg {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.vision-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.vision-section .quote-source {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2rem;
}

/* Page Content */
.page-content {
    padding: 120px 0 6rem;
}

.page-header {
    padding: 160px 0 80px;
    background: var(--navy);
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: clamp(2rem, 6vw, 4rem);
}

.page-header p {
    max-width: 640px;
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--muted);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--navy);
}

.card p {
    color: var(--muted-foreground);
    margin-top: 0.75rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-card a {
    display: block;
    color: var(--gold);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* About Values */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    padding: 2rem;
    text-align: center;
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--navy);
}

.value-card p {
    color: var(--muted-foreground);
    margin-top: 0.75rem;
}

/* Footer */
.site-footer {
    background: var(--navy);
    padding: 4rem 0 2rem;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Admin Styles */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.login-box h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-error {
    color: var(--destructive);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.admin-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-nav button {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-nav button.active,
.admin-nav button:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.section-editor {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.section-editor h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.array-editor {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.array-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--muted);
    border-radius: 0.5rem;
}

.array-item input,
.array-item textarea {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
}

.array-item button {
    padding: 0.5rem 1rem;
    background: var(--destructive);
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

.btn-add {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.btn-save {
    padding: 0.875rem 2rem;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
}

.json-editor textarea {
    width: 100%;
    min-height: 400px;
    font-family: "Monaco", "Menlo", monospace;
    font-size: 0.875rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    resize: vertical;
}

.success-message {
    padding: 1rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.file-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.file-actions button {
    padding: 0.5rem 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    cursor: pointer;
}

/* Simple utility */
.hidden {
    display: none;
}
.mt-4 {
    margin-top: 1rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
