/* ATTIC A.P.S. - Clean & Minimal Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #111827;
}

p {
    color: #6b7280;
}

/* Navigation */
.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #0B458E;
}

.mobile-nav-link {
    display: block;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    margin: 0 0.5rem;
}

.mobile-nav-link:hover {
    color: #0B458E;
    background-color: #f9fafb;
}

/* Buttons */
.btn-primary {
    background-color: #0B458E;
    color: white;
    border: 1px solid #0B458E;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #224273;
    border-color: #224273;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 69, 142, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background-color: #6b7280;
    transition: all 0.2s ease;
    border-radius: 1px;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Cards and Containers */
.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Backgrounds */
.bg-gray-50 {
    background-color: #f9fafb;
}

/* Borders */
.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

/* Text Colors */
.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-attic-primary {
    color: #0B458E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-3xl {
        font-size: 1.875rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
    
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .gap-16 {
        gap: 2rem;
    }
    
    .gap-12 {
        gap: 2rem;
    }
    
    .space-y-16 > * + * {
        margin-top: 3rem;
    }
}

@media (max-width: 640px) {
    .text-5xl {
        font-size: 2rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
    }
    
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .py-20 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Focus States for Accessibility */
button:focus,
a:focus {
    outline: 2px solid #0B458E;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .text-attic-primary {
        color: #000 !important;
    }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .border-gray-100 {
        border-color: #6b7280;
    }
    
    .text-gray-600 {
        color: #374151;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Custom Utilities */
.tracking-wide {
    letter-spacing: 0.025em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Backdrop Blur */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selection Color */
::selection {
    background-color: #0B458E;
    color: white;
}

/* Font Loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* Performance Optimizations */
img {
    content-visibility: auto;
}

.lazy-load {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
} 