/* Premium Visual Enhancements for LL Game Studio */

/* ========================================
   1. Typography & Base Refinements
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2c2c2c;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: #5a5a5a;
    font-size: 14px;
    letter-spacing: 0.2px;
    line-height: 1.8;
}

/* ========================================
   2. Navigation - Glassmorphism & Premium Feel
   ======================================== */
.header {
    height: 80px;
    line-height: 60px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.active {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    line-height: 80px;
    transition: all 0.4s ease;
}

.header.active .navbar-brand {
    line-height: 70px;
}

.navbar-brand .logo {
    margin-top: 18px;
    transition: all 0.4s ease;
    transform-origin: left center;
}

.header.active .navbar-brand .logo {
    margin-top: 14px;
    transform: scale(0.92);
}

.navbar-nav>li>a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 80px;
    padding: 0 2px;
    position: relative;
    transition: all 0.3s ease;
}

.header.active .navbar-nav>li>a {
    line-height: 70px;
    color: #1a1a1a !important;
}

.navbar-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0068b7;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.active .navbar-nav>li>a::after {
    bottom: 18px;
}

.navbar-nav>li>a:hover::after,
.navbar-nav>li>a:focus::after {
    width: 100%;
}

.navbar-nav>li {
    margin-left: 35px;
}

.navbar-inverse .navbar-toggle {
    border: none;
    background-color: rgba(0, 104, 183, 0.9);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #0068b7;
    box-shadow: 0 4px 15px rgba(0, 104, 183, 0.35);
}

/* ========================================
   3. Hero Slider - Cinematic Overlay & Captions
   ======================================== */
.cd-hero {
    position: relative;
}

.cd-hero-slider {
    position: relative;
    z-index: 1;
}

.cd-hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.cd-hero-slider li.selected .slide-image {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.slide-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 900px;
    color: #fff;
}

.slide-caption h2 {
    font-size: 52px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.slide-caption p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.cd-hero-slider li.selected .slide-caption h2,
.cd-hero-slider li.selected .slide-caption p {
    opacity: 1;
    transform: translateY(0);
}

.cd-slider-nav {
    bottom: 25px;
    right: 50%;
    transform: translateX(50%);
}

.cd-slider-nav li {
    width: 10px;
    height: 10px;
    margin: 0 8px;
}

.cd-slider-nav a {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cd-slider-nav li.selected a {
    background-color: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.no-touch .cd-slider-nav a:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   4. Section Headings - Elegant Style
   ======================================== */
.section-heading {
    margin-bottom: 70px;
}

.section-heading h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-heading .line-dec {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0068b7, #0084e9);
    border-radius: 2px;
    position: relative;
}

.section-heading .line-dec::before,
.section-heading .line-dec::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background-color: #0068b7;
    border-radius: 50%;
    transform: translateY(-50%);
}

.section-heading .line-dec::before {
    left: -16px;
}

.section-heading .line-dec::after {
    right: -16px;
}

/* ========================================
   5. Service Cards - Modern Minimal
   ======================================== */
#about {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.service-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 45px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0068b7, #0084e9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item h4 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 30px;
    margin-bottom: 18px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.service-item p {
    font-size: 13px;
    line-height: 1.9;
    color: #6a6a6a;
    transition: color 0.3s ease;
}

.service-item:hover h4 {
    color: #0068b7;
}

.service-item:hover p {
    color: #4a4a4a;
}

.service-item .icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .icon {
    transform: scale(1.1);
}

.first-service:hover .icon {
    background-image: url(../img/first-service-main.png);
}

.second-service:hover .icon {
    background-image: url(../img/second-service-main.png);
}

.third-service:hover .icon {
    background-image: url(../img/third-service-main.png);
}

.fourth-service:hover .icon {
    background-image: url(../img/fourth-service-main.png);
}

/* ========================================
   6. What We Do - Bold Statement
   ======================================== */
#what-we-do {
    padding: 120px 0;
    position: relative;
}

#what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

#what-we-do .container {
    position: relative;
    z-index: 1;
}

#what-we-do .centered-text h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#what-we-do .centered-text h4 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

#what-we-do .centered-text p {
    font-size: 18px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

#what-we-do .centered-text .quote-text {
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 1px;
    margin-top: 35px;
    color: #fff;
    position: relative;
    display: inline-block;
}

#what-we-do .centered-text .quote-text::before,
#what-we-do .centered-text .quote-text::after {
    content: '"';
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: -20px;
}

#what-we-do .centered-text .quote-text::before {
    left: -25px;
}

#what-we-do .centered-text .quote-text::after {
    right: -25px;
}

/* ========================================
   7. Gallery - Polished Hover Effects
   ======================================== */
