/* Font Face Declarations */
@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Regular_Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Light_Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Medium_Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-SemiBold_Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Bold_Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-ExtraBold_Italic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'BlauerNue';
    src: url('./fonts/BlauerNue-Heavy_Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* Dark Mode Theme & Standardized Spacing */
:root {
    --accent-color: #EB9958;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #404040;
    
    /* Standardized spacing system */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */
    --spacing-xxl: 4rem;    /* 64px */
    --spacing-xxxl: 6rem;   /* 96px */
    
    /* Container max-widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
}

body {
    font-family: 'BlauerNue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Navigation Bar */
.navbar {
    background-color: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm) 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    margin: 0 var(--spacing-xs);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(235, 153, 88, 0.25);
}

/* Override Bootstrap's default colors */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000000;
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #d68a47;
    border-color: #d68a47;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(235, 153, 88, 0.3);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.875rem;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d68a47;
    text-decoration: none;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-xl);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.service-description {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Layout Sections */
.hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: var(--spacing-xxxl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.services-section {
    padding: var(--spacing-xxxl) 0;
    background-color: var(--bg-primary);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: var(--spacing-xl);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.cta-section {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xxxl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.footer {
    background-color: var(--bg-primary);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Container System */
.container {
    max-width: var(--container-xl);
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

@media (min-width: 576px) {
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

/* Responsive Design System */
@media (max-width: 1199.98px) {
    .hero-section {
        padding: var(--spacing-xxl) 0;
        min-height: 60vh;
    }
    
    .services-section {
        padding: var(--spacing-xxl) 0;
    }
    
    .cta-section {
        padding: var(--spacing-xxl) 0;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: var(--spacing-xl) 0;
        min-height: 50vh;
    }
    
    .services-section {
        padding: var(--spacing-xl) 0;
    }
    
    .cta-section {
        padding: var(--spacing-xl) 0;
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    .navbar-nav {
        margin-top: var(--spacing-sm);
    }
    
    .navbar-nav .nav-item {
        margin-bottom: var(--spacing-xs);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: var(--spacing-lg) 0;
        text-align: center;
    }
    
    .services-section {
        padding: var(--spacing-lg) 0;
    }
    
    .cta-section {
        padding: var(--spacing-lg) 0;
    }
    
    .service-card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
      .navbar-logo {
        height: 32px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --spacing-xxxl: 3rem;
        --spacing-xxl: 2.5rem;
        --spacing-xl: 2rem;
    }
    
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .service-card {
        padding: var(--spacing-sm);
    }
    
    .btn-lg {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
}

/* Performance & Accessibility Enhancements */
[data-aos] {
    transition-duration: 0.8s !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    [data-aos] {
        transition: none !important;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d68a47;
}

/* Selection styling */
::selection {
    background: var(--accent-color);
    color: #ffffff;
}

::-moz-selection {
    background: var(--accent-color);
    color: #ffffff;
}
