/* 
   JKICI Core Stylesheet
   Imports Google Fonts & Design Variables
   Defines Layouts, Components, Responsive Utilities & Micro-interactions
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* --- Blueprint Grid Background Utility --- */
.blueprint-grid {
    position: relative;
}
.blueprint-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(245, 158, 11, var(--blueprint-opacity)) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, var(--blueprint-opacity)) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.blueprint-grid-dark {
    position: relative;
}
.blueprint-grid-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-accent); }

/* --- Headers & Typography Utility --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.section-header .sub-title {
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    position: relative;
    padding-bottom: 1.25rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: var(--border-radius-full);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary-darker);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background-color: var(--color-primary-light);
    color: var(--color-text-light);
    border: 1px solid var(--color-primary-lighter);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-navy);
}

.btn-white {
    background-color: var(--color-bg-white);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: var(--color-primary-darker);
    box-shadow: var(--shadow-lg);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

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

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

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

.nav-link {
    color: var(--color-text-light);
    opacity: 0.85;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lang-toggle {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Mobile Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-light);
    transition: var(--transition-fast);
}

/* --- Mobile Menu Drawer --- */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-primary-dark);
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: var(--transition-normal);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav .nav-link {
    font-size: 1.15rem;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-primary-darker);
    color: var(--color-text-light);
    padding: 5rem 0 2rem 0;
    border-top: 2px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.25fr 1.75fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col-about p {
    color: var(--color-text-muted);
    margin: 1.25rem 0 1.5rem 0;
    font-size: 0.925rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-darker);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.925rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 0.925rem;
}

.footer-contact li i {
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.newsletter-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

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

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-bottom-links a:hover {
    color: var(--color-accent);
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
    position: relative;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background-color: var(--color-accent);
    color: var(--color-primary-darker);
    border-radius: var(--border-radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

.whatsapp-popover {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    max-width: 240px;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.whatsapp-popover.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-popover-header {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.whatsapp-popover-text {
    font-size: 0.775rem;
    color: var(--color-text-muted);
}

/* --- Shared Page Banner (For Inner Pages) --- */
.page-banner {
    padding: 10rem 0 6rem 0;
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    background-image: linear-gradient(rgba(10, 15, 29, 0.85), rgba(10, 15, 29, 0.95));
    position: relative;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3.5rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

/* --- Common UI Components --- */
.card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-accent);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Toast Messages */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: var(--transition-normal);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left-color: var(--color-success);
}

.toast-error {
    border-left-color: var(--color-error);
}

/* Keyframes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .nav-menu, .nav-actions .btn {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .page-banner h1 {
        font-size: 2.5rem;
    }
}
