/* ============================================
   YASH PROJECTS - Global Stylesheet
   Theme: Dark Navy & Gold (Inspired by Untitled-1)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Roboto:wght@300;400;500&display=swap');

:root {
    --primary-color: #0b1a2e;       /* Very dark navy */
    --secondary-color: #0e2a47;     /* Slightly lighter navy for cards/sections */
    --accent-color: #ffc107;        /* Gold / Yellow */
    --accent-hover: #e6ac00;
    --text-light: #c8d6e5;          /* Light text on dark bg */
    --text-muted: #8a9bb0;
    --white-color: #ffffff;
    --card-bg: #0e2235;
    --border-color: rgba(255, 193, 7, 0.2);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--white-color);
    line-height: 1.3;
}

p { color: var(--text-light); }

strong { color: var(--white-color); }

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

a { text-decoration: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Highlight ---- */
.highlight { color: var(--accent-color); }


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--secondary-color);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-area img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-color);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.logo-area:hover .logo-text { color: var(--white-color); }

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

.nav-links a {
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.25s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}


/* ============================================
   HERO SECTION (Slideshow)
   ============================================ */
.hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: blink-fade 16s infinite ease-in-out;
}

@keyframes blink-fade {
    0%, 20%  { opacity: 0; }
    25%, 45% { opacity: 1; }
    50%, 100%{ opacity: 0; }
}

.slide:nth-child(1)  { animation-delay: 0s; }
.slide:nth-child(2)  { animation-delay: 4s; }
.slide:nth-child(3)  { animation-delay: 8s; }
.slide:nth-child(4)  { animation-delay: 12s; }
.slide:nth-child(5)  { animation-delay: 16s; }
.slide:nth-child(6)  { animation-delay: 20s; }
.slide:nth-child(7)  { animation-delay: 24s; }
.slide:nth-child(8)  { animation-delay: 28s; }
.slide:nth-child(9)  { animation-delay: 32s; }
.slide:nth-child(10) { animation-delay: 36s; }
.slide:nth-child(11) { animation-delay: 40s; }
.slide:nth-child(12) { animation-delay: 44s; }
.slide:nth-child(13) { animation-delay: 48s; }

/* Dark overlay gradient over the slider */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11,26,46,0.85) 0%, rgba(11,26,46,0.45) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 750px;
    padding: 2.5rem 3rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-content h1 .highlight { color: var(--accent-color); }

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 13px 30px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: var(--white-color);
    transform: translateY(-2px);
}


/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
    background: var(--secondary-color);
    padding: 3.5rem 0;
    text-align: center;
    border-bottom: 3px solid var(--border-color);
}

.page-header h1 {
    color: var(--white-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.page-header h1 span { color: var(--accent-color); }


/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 5rem 0;
}

.content-section.alt-bg {
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--white-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title .highlight { color: var(--accent-color); }


/* ============================================
   CARDS (general)
   ============================================ */
.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.card h2, .card h3, .card h4 { color: var(--white-color); }
.card p { color: var(--text-light); }


/* ============================================
   SERVICES GRID (card style like Untitled-1)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}

.service-card ul li {
    color: var(--text-muted);
    font-size: 0.88rem;
    padding-bottom: 0.3rem;
}


/* ============================================
   PROJECTS ACCORDION
   ============================================ */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-header {
    background: var(--card-bg);
    color: var(--white-color);
    cursor: pointer;
    padding: 20px 24px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.25s;
    position: relative;
}

.accordion-header::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent-color);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-header.active {
    background: var(--secondary-color);
    color: var(--accent-color);
}

.accordion-header.active::after { content: '−'; }

.accordion-header:hover { background: var(--secondary-color); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: var(--primary-color);
}

.accordion-content ul {
    padding: 20px 30px;
    list-style: none;
}

.accordion-content li {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.accordion-content li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.accordion-content li b { color: var(--accent-color); }

.project-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}


/* ============================================
   MANPOWER STATS
   ============================================ */
.manpower-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.manpower-item {
    background: var(--card-bg);
    padding: 2rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.manpower-item:hover { border-color: var(--accent-color); }

.manpower-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    line-height: 1;
}

.manpower-category {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    color: var(--text-light);
}


/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--card-bg);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s, transform 0.3s;
}

.team-member:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.team-member h4 { color: var(--white-color); margin-bottom: 0.2rem; }

.team-member .title {
    font-style: italic;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 0;
    font-size: 0.9rem;
}

.team-member p { color: var(--text-muted); font-size: 0.9rem; }


/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    display: block;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    border-color: var(--accent-color);
}


/* ============================================
   CONTACT / INFO CARDS
   ============================================ */
.contact-info li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.contact-info li:last-child { border-bottom: none; }

.contact-info strong { color: var(--accent-color); }


/* ============================================
   GOOGLE MAP
   ============================================ */
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    margin-top: 2rem;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: none;
    filter: invert(90%) hue-rotate(180deg); /* Dark-theme map tint */
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary-color);
    border-top: 2px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col p,
.footer-col li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-bottom: 0.4rem;
}

.footer-col a {
    color: var(--text-muted);
    transition: color 0.25s;
}

.footer-col a:hover { color: var(--accent-color); }

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   ABOUT PAGE SPECIFICS
   ============================================ */
.about-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.highlight-box {
    border-left: 4px solid var(--accent-color);
    padding: 1.2rem 1.5rem;
    background: rgba(255,193,7,0.05);
    border-radius: 0 8px 8px 0;
}

.highlight-box h4 { color: var(--accent-color); margin-bottom: 0.4rem; }
.highlight-box p { color: var(--text-muted); font-size: 0.95rem; }

/* Machinery lists on about page */
.machinery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.machinery-col h5 {
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.machinery-col ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.machinery-col ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-bottom: 0.3rem;
}

/* Verticals grid */
.verticals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 1.5rem;
}

.vertical-box {
    border-left: 4px solid var(--accent-color);
    padding: 1.2rem 1.5rem;
    background: rgba(255,193,7,0.04);
    border-radius: 0 8px 8px 0;
}

.vertical-box h4 { color: var(--accent-color); }
.vertical-box p { color: var(--text-muted); font-size: 0.9rem; }


/* ============================================
   BUTTONS
   ============================================ */
.btn-main {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 11px 26px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.btn-main:hover {
    background: var(--white-color);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar .container { flex-direction: column; gap: 0.8rem; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero-content h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .about-highlight-grid,
    .verticals-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 1.2rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content { padding: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
}