#gallery {
    padding: 100px 0 0;
    background-color: #f8f9fa;
}

#gallery .section-heading {
    margin-bottom: 50px;
}

.gallery-scroll-container {
    padding-bottom: 50px;
    background-color: transparent;
    border-bottom: none;
}

.gallery-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #0068b7, #0084e9);
    border-radius: 3px;
}

.project-item {
    margin-top: 0;
    padding: 8px;
}

.project-item .thumb {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item .image {
    border-radius: 10px;
    padding-bottom: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .thumb {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.project-item:hover .image {
    transform: scale(1.08);
}

.project-item .hover-effect {
    background: linear-gradient(
        135deg,
        rgba(0, 104, 183, 0.85),
        rgba(0, 132, 233, 0.85)
    );
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item .hover-effect i {
    margin-top: 50%;
    width: 52px;
    height: 52px;
    line-height: 52px;
    background-color: #fff;
    color: #0068b7;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .hover-effect i {
    transform: translateY(0);
}

.project-item .hover-effect i:hover {
    background-color: #1a1a1a;
    color: #fff;
    transform: scale(1.1);
}

/* ========================================
   8. Blog - Card Style Refinement
   ======================================== */
#blog {
    padding: 100px 0;
}

#blog .section-heading {
    margin-bottom: 60px;
}

.blog-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
}

.blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.blog-item .thumb {
    overflow: hidden;
}

.blog-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-item:hover img {
    transform: scale(1.05);
}

.blog-item .text-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 25px 25px 20px;
}

.blog-item .text-content h4 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.blog-item .text-content span {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.pop, .pop2, .pop3 {
    background-color: #fff;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

.pop p, .pop2 p, .pop3 p {
    font-size: 15px;
    line-height: 1.9;
    color: #4a4a4a;
}

.pop span, .pop2 span, .pop3 span {
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pop span:hover, .pop2 span:hover, .pop3 span:hover {
    transform: rotate(90deg);
}

/* ========================================
   9. Fun Facts - Bold & Clean
   ======================================== */
#fun-facts {
    padding: 100px 0;
    background-color: #fff;
}

#fun-facts .fact-item {
    background-color: transparent;
    padding: 40px 20px;
    border-radius: 12px;
    transition: all 0.4s ease;
}

#fun-facts .fact-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

.fact-item .counter {
    font-size: 48px;
    font-weight: 800;
    color: #0068b7;
    line-height: 1;
    margin-bottom: 12px;
}

.fact-item span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6a6a6a;
    display: block;
    margin-top: 0;
}

/* ========================================
   10. Contact - Modern Cards
   ======================================== */
#contact {
    padding: 100px 0;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#contact .container {
    position: relative;
    z-index: 1;
}

#contact .map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

#contact .map img {
    display: block;
}

.bottom-contacts {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#contact .bottom-contacts h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    padding-bottom: 0;
    margin-bottom: 18px;
    position: relative;
    padding-left: 28px;
}

#contact .bottom-contacts h4::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0068b7;
    font-size: 24px;
    line-height: 1;
    top: -4px;
}

#contact .bottom-contacts h4:last-child {
    margin-bottom: 0;
}

#contact .bottom-contacts h3 {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   11. Footer - Premium Dark
   ======================================== */
footer {
    background-color: #15181a;
    padding: 40px 20px 35px;
}

footer p {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0068b7;
    text-decoration: none;
}

footer em {
    color: #0068b7;
}

footer ul li {
    background-color: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

footer ul li:hover {
    background-color: #0068b7;
    transform: translateY(-3px);
}

footer ul li a {
    color: #fff;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* ========================================
   12. Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   13. Responsive Refinements
   ======================================== */
@media (max-width: 767px) {
    .header {
        height: 70px;
        background: rgba(0, 0, 0, 0.2);
    }
    
    .navbar-brand {
        line-height: 70px;
    }
    
    .navbar-brand .logo {
        margin-top: 14px;
        transform: scale(0.9);
    }
    
    .navbar-nav>li>a {
        line-height: 55px;
        font-size: 12px;
    }
    
    .slide-caption h2 {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .slide-caption p {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    #what-we-do .centered-text h1 {
        font-size: 36px;
    }
    
    #what-we-do .centered-text h4 {
        font-size: 14px;
        letter-spacing: 4px;
    }
    
    #what-we-do .centered-text .quote-text {
        font-size: 22px;
    }
    
    .section-heading {
        margin-bottom: 50px;
    }
    
    .service-item {
        margin-bottom: 25px;
    }
    
    .fact-item {
        margin-bottom: 25px;
    }
    
    .bottom-contacts {
        margin-top: 30px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .service-item {
        margin-bottom: 30px;
    }
    
    .fact-item {
        margin-bottom: 30px;
    }
}
