/* Shared CSS - Nakup Srebra */
/* Version 1.0 - Import this on all pages */

:root {
    --bg: #fdfcfa;
    --bg-warm: #f8f6f1;
    --bg-card: #ffffff;
    --navy: #1a365d;
    --navy-light: #2c5282;
    --text: #2d3748;
    --text-muted: #718096;
    --gold: #b7791f;
    --gold-light: #d69e2e;
    --gold-bg: #faf5eb;
    --green: #276749;
    --green-light: #48bb78;
    --green-bg: #f0fff4;
    --red: #c53030;
    --red-bg: #fff5f5;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -15px rgba(26, 54, 93, 0.15);
    --serif: 'Libre Baskerville', Georgia, serif;
    --sans: 'Source Sans 3', -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 17px;
    padding-top: 61px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION - iOS Glass Effect
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    font-size: 17px; /* Reset to base size */
    line-height: 1.5;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
}

.logo {
    font-family: var(--serif);
    font-size: 17.85px; /* 1.05 * 17px - fixed size */
    color: var(--navy);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.7;
}

.logo:active {
    opacity: 0.5;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15.3px; /* 0.9 * 17px - fixed size */
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--navy);
}

.nav-cta {
    background: var(--navy);
    color: white !important;
    padding: 10px 20px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.45px; /* 0.85 * 17px - fixed size */
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.25);
}

.nav-cta:hover {
    background: var(--navy-light);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

/* ========================================
   EMAIL CAPTURE SECTION
   ======================================== */
.email-capture {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #f5f3ed 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.email-capture-icon {
    font-size: 2.5em;
    margin-bottom: 16px;
}

.email-capture h3 {
    font-family: var(--serif);
    font-size: 1.4em;
    color: var(--navy);
    margin-bottom: 8px;
}

.email-capture p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1em;
}

.email-form {
    display: flex;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto;
}

.email-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1em;
    font-family: var(--sans);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(183, 121, 31, 0.1);
}

.email-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.email-form button {
    background: var(--gold);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    font-family: var(--sans);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.email-form button:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.email-trust {
    margin-top: 16px;
    font-size: 0.85em;
    color: var(--text-muted);
}

.email-trust span {
    margin: 0 8px;
}

.email-section {
    padding: 80px 0;
    background: var(--bg);
}

.email-section .container {
    max-width: 800px;
}

.email-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
    color: var(--text-muted);
    font-size: 0.9em;
}

.email-divider::before,
.email-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

@media (max-width: 500px) {
    .email-form {
        flex-direction: column;
    }
    
    .email-capture {
        padding: 32px 24px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 40px 0;
    background: var(--navy);
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

footer p + p {
    margin-top: 8px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

.btn-secondary {
    background: white;
    color: var(--navy);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--navy);
    background: var(--bg-warm);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 0.85em;
    }
    
    .nav-cta {
        padding: 8px 16px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .nav-cta {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .logo {
        font-size: 15px;
    }
}
