/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */
html, body, div, span, h1, h2, p, ul, li, a, img {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

html ::selection {
    background: #FFD700;
    color: #000000;
}
html ::-moz-selection {
    background: #FFD700;
    color: #000000;
}

* {
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    color: #ffffff;
    background: #000000;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* Ensure body is hidden during intro animation */
body.intro-active {
    overflow: hidden;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.5), 0 0 6px rgba(255, 255, 255, 0.4);
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 255, 255, 0.8);
    }
    100% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.5), 0 0 6px rgba(255, 255, 255, 0.4);
    }
}

@keyframes luxuryAppear {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Components
   ========================================================================== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    animation: fadeOut 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 1.2s forwards;
    height: 100vh;
    min-height: -webkit-fill-available;
    min-height: -moz-available;
    min-height: fill-available;
}

.intro-logo {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10vw;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    text-rendering: optimizeLegibility;
    max-width: 80vw;
    max-height: 80vh;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    will-change: transform;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.logo-main {
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    animation: pulseGlow 6000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: text-shadow;
}

.logo-sub {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: -7px;
}

/* ==========================================================================
   Navigation Links — Only text highlights in gold (no background)
   ========================================================================== */
.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
}

.nav a {
    text-decoration: none;
    color: #ffffff; /* default white text */
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease; /* smooth color change */
    background: none; /* remove any background */
}

.nav a:hover,
.nav a:focus {
    color: #FFD700; /* gold text on hover/focus */
    background: none; /* ensure no gold box appears */
    text-decoration: underline;
    text-underline-offset: 2px;
    outline: none;
}
/* ==========================================================================
   End Navigation Links
   ========================================================================== */

.hero {
    height: 100vh;
    background: url('images/img01.jpeg') center/cover no-repeat;
    background-image: image-set(
        url('images/img01.webp') type('image/webp'),
        url('images/img01.jpeg') type('image/jpeg')
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 3.5rem 5rem;
    border-radius: 12px;
    min-width: 300px;
    max-width: 1000px;
    flex-shrink: 0;
    line-height: 1.8;
}

.hero-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffffff;
    opacity: 0;
    transform: scale(0.9);
    animation: luxuryAppear 1000ms cubic-bezier(0.4, 0, 0.2, 1) 2000ms forwards;
}

.hero-subtitle {
    margin-bottom: 1rem;
}

.hero-subtitle-part1 {
    font-size: 34px;
    display: block;
    opacity: 0;
    transform: scale(0.9);
    animation: luxuryAppear 1000ms cubic-bezier(0.4, 0, 0.2, 1) 2300ms forwards;
}

.hero-subtitle-part2 {
    font-size: 34px;
    display: block;
    opacity: 0;
    transform: scale(0.9);
    animation: luxuryAppear 1000ms cubic-bezier(0.4, 0, 0.2, 1) 2600ms forwards;
}

.about {
    padding: 1.5rem 2rem;
    text-align: center;
    background: #000000;
    color: #ffffff;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 20px;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    background: #000000;
}

.feature-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 1rem;
}

/* ==========================================================================
   Footer — Refined, High-Contrast Carbon Fiber
   ========================================================================== */
.footer {
    background-color: #0A0A0A; /* deep charcoal base */
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Carbon fiber texture: smaller squares, higher contrast for luxury feel */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.08) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.08) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.08) 75%);
    background-size: 8px 8px; /* small squares, refined */
    background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
    opacity: 0.55; /* stronger contrast to make weave stand out more */
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero {
        background-position: center;
    }
    .hero-content {
        padding: 2rem 3rem;
        min-width: 280px;
        max-width: 90vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 20px;
        margin-bottom: 0.5rem;
        white-space: nowrap;
    }
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 0.5rem;
    }
    .hero-subtitle-part1 {
        font-size: 18px;
        display: inline;
    }
    .hero-subtitle-part2 {
        font-size: 18px;
        display: inline;
        animation-delay: 2300ms;
    }
    .logo-main {
        font-size: 30px;
    }
    .logo-sub {
        font-size: 11px;
        margin-top: -5px;
    }
    .nav ul {
        gap: 1.5rem;
        padding-right: 1rem;
    }
    .nav a {
        font-size: 14px;
    }
    .about {
        padding: 1rem 1.5rem 0.25rem;
    }
    .about p {
        font-size: 16px;
        max-width: 90vw;
        line-height: 1.7;
    }
    .footer {
        padding: 1rem;
    }
    .feature-image img {
        max-height: 200px;
        margin-top: 0.5rem;
    }
    .header {
        padding: 0.75rem 1rem;
    }
    .intro-logo {
        font-size: 17.5vw;
        max-width: 80vw;
        max-height: 80vh;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .logo-main {
        font-size: 25px;
    }
    .logo-sub {
        font-size: 10px;
        margin-top: -4px;
    }
    .nav {
        display: flex;
        flex-direction: row; /* keep side by side on mobile */
        align-items: center;
        gap: 1rem; /* space between links */
    }
    .nav ul {
        display: flex;
        flex-direction: row; /* horizontal layout */
        gap: 1rem;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .nav a {
        font-size: 14px;
        padding: 0.5rem 0;
        color: #ffffff;
        text-decoration: none;
    }
    .nav a:hover,
    .nav a:focus {
        color: #FFD700;
        background: none;
        text-decoration: underline;
        text-underline-offset: 2px;
        outline: none;
    }
    .hero {
        height: 80vh;
    }
    .hero-content {
        padding: 1.5rem 2rem;
        min-width: 240px;
        max-width: 95vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 18px;
        margin-bottom: 0.5rem;
        white-space: nowrap;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }
    .hero-subtitle-part1 {
        font-size: 16px;
        display: inline;
    }
    .hero-subtitle-part2 {
        font-size: 16px;
        display: inline;
        animation-delay: 2300ms;
    }
    .about {
        padding: 1rem 1rem 0.25rem;
    }
    .about p {
        font-size: 14px;
        max-width: 95vw;
        line-height: 1.6;
    }
    .footer {
        padding: 0.75rem;
    }
    .feature-image img {
        max-height: 150px;
        margin-top: 0.25rem;
    }
    .intro-logo {
        font-size: 12.5vw;
        max-width: 80vw;
        max-height: 80vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-overlay {
        animation: none;
        opacity: 1;
    }
    .logo-main {
        animation: none;
    }
}
