/* Global Styles */
:root {
    --primary-color: #ff8800;
    --primary-dark: #cc6a00;
    --secondary-color: #1a1f2e;
    --text-color: #ffffff;
    --text-dark: #333333;
    --background-dark: #0f1624;
    --background-light: #ffffff;
    --yellow: #ffc107;
    --green: #ff8800;
    --purple: #8a2be2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.highlight {
    color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--background-dark);
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--background-dark);
    padding: 20px 0;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    align-items: center;
}

.phone-link {
    margin-left: 20px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background-color: var(--background-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    width: 50%;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.hero-graphics {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

/* Animated circles */
.hero-graphics::before,
.hero-graphics::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.7;
    animation: float 6s infinite ease-in-out;
}

.hero-graphics::before {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 30%;
}

.hero-graphics::after {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Clients Section */
.clients {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 40px 0;
}

.clients h2 {
    text-align: center;
    margin-bottom: 40px;
}

.client-slider {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.client-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: transform 0.5s ease;
}

.client-logo {
    flex: 0 0 18%;
    text-align: center;
    padding: 0 15px;
}

.client-logo img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.slider-arrow {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 2;
}

/* About Section */
.about {
    background-color: var(--background-dark);
    color: var(--text-color);
    position: relative;
    padding: 100px 0;
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-graphics {
    flex: 0 0 45%;
    position: relative;
    height: 400px;
    z-index: 1; /* Lower z-index than content */
}

.about-content {
    flex: 0 0 50%;
    max-width: 600px;
    position: relative;
    z-index: 2; /* Higher z-index to ensure text is above graphics */
}

.about h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    background-color: var(--background-dark); /* Add background to heading */
    display: inline-block; /* Only take up as much space as needed */
    padding: 5px 10px; /* Add some padding */
}

.about p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Circles in about section */
.circle {
    position: absolute;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.navy {
    background-color: #1a1f2e;
    top: 30%;
    left: 10%;
}

.green-1 {
    background-color: var(--primary-color);
    top: 10%;
    left: 35%;
}

.purple {
    background-color: #8a2be2;
    top: 10%;
    right: 25%;
}

.blue {
    background-color: #00ccff;
    bottom: 30%;
    left: 20%;
}

.green-2 {
    background-color: var(--primary-color);
    bottom: 10%;
    right: 30%;
}

.orange {
    background-color: #ffa500;
    top: 50%;
    right: 15%;
}

.pill-shape {
    position: absolute;
    width: 120px;
    height: 50px;
    background-color: #1a1f2e;
    border-radius: 25px;
    top: 40%;
    left: 35%;
}

/* Dotted line connecting circles */
.about-graphics::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed #444;
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: scale(0.9);
}

/* Stats Section */
.stats {
    background-color: #1a1f2e;
    padding: 60px 0;
}

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

.stat-box {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    padding: 20px;
}

.stat-icon {
    margin-right: 15px;
}

.stat-icon img {
    width: 50px;
    height: auto;
}

.stat-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-highlight {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin: 5px 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-dark);
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    position: relative;
}

.testimonial-container {
    width: 100%;
    overflow: hidden;
}

.testimonial {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.testimonial-logo {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: var(--background-dark);
}

.testimonial-logo img {
    max-width: 150px;
}

.testimonial-content {
    flex: 0 0 70%;
    padding: 30px;
}

.testimonial-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-author {
    font-style: italic;
    opacity: 0.8;
}

.testimonial-rating {
    color: var(--yellow);
    margin: 15px 0;
}

/* Services Section */
.services {
    background-color: var(--background-dark);
    padding: 100px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-areas:
        "marketing technologie kreation"
        ". . ."
        "client-management . strategy";
    gap: 30px 50px;
    position: relative;
}

/* Position the cards in the grid */
#marketing {
    grid-area: marketing;
}

#technologie {
    grid-area: technologie;
}

#kreation {
    grid-area: kreation;
}

#client-management {
    grid-area: client-management;
}

#strategy {
    grid-area: strategy;
}

/* Dotted lines connecting the cards */
.services-grid::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        /* Horizontal line from marketing to kreation */
        linear-gradient(90deg, transparent, transparent),
        /* Vertical line from marketing to client-management */
        linear-gradient(0deg, transparent, transparent),
        /* Vertical line from kreation to strategy */
        linear-gradient(0deg, transparent, transparent),
        /* Horizontal line from client-management to strategy */
        linear-gradient(90deg, transparent, transparent);
    z-index: 1;
}

/* Create the dotted line pattern */
.services-grid::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: 
        /* Top horizontal line */
        repeating-linear-gradient(90deg, var(--primary-color), var(--primary-color) 5px, transparent 5px, transparent 10px),
        /* Left vertical line */
        repeating-linear-gradient(0deg, var(--primary-color), var(--primary-color) 5px, transparent 5px, transparent 10px),
        /* Right vertical line */
        repeating-linear-gradient(0deg, var(--primary-color), var(--primary-color) 5px, transparent 5px, transparent 10px),
        /* Bottom horizontal line */
        repeating-linear-gradient(90deg, var(--primary-color), var(--primary-color) 5px, transparent 5px, transparent 10px);
    background-size: 
        calc(100% - 60px) 2px,  /* Top horizontal */
        2px 120px,              /* Left vertical */
        2px 120px,              /* Right vertical */
        calc(100% - 60px) 2px;  /* Bottom horizontal */
    background-position:
        30px 80px,              /* Top horizontal */
        30px 80px,              /* Left vertical */
        calc(100% - 30px) 80px, /* Right vertical */
        30px calc(100% - 80px); /* Bottom horizontal */
    background-repeat: no-repeat;
    pointer-events: none;
}

