:root {
    --bg-color: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f0f0f0;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --accent-gold: #bfa16b;
    --accent-gold-dark: #9e8354;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
img { width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; color: #000; }
.section-title { font-size: 3rem; text-align: center; margin-bottom: 2rem; color: #000; }
.subtitle { 
    color: var(--accent-gold); 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-size: 0.85rem; 
    display: block; 
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}
.text-center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; font-weight: 300; }

.btn {
    display: inline-block;
    padding: 18px 45px;
    border: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    margin-top: 2rem;
    cursor: pointer;
    background: transparent;
}
.btn:hover {
    background-color: #000;
    color: #fff;
}

.btn-hero {
    border-color: #fff;
    color: #fff;
}
.btn-hero:hover {
    background-color: #fff;
    color: #000;
}

.btn-gold {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
}
.btn-gold:hover {
    background-color: var(--accent-gold-dark);
    border-color: var(--accent-gold-dark);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 1s ease;
}
.loader-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 5px;
    color: #000;
    animation: pulse 2s infinite;
}
.loader-line {
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    margin-top: 20px;
    transition: width 2s ease;
}

header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 30px 50px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
    color: #fff;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    color: #000;
}
.brand { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 2px;filter:invert(1); }


header.scrolled .brand {
    filter: invert(0);
}

.nav-menu { display: flex; gap: 40px; }
.nav-menu a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; position: relative; }
.nav-menu a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--accent-gold); transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

.hero {
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.2); }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.hero-title { font-size: 5vw; margin-bottom: 1rem; opacity: 0; transform: translateY(30px); animation: fadeInUp 1s forwards 0.5s; text-shadow: 0 2px 10px rgba(0,0,0,0.3); color:white }
.hero-sub { font-size: 1.2rem; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 2rem; opacity: 0; animation: fadeInUp 1s forwards 0.8s; }

.story-section { padding: 150px 0; background: var(--bg-color); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img { height: 600px; overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.story-img img { height: 100%; object-fit: cover; transition: transform 1.5s ease; }
.story-img:hover img { transform: scale(1.1); }
.story-text h2 { font-size: 3rem; margin-bottom: 2rem; line-height: 1.2; color: #000; }
.story-text p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem; }

.fleet-section { padding: 100px 0; background: var(--bg-secondary); }
.fleet-item { display: flex; min-height: 80vh; background: #fff; margin-bottom: 0; box-shadow: none; }

.fleet-item:nth-child(even) { flex-direction: row-reverse; background: #fff; }

.fleet-item + .fleet-item { border-top: 1px solid #eee; }

.fleet-info { flex: 1; padding: 80px; display: flex; flex-direction: column; justify-content: center; }
.fleet-image { flex: 1; background-size: cover; background-position: center; position: relative; overflow: hidden; }

.fleet-name { font-size: 4rem; color: rgba(0,0,0,0.05); font-weight: 700; position: absolute; top: 20px; left: 40px; font-family: var(--font-sans); }
.fleet-info h3 { font-size: 2.5rem; margin-bottom: 1rem; color: #000; }
.fleet-info .lead { margin:0; font-size:1rem; color: #666; }
.fleet-info .specs { display: flex; gap: 30px; margin: 30px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 20px 0; }
.spec-box span { display: block; font-size: 0.8rem; color: var(--accent-gold); text-transform: uppercase; }
.spec-box strong { font-size: 1.5rem; color: #000; font-family: var(--font-serif); }

.spotlight { 
    padding: 150px 0; 
    background: linear-gradient(to right, #f2f2f2 40%, #e6e6e6 100%); 
    position: relative; 
    overflow: hidden;
    color: #000;
}
.spotlight-bg {
    position: absolute; right: -10%; top: 10%; width: 60%; height: 80%;
    background: url('https://images.unsplash.com/photo-1621235649280-67e85062cb6b?q=80&w=2071&auto=format&fit=crop') no-repeat center;
    background-size: cover; opacity: 0.15; z-index: 1;
    mask-image: linear-gradient(to left, rgba(0,0,0,1), transparent);
}
.spotlight-container { position: relative; z-index: 2; width: 85%; margin: 0 auto; display: flex; justify-content: space-between; }
.spotlight-content { max-width: 500px; }
.big-stat { font-size: 6rem; color: var(--accent-gold); font-family: var(--font-serif); line-height: 1; }
.stat-label { font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 40px; display: block; color: #555; }

.tech-table { width: 100%; margin-top: 40px; border-collapse: collapse; }
.tech-table td { padding: 15px 0; border-bottom: 1px solid #ccc; color: #555; }
.tech-table td:last-child { text-align: right; color: #000; font-weight: 600; }

.atelier { padding: 100px 5%; text-align: center; background: #fff; }

.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tech-content h3 { font-size: 2rem; margin-bottom: 20px; }
.tech-content p { color: var(--text-muted); margin-bottom: 20px; }

.services { padding: 120px 0; background: var(--bg-secondary); }
.service-row { display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 60px; text-align: center; }
.service-item { flex: 0 0 300px; padding: 20px; transition: transform 0.3s; background: #fff; box-shadow: var(--shadow-soft); margin: 10px; border-radius: 4px; }
.service-item:hover { transform: translateY(-10px); }
.icon-box { font-size: 2rem; color: var(--accent-gold); margin-bottom: 20px; }
.service-item h4 { font-size: 1.2rem; margin-bottom: 15px; color: #000; letter-spacing: 1px; }
.service-item p { font-size: 0.9rem; color: #666; }

.journal { padding: 150px 0; background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; }
.news-card { background: #fff; border: 1px solid #f0f0f0; transition: 0.3s; box-shadow: var(--shadow-soft); }
.news-card:hover { border-color: var(--accent-gold); transform: translateY(-5px); }
.news-img { height: 250px; overflow: hidden; }
.news-img img { height: 100%; object-fit: cover; }
.news-content { padding: 30px; }
.date { color: var(--accent-gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.news-title { font-size: 1.3rem; margin: 10px 0; color: #000; font-family: var(--font-serif); }
.read-more { font-size: 0.8rem; text-decoration: underline; color: #000; cursor: pointer; }

.newsletter-sec { padding: 100px 0; background: url('https://images.unsplash.com/photo-1517466184561-9f9392e213b3?q=80&w=1974&auto=format&fit=crop') fixed center/cover; position: relative; text-align: center; }
.newsletter-sec::before { content:''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(255,255,255,0.85); }
.nl-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.input-group { display: flex; margin-top: 30px; border-bottom: 1px solid #000; }
.input-group input { width: 100%; background: transparent; border: none; padding: 15px; color: #000; font-family: var(--font-sans); outline: none; }
.input-group button { background: transparent; border: none; color: var(--accent-gold); text-transform: uppercase; font-weight: 600; cursor: pointer; }

footer { background: #f4f4f4; padding: 80px 0 30px; font-size: 0.9rem; color: #666; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand h2 { color: #000; font-family: var(--font-serif); margin-bottom: 20px; letter-spacing: 2px; }
.footer-links h4 { color: #000; margin-bottom: 20px; font-size: 0.9rem; font-weight: 600; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent-gold); }
.copyright { text-align: center; border-top: 1px solid #ddd; padding-top: 30px; font-size: 0.75rem; }

@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.fade-in-section { opacity: 0; transform: translateY(50px); transition: opacity 1s ease-out, transform 1s ease-out; will-change: opacity, visibility; }
.fade-in-section.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
    .story-grid, .tech-grid, .products-grid, .awards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
