/* Global Font Settings */
* {
    font-family: "游明朝", "Yu Mincho", "YuMincho", serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1a2b52;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f1a35;
}

/* Professional Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDelay {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

.animate-slide-up {
    animation: slideUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay {
    animation: fadeInDelay 2s ease-in-out;
}

.animate-fade-in-delay-2 {
    animation: fadeInDelay 2.5s ease-in-out;
}

.animate-fade-in-delay-3 {
    animation: fadeInDelay 3s ease-in-out;
}

/* Professional Table Styles */
table {
    font-size: 0.9rem;
}

table th {
    font-weight: bold;
    letter-spacing: 0.05em;
}

table td {
    line-height: 1.8;
}

/* Professional Card Styles */
.card-professional {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

/* Clean Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #1a2b52, transparent);
    margin: 3rem 0;
}

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.05em;
    line-height: 1.6;
}

p {
    line-height: 1.8;
}

/* Professional Link Styles */
a {
    transition: all 0.2s ease;
}

/* Clean Button Styles */
button, .btn {
    transition: all 0.2s ease;
    letter-spacing: 0.1em;
}

button:hover, .btn:hover {
    opacity: 0.9;
}

/* Professional Image Container */
.image-container {
    overflow: hidden;
    position: relative;
}

.image-container img {
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Clean Border Styles */
.border-professional {
    border: 2px solid #1a2b52;
}

.border-gold-professional {
    border: 2px solid #c9a961;
}

/* Professional Background Patterns */
.bg-pattern-navy {
    background-color: #1a2b52;
    background-image: 
        linear-gradient(30deg, #0f1a35 12%, transparent 12.5%, transparent 87%, #0f1a35 87.5%, #0f1a35),
        linear-gradient(150deg, #0f1a35 12%, transparent 12.5%, transparent 87%, #0f1a35 87.5%, #0f1a35),
        linear-gradient(30deg, #0f1a35 12%, transparent 12.5%, transparent 87%, #0f1a35 87.5%, #0f1a35),
        linear-gradient(150deg, #0f1a35 12%, transparent 12.5%, transparent 87%, #0f1a35 87.5%, #0f1a35);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.05;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Text Shadow for Readability */
.text-shadow-subtle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    table {
        font-size: 0.8rem;
    }
}

/* Professional Spacing */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* Clean List Styles */
ul {
    list-style: none;
    padding-left: 0;
}

/* Professional Quote Styles */
blockquote {
    border-left: 4px solid #c9a961;
    padding-left: 1.5rem;
    font-style: italic;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

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

/* Focus Styles for Accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #c9a961;
    outline-offset: 2px;
}

/* Professional Gradient */
.gradient-navy {
    background: linear-gradient(135deg, #1a2b52 0%, #0f1a35 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #c9a961 0%, #a88b4d 100%);
}

/* Clean Shadow */
.shadow-professional {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-professional-lg {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Professional Overlay */
.overlay-navy {
    position: relative;
}

.overlay-navy::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 43, 82, 0.8);
    pointer-events: none;
}

/* Clean Transition */
.transition-professional {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Professional Border Radius */
.rounded-professional {
    border-radius: 0;
}

/* Clean Hover Effects */
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Professional Text Decoration */
.underline-professional {
    text-decoration: none;
    border-bottom: 2px solid currentColor;
}

.underline-professional:hover {
    border-bottom-color: #c9a961;
}
