/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #1a2b4a;
    --navy-light: #2a3f6a;
    --gold: #c5a253;
    --gold-light: #e0c478;
    --cream: #f8f6f1;
    --white: #ffffff;
    --gray: #6b7280;
    --light-gray: #e5e7eb;
    --dark: #111827;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--cream);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

/* ===== Header ===== */
.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}
.logo-img { width: 40px; height: 40px; border-radius: 6px; }
.main-nav { display: flex; align-items: center; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}
.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a.btn-nav {
    background: var(--gold);
    padding: 8px 18px;
    border-radius: var(--radius);
    color: var(--navy);
    font-weight: 600;
}
.nav-links a.btn-nav:hover { background: var(--gold-light); color: var(--navy); }
.lang-switch {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}
.hero h1 { font-size: 2.4rem; margin-bottom: 14px; }
.hero-sub { font-size: 1.15rem; opacity: 0.9; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); }

/* ===== Sections ===== */
section { padding: 60px 0; }
section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 40px;
}

/* ===== Service Cards ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== Why Us ===== */
.why-us { background: var(--white); }
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature h3 { color: var(--navy); margin-bottom: 8px; }
.feature p { color: var(--gray); }

/* ===== CTA Band ===== */
.cta-band {
    background: var(--navy);
    color: var(--white);
    text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin-bottom: 24px; opacity: 0.9; }
.cta-band .btn-primary { background: var(--gold); }

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 { color: var(--white); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: var(--light-gray); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.page-hero p { opacity: 0.9; }

/* ===== Pricing Table ===== */
.pricing-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--light-gray);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row .service-name { font-weight: 600; color: var(--navy); }
.pricing-row .service-price { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.pricing-row .service-desc { font-size: 0.85rem; color: var(--gray); display: block; margin-top: 4px; }
.pricing-note {
    text-align: center;
    margin-top: 24px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== Forms Page ===== */
.forms-list {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.forms-list h3 { color: var(--navy); margin-bottom: 12px; }
.forms-list ul { list-style: none; }
.forms-list ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}
.forms-list ul li:last-child { border-bottom: none; }
.forms-list ul li a { font-weight: 500; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 24px 18px; color: var(--gray); }

/* ===== Instructions ===== */
.steps {
    max-width: 800px;
    margin: 0 auto;
    counter-reset: step;
}
.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}
.step-content h3 { color: var(--navy); margin-bottom: 6px; }
.step-content p { color: var(--gray); }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-info h3 { color: var(--navy); margin-bottom: 10px; }
.contact-info p { margin-bottom: 12px; color: var(--gray); }
.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 18px;
    font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--gold);
}
.contact-form button {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover { background: var(--navy-light); }

/* ===== Upload Pages ===== */
.upload-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.upload-container h2 { text-align: left; margin-bottom: 20px; }
.upload-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}
.upload-choice-card {
    background: var(--cream);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.upload-choice-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}
.upload-choice-card h3 { color: var(--navy); margin-bottom: 8px; }
.upload-choice-card p { color: var(--gray); font-size: 0.9rem; }
.upload-form { margin-top: 20px; }
.upload-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.upload-form input[type="text"], .upload-form input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 18px;
    font-family: inherit;
}
.upload-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed var(--light-gray);
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}
.upload-form button {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.upload-form button:hover { background: var(--gold-light); }
.upload-form .form-note { font-size: 0.85rem; color: var(--gray); margin-top: 12px; }
.upload-form .error-msg { color: #c53030; font-size: 0.9rem; margin-top: 8px; display: none; }
.upload-form .success-msg { color: #2f855a; font-size: 0.9rem; margin-top: 8px; display: none; }

/* ===== Success Page ===== */
.success-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 40px;
}
.success-icon {
    width: 70px;
    height: 70px;
    background: #2f855a;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}
.success-container h2 { color: var(--navy); margin-bottom: 12px; }
.success-container p { color: var(--gray); margin-bottom: 24px; }

/* ===== Delete Files Page ===== */
.delete-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.delete-container h2 { text-align: left; margin-bottom: 20px; }
.delete-warning {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 14px;
    color: #c53030;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ===== Not Found ===== */
.not-found {
    text-align: center;
    padding: 80px 20px;
}
.not-found h1 { font-size: 3rem; color: var(--navy); }
.not-found p { color: var(--gray); margin: 12px 0 24px; }

/* ===== Admin ===== */
.admin-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 68px;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        width: 250px;
        height: calc(100vh - 68px);
        transform: translateX(100%);
        transition: transform 0.3s;
        gap: 16px;
    }
    .nav-links.open { transform: translateX(0); }
    .hero h1 { font-size: 1.8rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .upload-choice-grid { grid-template-columns: 1fr; }
    .pricing-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}