.service-card {
    background-color: var(--background-light);
    color: var(--text-dark);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    height: 120px;
    width: auto;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Projects Section */
.projects {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 100px 0;
}

.projects h2 {
    text-align: center;
    margin-bottom: 60px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 30px;
}

.project-card.yellow {
    background-color: var(--yellow);
}

.project-card.green {
    background-color: var(--green);
    color: var(--text-dark);
}

.project-card.purple {
    background-color: var(--purple);
}

.project-image {
    margin-bottom: 20px;
}

.project-image img {
    height: 150px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-card p {
    margin-bottom: 20px;
}

/* Jobs Section */
.jobs {
    background-color: var(--background-dark);
    padding: 100px 0;
    text-align: center;
}

.jobs h2 {
    margin-bottom: 10px;
}

.jobs > p {
    margin-bottom: 50px;
}

.job-slider {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

.job-cards {
    display: flex;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
}

.job-card {
    flex: 0 0 30%;
    background-color: #6a11cb;
    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    border-radius: 10px;
    padding: 30px;
    margin: 0 15px;
}

.job-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.job-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.job-card p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Partners Section */
.partners {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 80px 0;
}

.partners h2 {
    text-align: center;
    margin-bottom: 50px;
}

.partner-slider {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.partner-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: transform 0.5s ease;
}

.partner-logo {
    flex: 0 0 18%;
    text-align: center;
    padding: 0 15px;
}

.partner-logo img {
    max-height: 60px;
}

/* Contact Section */
.contact {
    background-color: var(--background-dark);
    padding: 100px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 18px;
    opacity: 0.8;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contact-info {
    flex: 0 0 30%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    opacity: 0.8;
}

.contact-form-container {
    flex: 0 0 65%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group:nth-child(3),
.form-group:nth-child(4),
.form-group:nth-child(5),
.form-group:nth-child(6) {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group button {
    width: auto;
    padding: 12px 30px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

#form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

#form-status.success {
    display: block;
    background-color: rgba(255, 136, 0, 0.2);
    border: 1px solid var(--primary-color);
}

#form-status.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

.footer-toggle {
    margin-bottom: 40px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 0 0 22%;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column li {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 18px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        width: 60%;
    }
    
    .about-content-wrapper {
        flex-direction: column;
    }
    
    .about-graphics {
        margin-bottom: 40px;
        height: 300px;
        width: 100%;
    }
    
    .about-content {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .stats .container {
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 0 0 48%;
        margin-bottom: 20px;
    }
    
    .services-grid {
        grid-template-areas:
            "marketing technologie"
            "kreation kreation"
            "client-management strategy";
    }
    
    .services-grid::after {
        display: none; /* Hide the connecting lines on smaller screens */
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex: 0 0 48%;
        margin-bottom: 30px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    
    .contact-item {
        flex: 0 0 48%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    header .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--background-dark);
        z-index: 1000;
        padding-top: 80px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 18px;
    }
    
    .cta-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        flex-direction: column;
    }
    
    .phone-link {
        display: none; /* Hide email address on mobile */
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-graphics {
        display: block; /* Show graphics on mobile */
        width: 100%;
        height: 100%;
        opacity: 0.3; /* Make it subtle background */
        pointer-events: none;
    }
    
    /* Adjust size and position of animated circles for mobile */
    .hero-graphics::before {
        width: 100px;
        height: 100px;
        top: 20%;
        right: 10%;
    }
    
    .hero-graphics::after {
        width: 60px;
        height: 60px;
        top: 60%;
        right: 30%;
    }
    
    /* Adjust client and partner logos for mobile */
    .client-logo, .partner-logo {
        flex: 0 0 45%; /* Show only 2 logos at a time on mobile */
        padding: 0 10px;
    }
    
    .client-logos, .partner-logos {
        justify-content: center;
    }
    
    .client-logo img, .partner-logo img {
        max-height: 50px; /* Slightly smaller logos on mobile */
    }
    
    .slider-arrow {
        font-size: 20px; /* Smaller arrows on mobile */
        padding: 0 5px;
    }
    
    .stats .container {
        flex-direction: column;
    }
    
    .stat-box {
        flex: 0 0 100%;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .testimonial {
        flex-direction: column;
    }
    
    .testimonial-logo {
        flex: 0 0 100%;
    }
    
    .testimonial-content {
        flex: 0 0 100%;
    }
    
    .services-grid {
        grid-template-areas:
            "marketing"
            "technologie"
            "kreation"
            "client-management"
            "strategy";
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .job-cards {
        flex-direction: column;
    }
    
    .job-card {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .social-links {
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(3),
    .form-group:nth-child(4),
    .form-group:nth-child(5),
    .form-group:nth-child(6) {
        grid-column: span 1;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .contact-item {
        flex: 0 0 100%;
    }
    
    /* Fix overlap in About section */
    .about-graphics {
        position: relative;
        height: 200px; /* Reduce height on mobile */
        margin-bottom: 60px; /* Add more space between graphics and text */
    }
    
    .about-content {
        position: relative;
        z-index: 2; /* Ensure text is above graphics */
    }
    
    .about-content h2 {
        background-color: var(--background-dark); /* Add background to heading */
        display: inline-block; /* Only take up as much space as needed */
        padding: 5px 10px; /* Add some padding */
    }
}

@media (max-width: 576px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .phone-link {
        margin: 15px 0 0 0;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Ensure mobile menu toggle is visible on mobile devices */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important; /* Force display with !important to override any other styles */
    }
} 