/* Apple Minimalist Design System - K.B CREATEURS */

/* CSS Custom Properties - K.B CRÉATEURS Golden Brand Palette */
:root {
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9f9f9;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-600: #525252;
    --gray-900: #171717;

    /* K.B CRÉATEURS Simplified Golden Brand Colors */
    --accent: #f2b52a;           /* Primary golden accent */
    --gold-primary: #f2b52a;     /* Main brand golden color */
    --gold-light: #f2b52a;       /* Same as primary - simplified */
    --gold-cream: #fff8dc;       /* Light cream background */
    --gold-dark: #000000;        /* Just use black - no new colors */
    --gold-amber: #f2b52a;       /* Same as primary - simplified */
    --gold-pale: #fffef7;        /* Very subtle cream background */
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Touch & Mobile Optimizations */
* {
    /* Remove tap highlights on all interactive elements */
    -webkit-tap-highlight-color: transparent;

    /* Prevent 300ms delay on touch devices */
    touch-action: manipulation;
}

/* iOS Safari Optimizations */
body {
    /* Prevent rubber band scrolling */
    overscroll-behavior-y: none;

    /* Fix scroll momentum on iOS */
    -webkit-overflow-scrolling: touch;
}

/* Form elements - prevent iOS zoom */
input, textarea, select {
    font-size: 16px; /* Prevents zoom on focus iOS Safari */
}

/* Interactive elements - better touch targets */
button, a, .clickable {
    min-height: 44px; /* Apple HIG minimum */
    min-width: 44px;
}

/* Base Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Navigation Styles */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--black);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

.nav-cta {
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    transform: scale(1.02);
}

/* Main Content Area */
.main-content {
    padding-top: 60px;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-menu {
        gap: 20px;
    }

    .container {
        padding: 0 16px;
    }

    /* Add bottom padding for mobile bottom navigation */
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 430px) {
    /* iPhone 14 Pro Max and similar */
    .nav-container {
        padding: 0 12px;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 390px) {
    /* iPhone 12-15 standard */
    .nav-menu {
        gap: 16px;
    }
}

@media (max-width: 360px) {
    /* Android phones */
    .nav-container {
        height: 56px; /* Material Design */
    }
}

/* iOS Safari specific */
@supports (-webkit-touch-callout: none) {
    /* iOS-only styles */
    .nav {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}