/*
 * Steve Jobs / Apple-Inspired Design
 * Minimalist, elegant, focused on content
 * Clean typography, generous white space, subtle interactions
 */

:root {
    --primary-color: #1d1d1f;
    --secondary-color: #86868b;
    --accent-color: #0071e3;
    --light-gray: #f5f5f7;
    --pure-white: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-primary);
    background: var(--pure-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation - Ultra Minimal */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    height: 52px;
}

.navbar .container {
    max-width: 980px;
}

.navbar-brand {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    padding: 0;
    margin: 0;
}

.navbar-brand:hover {
    color: var(--text-primary);
    opacity: 0.8;
}

.navbar-brand img {
    opacity: 0.95;
}

.navbar-nav {
    gap: 0;
}

.nav-link {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-primary);
    padding: 0 12px !important;
    line-height: 52px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    opacity: 0.6;
}

.nav-item .btn-newsletter {
    font-size: 12px;
    font-weight: 400;
    color: var(--pure-white) !important;
    background: var(--accent-color);
    padding: 4px 12px;
    border-radius: 980px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
    margin-top: 14px;
}

.nav-item .btn-newsletter:hover {
    background: #0077ed;
    color: var(--pure-white) !important;
    transform: scale(1.02);
}

.btn-newsletter {
    font-size: 12px;
    font-weight: 400;
    color: var(--pure-white);
    background: var(--accent-color);
    padding: 6px 16px;
    border-radius: 980px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-newsletter:hover {
    background: #0077ed;
    color: var(--pure-white);
    transform: scale(1.02);
}

.btn-primary-custom {
    display: none; /* Remove newsletter button for minimalism */
}

/* Hero Section - Steve Jobs Keynote Style */
.hero-section {
    background: var(--pure-white);
    padding: 70px 20px 60px;
    text-align: center;
    min-height: auto;
    background-image: none;
}

.hero-section img {
    max-height: 80px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hero-section .fs-4 {
    font-size: 28px !important;
    line-height: 1.14286;
    font-weight: 400;
    letter-spacing: 0.004em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-section .fs-5 {
    font-size: 21px !important;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Motto - Elegant & Simple */
.motto-section {
    margin: 50px auto 60px;
}

.motto-section p {
    font-size: 24px !important;
    line-height: 1.33341;
    font-weight: 500;
    letter-spacing: 0.009em;
    color: var(--accent-color);
    font-style: italic;
    max-width: 700px;
}

/* Performance Cards - Minimal & Clean */
.hero-section .row.g-4 {
    max-width: 900px;
    margin: 0 auto 50px;
}

.hero-section .card {
    background: var(--light-gray);
    border: none;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.hero-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.15);
}

/* Card Hover Effects */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Section Transitions */
section {
    transition: opacity 0.6s ease;
}

.hero-section .card-body {
    padding: 30px 20px;
}

.hero-section .display-6 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.hero-section .card-body p {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.016em;
    color: var(--text-secondary);
}

/* Buttons - Apple Style */
.btn {
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    padding: 12px 22px;
    border-radius: 980px;
    transition: all 0.3s ease;
    border: none;
}

.btn-light {
    background: var(--accent-color);
    color: var(--pure-white);
}

.btn-light:hover {
    background: #0077ed;
    color: var(--pure-white);
    transform: scale(1.02);
}

.btn-outline-light {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline-light:hover {
    background: var(--accent-color);
    color: var(--pure-white);
    border-color: var(--accent-color);
}

/* Section Styling */
.section-padding {
    padding: 60px 20px;
}

.bg-light {
    background: var(--light-gray) !important;
}

.container {
    max-width: 980px;
}

/* Typography */
h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

h4 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: 0.009em;
    color: var(--text-primary);
}

.lead {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: var(--text-secondary);
}

p {
    color: var(--text-secondary);
}

/* Cards - Minimal Design */
.card {
    background: var(--pure-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card-body {
    padding: 40px 30px;
}

/* Icon Circles - Refined */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--pure-white);
}

.bg-primary {
    background: var(--accent-color) !important;
}

.bg-success {
    background: #30d158 !important;
}

.bg-info {
    background: #64d2ff !important;
}

.bg-warning {
    background: #ffd60a !important;
}

/* Performance Section */
.bg-primary-custom {
    background: var(--text-primary) !important;
}

.text-primary-custom {
    color: var(--text-primary) !important;
}

.text-warning {
    color: #ffd60a !important;
}

/* Footer - Dark Apple Style */
footer {
    background: #1d1d1f !important;
    color: #f5f5f7 !important;
    padding: 40px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5, footer h6 {
    color: #f5f5f7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
}

footer img {
    opacity: 1;
}

footer a {
    color: #a1a1a6;
    font-size: 12px;
    transition: color 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: #f5f5f7;
}

footer .text-muted, 
footer small {
    color: #a1a1a6 !important;
    font-size: 12px;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin: 30px 0 !important;
}

footer p {
    color: #a1a1a6 !important;
}

footer ul li {
    color: #a1a1a6 !important;
}

/* Ensure all footer text is light on dark background */
footer * {
    color: inherit;
}

footer .mb-0 {
    color: #a1a1a6 !important;
}

footer small {
    color: #a1a1a6 !important;
}

/* Badges - Clean Design */
.badge {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
}

/* Gradient card for newsletter section */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--text-primary) 0%, #2c2c2e 100%);
}

/* Performance numbers */
.performance-number {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 40px;
    }
    
    .hero-section .fs-4 {
        font-size: 24px !important;
    }
    
    .hero-section .fs-5 {
        font-size: 19px !important;
    }
    
    h2 {
        font-size: 36px;
    }
    
    .section-padding {
        padding: 40px 20px;
    }
}

/* Smooth Animations */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Remove unnecessary visual clutter */
.font-display {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

/* Clean focus states */
a:focus, button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Minimal scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Mobile Optimizations for Contact Cards */
@media (max-width: 767px) {
    /* Contact Cards on Mobile */
    .card .card-body {
        padding: 30px 20px !important;
    }
    
    /* Icon containers on mobile */
    .card-body > div[style*="width: 60px"] {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 16px !important;
    }
    
    .card-body > div[style*="width: 60px"] i {
        font-size: 20px !important;
    }
    
    /* Text sizing on mobile */
    .card h5 {
        font-size: 17px !important;
        margin-bottom: 12px !important;
    }
    
    .card p {
        font-size: 14px !important;
    }
    
    /* Email text should wrap better on mobile */
    .card-body p[style*="word-break"] {
        font-size: 13px !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    /* Tablet view - Email and Location side by side */
    .col-md-6 .card {
        margin-bottom: 0;
    }
    
    /* Third card full width on tablet */
    .col-md-12 .card {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}
