/* ==========================================================================
   FRANCABEL ENTERPRISE - STYLESHEET
   Design Theme: Obsidian Navy, Metallic Gold, Sleek Glassmorphism
   ========================================================================== */

:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --border-card: rgba(217, 119, 6, 0.25);
    --border-card-hover: rgba(245, 158, 11, 0.55);
    
    --gold-primary: #f59e0b;
    --gold-secondary: #d97706;
    --gold-dark: #b45309;
    --gold-glow: rgba(245, 158, 11, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-blue: #38bdf8;
    --accent-amber: #fbbf24;
    --accent-copper: #f97316;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.gold-gradient {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #0b0f19;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.7);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.btn-card {
    width: 100%;
    margin-top: 1rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold-primary);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-card:hover {
    background: var(--gold-primary);
    color: #0b0f19;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-full {
    width: 100%;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--gold-primary);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    margin-top: 2px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

.btn-nav {
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    color: var(--gold-primary);
}

.btn-nav:hover {
    background: var(--gold-primary);
    color: #0b0f19;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(217, 119, 6, 0.12) 0%, transparent 60%);
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 1.2rem auto;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.sam-bar {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.8rem 1.8rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
}

.sam-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.sam-label {
    color: var(--text-muted);
}

.sam-val {
    font-weight: 600;
    color: var(--text-primary);
}

.status-active {
    color: #22c55e;
}

.sam-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Services Section */
.services-section {
    padding: 90px 0;
}

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

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.6rem 1.4rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gold-primary);
    color: #0b0f19;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-card-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
}

.card-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.gold {
    background: var(--gold-primary);
    color: #0b0f19;
}

.card-badge.amber {
    background: var(--accent-amber);
    color: #0b0f19;
}

.card-badge.blue {
    background: var(--accent-blue);
    color: #0b0f19;
}

.card-badge.copper {
    background: var(--accent-copper);
    color: #ffffff;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.card-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-quote {
    font-style: italic;
    font-size: 0.825rem;
    color: var(--gold-primary);
    background: rgba(245, 158, 11, 0.08);
    padding: 0.6rem 0.8rem;
    border-left: 2px solid var(--gold-primary);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* Trust Section */
.trust-section {
    padding: 70px 0;
}

.trust-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2.5rem;
    backdrop-filter: blur(16px);
}

.trust-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.trust-content h2 {
    font-size: 2.2rem;
    margin: 0.5rem 0 1rem 0;
}

.trust-content > p {
    color: var(--text-secondary);
    max-width: 800px;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.trust-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.trust-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Contact & Social Section */
.contact-section {
    padding: 90px 0;
}

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

.contact-info h2 {
    font-size: 2.2rem;
    margin: 0.5rem 0 1rem 0;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.info-icon {
    font-size: 1.5rem;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.info-value:hover {
    color: var(--gold-primary);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Social Hub */
.social-hub {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    backdrop-filter: blur(12px);
}

.social-hub h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.social-hub > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
}

.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.social-card:hover {
    transform: translateX(6px);
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--gold-primary);
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.social-card.fb:hover .social-icon { background: #1877f2; color: #fff; }
.social-card.ig:hover .social-icon { background: #e4405f; color: #fff; }
.social-card.li:hover .social-icon { background: #0a66c2; color: #fff; }
.social-card.tt:hover .social-icon { background: #000000; color: #00f2fe; }
.social-card.x:hover .social-icon { background: #14171a; color: #fff; }

.social-meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.social-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.social-handle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.social-arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.social-card:hover .social-arrow {
    transform: translate(2px, -2px);
    color: var(--gold-primary);
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 15, 25, 0.95);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    gap: 1.5rem;
}

.footer-right a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: var(--gold-primary);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #0f172a;
    border: 1px solid var(--border-card-hover);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 520px;
    padding: 2.2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header h3 {
    font-size: 1.6rem;
    margin: 0.3rem 0 0.4rem 0;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--gold-primary);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold-primary);
    color: #0b0f19;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .sam-bar { flex-direction: column; gap: 0.5rem; }
    .sam-divider { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0b0f19;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero { padding: 140px 0 70px 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
}
