/* ============================================
   NL DESIGN STUDIO - Premium Black & Orange Theme
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --black: #000000;
    --black-secondary: #111111;
    --black-tertiary: #1a1a1a;
    --black-card: #222222;
    --orange: #FF6600;
    --orange-dark: #E65100;
    --orange-light: #FF8533;
    --orange-glow: rgba(255, 102, 0, 0.3);
    --white: #FFFFFF;
    --gray-light: #CCCCCC;
    --gray-medium: #999999;
    --gray-dark: #666666;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-light); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black-secondary); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-dark); }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}
.preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader .spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(255,102,0,0.2);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
}
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.navbar-brand img { height: 50px; transition: var(--transition); }
.navbar.scrolled .navbar-brand img { height: 40px; }
.navbar-nav .nav-link {
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px !important;
    position: relative;
    transition: var(--transition);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--orange);
    transition: var(--transition);
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--orange) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}
.navbar-toggler { border-color: var(--orange); }
.navbar-toggler-icon { filter: invert(1); }

/* ---------- Section Heading ---------- */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}
.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-heading h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin: 15px auto 0;
}
.section-heading p {
    color: var(--gray-medium);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Hero Slider ---------- */
.hero-slider { position: relative; height: 100vh; }
.hero-slider .swiper { height: 100%; }
.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content h1 span { color: var(--orange); }
.hero-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 35px;
    font-weight: 300;
}
.hero-slider .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 12px; height: 12px;
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--orange);
    opacity: 1;
}
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn-orange {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}
.btn-orange:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--orange-glow);
}
.btn-outline-orange {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    padding: 12px 38px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline-orange:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--orange-glow);
}

/* ---------- About Section ---------- */
.section-about {
    background: var(--black-secondary);
    padding: 100px 0;
}
.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}
.about-image::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: 100px; height: 100px;
    border-top: 3px solid var(--orange);
    border-left: 3px solid var(--orange);
    z-index: 1;
}
.about-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
}
.about-text .accent-line {
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 25px;
}
.about-text p {
    color: var(--gray-light);
    margin-bottom: 20px;
    font-size: 15px;
}
.about-text .experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--black-tertiary);
    padding: 15px 25px;
    border-radius: 8px;
    border-left: 3px solid var(--orange);
    margin-top: 10px;
}
.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}
.experience-badge .text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-light);
}

/* ---------- Services Section ---------- */
.section-services { padding: 100px 0; background: var(--black); }
.service-card {
    background: var(--black-tertiary);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid var(--orange);
    padding: 40px 30px;
    text-align: center;
    border-radius: 0 0 8px 8px;
    transition: var(--transition);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-top-color: var(--orange-light);
}
.service-card .icon {
    width: 80px; height: 80px;
    background: rgba(255,102,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--orange);
    transition: var(--transition);
}
.service-card:hover .icon {
    background: var(--orange);
    color: var(--white);
}
.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}
.service-card p {
    color: var(--gray-medium);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ---------- Counter Stats ---------- */
.section-counters {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
    padding: 80px 0;
    position: relative;
}
.section-counters::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect fill="rgba(255,255,255,0.03)" width="30" height="30"/></svg>');
}
.counter-item {
    text-align: center;
    position: relative;
    z-index: 1;
}
.counter-item .count {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}
.counter-item .count-suffix {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
}
.counter-item .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

/* ---------- Featured Projects ---------- */
.section-projects { padding: 100px 0; background: var(--black-secondary); }
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
    cursor: pointer;
}
.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.1); }
.project-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h5 {
    font-size: 18px;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.project-card:hover .project-overlay h5 { transform: translateY(0); }
.project-overlay .category {
    color: var(--orange);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}
.project-card:hover .project-overlay .category { transform: translateY(0); }

/* ---------- Portfolio Filter ---------- */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* ---------- Video Section ---------- */
.section-video {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-video video,
.section-video .video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.section-video::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}
.video-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}
.video-content p {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 30px;
}

