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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    overflow-x: hidden;
    min-width: 320px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #b0b0b0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #e21833 0%, #b31428 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(226, 24, 51, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(226, 24, 51, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #e21833;
    border: 2px solid #e21833;
}

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

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
/*    background: rgba(0, 0, 0, 0.95); */
	background: rgba(206,17,38,1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
	/*background: rgba(206,17,38,0.8);*/
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo-text {
	/*background: rgba(260,17,38,0.5);*/
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #e21833 0%, #b31428 100%);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: calc(100vh - 100px);
    margin-top: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    background: url('assets/LogoBanner1x1.svg') center top/contain no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-top: 0;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: #111111;
    text-align: center;
    border-bottom: 1px solid #333;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.page-header p {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Intro Section */
.intro {
    padding: 100px 0 80px 0;
    background: #0a0a0a;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.intro-content p {
    color: #b0b0b0;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* Featured Services */
.featured-services {
    padding: 80px 0;
    background: #0a0a0a;
}

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

/* Fallback for older browsers */
@supports not (grid-template-columns: 1fr) {
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
        margin-top: 3rem;
    }
    
    .service-card {
        flex: 1 1 300px;
        min-width: 300px;
    }
}

.service-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(226, 24, 51, 0.2);
    border-color: #e21833;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e21833 0%, #b31428 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-card p {
    color: #b0b0b0;
}

/* Client Logos Slideshow */
.client-logos {
    padding: 80px 0;
    background: #111111;
}

.logos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logos-header h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.logos-header p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.logos-slideshow {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-slide {
    position: absolute;
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.8);
}

.logo-slide.active {
    opacity: 1;
    transform: scale(1);
}

.logo-slide:hover {
    border-color: #e21833;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(226, 24, 51, 0.2);
}

.client-logo {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes logos white */
    transition: filter 0.3s ease;
}

.logo-slide:hover .client-logo {
    filter: brightness(1) invert(0); /* Shows original logo colors on hover */
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
    background: #0a0a0a;
}

.services-grid-full {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 16px;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

/* Fallback for older browsers */
@supports not (grid-template-columns: 1fr) {
    .service-item {
        display: flex;
        gap: 2rem;
        align-items: start;
        padding: 2rem;
        background: #1a1a1a;
        border-radius: 16px;
        transition: transform 0.3s ease;
        border: 1px solid #333;
    }
    
    .service-icon-large {
        flex-shrink: 0;
    }
    
    .service-content {
        flex: 1;
    }
}

.service-item:hover {
    transform: translateX(10px);
    border-color: #e21833;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e21833 0%, #b31428 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.service-icon-large svg {
    width: 40px;
    height: 40px;
}

.service-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e21833;
    font-weight: bold;
}

/* Portfolio Grid */
.portfolio-grid {
    padding: 80px 0;
    background: #0a0a0a;
}

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

/* Fallback for older browsers */
@supports not (grid-template-columns: 1fr) {
    .portfolio-items {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .portfolio-item {
        flex: 1 1 350px;
        min-width: 350px;
    }
}

.portfolio-item {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(226, 24, 51, 0.2);
    border-color: #e21833;
}

.portfolio-image {
    height: 250px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    width: 80px;
    height: 80px;
    color: #666;
}

.portfolio-placeholder svg {
    width: 100%;
    height: 100%;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #333;
    color: #b0b0b0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Content */
.about-content {
    padding: 80px 0;
    background: #111111;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Fallback for older browsers */
@supports not (grid-template-columns: 1fr) {
    .about-grid {
        display: flex;
        gap: 4rem;
        align-items: center;
        margin-top: 3rem;
    }
    
    .about-text,
    .about-image {
        flex: 1;
    }
}

.about-text h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 300px;
    height: 300px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.about-placeholder svg {
    width: 120px;
    height: 120px;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: #0a0a0a;
}

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

/* Fallback for older browsers */
@supports not (grid-template-columns: 1fr) {
    .values-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
        margin-top: 3rem;
    }
    
    .value-item {
        flex: 1 1 300px;
        min-width: 300px;
    }
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e21833 0%, #b31428 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.value-icon svg {
    width: 40px;
    height: 40px;
}

.value-item h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.value-item p {
    color: #b0b0b0;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #111111;
}

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

/* Fallback for older browsers */
@supports not (grid-template-columns: 1fr) {
    .team-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
        margin-top: 3rem;
    }
    
    .team-member {
        flex: 1 1 300px;
        min-width: 300px;
    }
}

.team-member {
    text-align: center;
    padding: 2rem;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.team-avatar svg {
    width: 60px;
    height: 60px;
}

.team-member h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.team-member .title {
    color: #e21833;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member p {
    color: #b0b0b0;
}

/* Contact Form */
.contact-form {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: #0a0a0a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e21833;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #333;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e21833 0%, #b31428 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #b0b0b0;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: #b0b0b0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: url('assets/FooterFull1.1.svg') center bottom/100% auto no-repeat;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-content p {
    color: #b0b0b0;
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer-bottom p {
    color: #b0b0b0;
    margin: 0;
}

/* Mobile Navigation */
.mobile-menu {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    border: 2px solid red; /* Debug border */
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    border: 2px solid green; /* Debug border when active */
}

.mobile-menu .nav-link {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: white;
}

.mobile-menu .nav-link:hover {
    color: #e21833;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid,
    .portfolio-items,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Fallback for older browsers */
    @supports not (grid-template-columns: 1fr) {
        .about-grid {
            flex-direction: column;
        }
    }

    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-form,
    .contact-info {
        padding: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
    
    .hero {
        height: calc(100vh - 100px);
        min-height: 500px;
    }
    
    .logo-slide {
        width: 150px;
        height: 80px;
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        padding: 0 0.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card,
    .portfolio-item,
    .contact-form {
        padding: 1.5rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 1rem;
    }
}





/* Smooth Animations */
.service-card,
.portfolio-item,
.team-member,
.value-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #e74c3c;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #27ae60;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid #e21833;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .cta-section,
    .footer {
        display: none;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    .hero-background {
        display: none;
    }

    .hero-content {
        color: #333;
    }

    .hero-title,
    .hero-subtitle {
        color: #333;
    }
}

