/*
    style.css
    Main Stylesheet for Dyutayukti Technologies
*/

/* --- 1. Root Variables & Global Styles --- */
:root {
    --charcoal-bg: #111318;
    --dark-slate: #1D2026;
    --accent-gold: #D4AF37;
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1A6;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Roboto', sans-serif;
    --transition-speed: 400ms;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--charcoal-bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/* --- 2. Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.main-header.scrolled {
    background-color: rgba(17, 19, 24, 0.85);
    backdrop-filter: blur(10px);
    padding: 20px 60px;
}

.header-logo {
    height: 35px;
    transition: filter var(--transition-speed) ease;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 25px;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width var(--transition-speed) ease-in-out;
}

.nav-link:hover {
    color: var(--accent-gold);
}

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

.contact-button {
    border: 1px solid var(--accent-gold);
    padding: 10px 25px;
    border-radius: 5px;
}
.contact-button:hover {
    background-color: rgba(212, 175, 55, 0.1);
}
.contact-button::after { display: none; }


/* --- 3. Main Section Styles --- */
.content-section {
    padding: 120px 60px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.section-body {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* --- 4. Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
}

.hero-video-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -2;
}
.hero-video-container::after { /* Overlay */
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(17, 19, 24, 0.5) 0%, var(--charcoal-bg) 95%);
}

.hero-video {
    width: 100%; height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
}

.tagline {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
    margin: 0;
}

.sub-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    font-size: 2.5rem;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.7;
}


/* --- 5. Philosophy Section --- */
.philosophy-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 50px;
}

.philosophy-item {
    max-width: 350px;
}
.philosophy-item h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}
.philosophy-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* --- 6. Arena Section --- */
.arena-section {
    background-color: var(--dark-slate);
}

.arena-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.arena-card {
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px;
    border-radius: 5px;
}
.arena-card h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
}
.arena-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* --- 7. Ecosystem Section --- */
.product-showcase {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

.product-card {
    background-color: var(--dark-slate);
    padding: 50px;
    border-radius: 5px;
    max-width: 400px;
    border-top: 4px solid var(--accent-gold);
}

.product-logo {
    height: 50px;
    margin-bottom: 25px;
}
.product-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
}
.product-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}
.product-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
}

/* --- 8. Contact Section --- */
.contact-section {
    background-color: var(--dark-slate);
    padding: 120px 60px; /* Provides vertical spacing */
}

.contact-content {
    max-width: 800px; /* Constrains the width */
    margin: 0 auto; /* ** THIS IS THE KEY ** Centers the block horizontally */
    text-align: center; /* Ensures text inside is centered */
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--charcoal-bg);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 5px;
    margin-top: 40px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

/* --- 9. Footer --- */
.main-footer {
    background-color: #000;
    padding: 60px 60px 40px;
    text-align: center;
}

.footer-logo { height: 40px; margin-bottom: 30px; }

.footer-links { margin-bottom: 30px; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    transition: color var(--transition-speed) ease;
}
.footer-links a:hover { color: var(--accent-gold); }

.social-links { margin-bottom: 30px; }
.social-links a { margin: 0 10px; }
.social-links img { height: 24px; transition: opacity var(--transition-speed) ease; }
.social-links img:hover { opacity: 0.8; }

.copyright { color: var(--text-secondary); font-size: 0.9rem; }


/* --- 10. Responsive Design --- */
@media (max-width: 1024px) {
    .arena-cards { grid-template-columns: 1fr; }
    .product-showcase { flex-direction: column; align-items: center; gap: 40px; }
}

@media (max-width: 768px) {
    .main-header { display: none; } /* Simpler approach for this design: hide on mobile */
    .content-section { padding: 80px 20px; }
    .section-title { font-size: 2.8rem; }
    .tagline { font-size: 3.5rem; }
    .sub-tagline { font-size: 1.2rem; }
    .philosophy-container { flex-direction: column; gap: 40px; align-items: center; }
}