/* Luxtex GmbH - Premium Custom Styles */

/* ===================================
   Base Styles & Resets
   =================================== */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection styling */
::selection {
    background-color: rgba(212, 183, 125, 0.3);
    color: #1e2d22;
}

/* ===================================
   Custom Scrollbar
   =================================== */

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #324c38;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e2d22;
}

/* ===================================
   Focus & Accessibility
   =================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 1px solid #324c38;
    outline-offset: 2px;
}

/* ===================================
   Typography Enhancements
   =================================== */

.font-display {
    font-feature-settings: "salt" on, "ss01" on, "liga" on;
}

/* Elegant letter spacing for headings */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

/* ===================================
   Navigation Styles
   =================================== */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background: #d4b77d;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* ===================================
   Button Styles
   =================================== */

button, a {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===================================
   Hero Section
   =================================== */

#hero {
    position: relative;
}

/* ===================================
   Form Styles
   =================================== */

input, textarea, select {
    transition: all 0.4s ease;
}

input:focus, textarea:focus, select:focus {
    box-shadow: none;
}

/* Elegant form inputs with bottom border */
input[type="text"],
input[type="email"],
textarea {
    background: transparent;
    border-radius: 0;
}

/* ===================================
   Process Section Numbers
   =================================== */

.text-8xl {
    font-feature-settings: "tnum" on;
}

/* ===================================
   Certification Badges
   =================================== */

.cert-badge {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cert-badge:hover {
    transform: translateY(-4px);
}

/* ===================================
   Footer Link Underlines
   =================================== */

footer a {
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: currentColor;
    transition: width 0.4s ease;
}

footer a:hover::after {
    width: 100%;
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    nav,
    footer,
    #contact form,
    .no-print {
        display: none !important;
    }

    section {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    * {
        background: white !important;
        color: black !important;
    }
}

/* ===================================
   Reduced Motion
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===================================
   Mobile Optimizations
   =================================== */

@media (max-width: 640px) {
    h1 {
        font-size: 2.75rem !important;
        line-height: 1.1 !important;
    }

    h2 {
        font-size: 2.25rem !important;
    }

    /* Simplify animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===================================
   High DPI Display Optimization
   =================================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .border {
        border-width: 0.5px;
    }
}

/* ===================================
   Image Placeholders
   =================================== */

.placeholder-image {
    background: linear-gradient(135deg, #324c38 0%, #1e2d22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   Elegant Dividers
   =================================== */

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4b77d, transparent);
}

/* ===================================
   Counter Animation Styles
   =================================== */

.counter {
    font-variant-numeric: tabular-nums;
}

/* ===================================
   Legal Page Content Styles
   =================================== */

.legal-content,
.legal-content * {
    color: white !important;
}

.legal-content h1 {
    color: #d4b77d !important;
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
    color: white !important;
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.5rem;
}

.legal-content h3 {
    font-size: 1.25rem;
}

.legal-content p {
    color: white !important;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
    color: white !important;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: white !important;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #d4b77d !important;
    text-decoration: none;
}

.legal-content a:hover {
    color: #e0cca0 !important;
}

.legal-content strong,
.legal-content b {
    color: white !important;
    font-weight: 600;
}