/* ---------- Client Logos Marquee ---------- */
.section-clients-marquee {
    padding: 60px 0;
    background: var(--white);
    overflow: hidden;
}
.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    gap: 60px;
    align-items: center;
}
.marquee-track img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.marquee-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Testimonials ---------- */
.section-testimonials {
    padding: 100px 0;
    background: var(--black-tertiary);
}
.testimonial-card {
    text-align: center;
    padding: 40px 60px;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card .quote-icon {
    font-size: 48px;
    color: var(--orange);
    margin-bottom: 25px;
}
.testimonial-card .quote-text {
    font-size: 18px;
    font-style: italic;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 30px;
}
.testimonial-card .client-info h5 {
    font-size: 18px;
    margin-bottom: 5px;
    text-transform: none;
    letter-spacing: 0;
}
.testimonial-card .client-info p {
    color: var(--orange);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.testimonial-card .stars { color: var(--orange); margin-bottom: 20px; font-size: 18px; }

/* ---------- Page Banner ---------- */
.page-banner {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
}
.page-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.page-banner h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}
.page-banner .breadcrumb {
    justify-content: center;
    background: none;
    padding: 0;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a { color: var(--gray-light); font-size: 14px; }
.page-banner .breadcrumb-item.active { color: var(--orange); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--gray-medium); }

/* ---------- Contact Form ---------- */
.contact-form .form-control,
.contact-form .form-select {
    background: var(--black-tertiary);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 4px;
    transition: var(--transition);
}
.contact-form .form-control:focus {
    background: var(--black-tertiary);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: 0 0 0 3px var(--orange-glow);
}
.contact-form .form-control::placeholder { color: var(--gray-dark); }
.contact-info-box {
    background: var(--black-tertiary);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid var(--orange);
}
.contact-info-box i { color: var(--orange); font-size: 24px; margin-right: 15px; }
.contact-info-box h5 {
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: none;
    letter-spacing: 0;
}
.contact-info-box p { color: var(--gray-light); margin: 0; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--black-secondary);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo img { height: 60px; margin-bottom: 20px; }
.footer-about p {
    color: var(--gray-medium);
    font-size: 14px;
    margin-bottom: 25px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    margin-right: 10px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}
.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--orange);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--gray-medium);
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--orange); padding-left: 5px; }
.footer-links a i { margin-right: 8px; font-size: 10px; color: var(--orange); }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray-medium);
    font-size: 14px;
}
.footer-contact li i { color: var(--orange); margin-top: 4px; font-size: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}
.footer-bottom p {
    color: var(--gray-dark);
    font-size: 13px;
    margin: 0;
}
.footer-bottom a { color: var(--orange); }

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ---------- Flash Messages ---------- */
.flash-message {
    position: fixed;
    top: 90px; right: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Services Page ---------- */
.service-detail {
    padding: 80px 0;
}
.service-detail:nth-child(even) { background: var(--black-secondary); }
.service-detail:nth-child(odd) { background: var(--black); }
.service-detail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}
.service-detail h3 {
    font-size: 28px;
    margin-bottom: 20px;
}
.service-detail p { color: var(--gray-light); margin-bottom: 15px; }
.service-detail ul {
    list-style: none;
    padding: 0;
}
.service-detail ul li {
    padding: 8px 0;
    color: var(--gray-light);
    font-size: 15px;
}
.service-detail ul li i { color: var(--orange); margin-right: 10px; }

/* ---------- Clients Grid ---------- */
.client-logo-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.client-logo-card img {
    max-height: 60px;
    max-width: 140px;
    filter: grayscale(100%);
    transition: var(--transition);
}
.client-logo-card:hover img { filter: grayscale(0%); }

/* ---------- About Page Process ---------- */
.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.process-step .step-number {
    width: 70px; height: 70px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
}
.process-step h4 { font-size: 18px; margin-bottom: 10px; }
.process-step p { color: var(--gray-medium); font-size: 14px; }

/* ---------- Lightbox Override ---------- */
.glightbox-clean .gslide-description { background: var(--black-tertiary); }
.glightbox-clean .gslide-title { color: var(--white); }

/* ---------- Portfolio Masonry ---------- */
.portfolio-grid .project-card img { height: 280px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 36px; }
    .section-heading h2 { font-size: 28px; }
    .page-banner h1 { font-size: 36px; }
    .page-banner { background-attachment: scroll; }
    .about-image { margin-bottom: 40px; }
    .testimonial-card { padding: 30px 20px; }
    .video-content h2 { font-size: 32px; }
}
@media (max-width: 767px) {
    .hero-slider { height: 80vh; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .section-heading h2 { font-size: 24px; }
    .counter-item .count { font-size: 36px; }
    .counter-item { margin-bottom: 30px; }
    .page-banner { min-height: 250px; }
    .page-banner h1 { font-size: 28px; }
    .section-about, .section-services, .section-projects,
    .section-testimonials { padding: 60px 0; }
    .service-card { margin-bottom: 20px; }
    .filter-buttons { gap: 8px; }
    .filter-btn { padding: 8px 18px; font-size: 12px; }
    .whatsapp-btn { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
    .navbar-nav .nav-link { padding: 10px 15px !important; }
    .section-video { height: 400px; }
}
@media (max-width: 576px) {
    .hero-content h1 { font-size: 24px; letter-spacing: 1px; }
    .btn-orange, .btn-outline-orange { padding: 10px 25px; font-size: 12px; }
}
