:root {
    --primary-color: #d4af37; /* Gold */
    --text-light: #ffffff;
    --text-dark: #111111;
    --transition-speed: 0.8s;
}

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

body, html {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    height: 100%;
    scroll-behavior: smooth;
    overflow: hidden; /* Hide main body scrollbar, we scroll the container */
    background-color: #000;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a.quote-btn {
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    color: var(--primary-color);
}

.nav-links li a.quote-btn:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    text-shadow: none;
}

/* Slider */
.slider-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.slide {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8rem 4rem 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Slide Backgrounds */
#hero { background-image: url('background.png'); }
#art { background-image: url('process_bg.png'); }
#engineering { background-image: url('specs_bg.png'); }
#process { background-image: url('https://picsum.photos/seed/darktech1/1920/1080?blur=2'); }
#features { background-image: url('features_bg.png'); }
#specification { background-image: url('https://picsum.photos/seed/darktech2/1920/1080?blur=2'); }
#product { background-image: url('product_bg.png'); }
#visuals { background-image: url('https://picsum.photos/seed/darktech3/1920/1080?blur=2'); }
#cad { background-image: url('https://picsum.photos/seed/darktech4/1920/1080?blur=2'); }
#team { background-image: url('https://picsum.photos/seed/darktech5/1920/1080?blur=2'); }
#background { background-image: url('https://picsum.photos/seed/darktech6/1920/1080?blur=2'); }
#contact { background-image: url('https://picsum.photos/seed/darktech7/1920/1080?blur=2'); }

/* Dark overlay for all slides to ensure text readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* Text Content Container */
.text-content {
    position: relative;
    z-index: 2; /* Above the dark overlay */
    max-width: 900px;
    width: 100%;
    text-align: center;
    
    /* Animation base state */
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.text-content.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Typography with heavy text shadow for readability */
h1, h2, h3, p, li, strong {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.7);
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
}

h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.art-section {
    max-width: 1200px;
}

.art-section h2 {
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

.art-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: left;
}

.art-text {
    flex: 1;
}

.art-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.foreground-img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 2px solid var(--primary-color);
    margin-top: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    text-align: left;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.feature p {
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-detail {
    margin-bottom: 1.2rem;
}

.feature-detail h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.feature-detail p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.specs-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.specs-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.2rem;
    font-weight: 600;
}

.specs-list li::before {
    content: "❀";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    text-shadow: none;
}

.specs-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Buttons */
.nav-btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    text-shadow: none;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.engineering-stats {
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.engineering-stats h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.engineering-stats ul {
    list-style: none;
    padding: 0;
}

.engineering-stats li {
    margin-bottom: 0.4rem;
    color: #e0e0e0;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: none;
}

.engineering-stats li strong {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: none;
}

.full-page-specs {
    max-width: 1200px;
    width: 100%;
}

.full-page-specs h2 {
    font-size: 4rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.8);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 4rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1rem;
    font-size: 1.2rem;
}

.spec-label {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
}

.spec-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    text-shadow: none;
}

.project-info {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-desc h3, .project-functions h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
}

.project-desc p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.project-functions ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.project-functions li {
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #e0e0e0;
    line-height: 1.4;
    text-shadow: none;
}

.project-functions li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    text-shadow: none;
}

.visuals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.visual-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.visual-link:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.visual-link .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.visual-link h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    text-align: center;
    text-shadow: none;
}

.visual-link:hover h3 {
    color: var(--primary-color);
}

.cad-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.cad-main {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cad-media-main {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 10px;
}

.cad-side {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(0,0,0,0.3);
}

.cad-item {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s;
}

.cad-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.cad-media {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    margin-bottom: 0.8rem;
}

.cad-title {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    text-shadow: none;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.team-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.team-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
    text-shadow: none;
    text-align: center;
}

.team-role {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-top: 0.8rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: none;
    margin-bottom: 0;
}

.background-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.background-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.emoji-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.intro-p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2.5rem;
    align-items: flex-start;
    text-align: left;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-text h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0 0 0.3rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
}

.contact-text p {
    margin: 0;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.contact-form-wrapper {
    flex: 1.2;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.6);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.site-footer {
    background: #0a0a0a;
    color: var(--text-light);
    padding: 4rem 2rem 1.5rem;
    scroll-snap-align: end;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-family: 'Cinzel', serif;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.5;
}

.footer-links h3, .footer-contact h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.footer-contact strong {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none; 
    }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .slide {
        padding: 6rem 2rem 2rem; 
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .content-grid { grid-template-columns: 1fr; }
    .art-content {
        flex-direction: column;
        text-align: center;
    }
}
