/*
 * Positivus - Digital Marketing Agency
 * Landing Page CSS
 */

/* ------ Base Styles ------ */
:root {
    --primary: #B9FF66;
    --dark: #191A23;
    --white: #FFFFFF;
    --gray: #F3F3F3;
    --text-dark: #191A23;
    --text-light: #F3F3F3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--white);
}

.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;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

/* ------ Buttons ------ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-dark);
    border: 1px solid var(--dark);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--dark);
}

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

.btn-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    position: relative;
}

.btn-arrow::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
    transform: translateX(5px);
}

/* ------ Header ------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin-right: 20px;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    font-weight: 500;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ------ Hero Section ------ */
.hero {
    padding: 150px 0 80px;
}

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

.hero-text {
    width: 50%;
}

.hero-image {
    width: 45%;
}

/* ------ Brands Section ------ */
.brands {
    background-color: var(--gray);
    text-align: center;
}

.brands-logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-top: 40px;
}

.brand-logo {
    height: 40px;
    margin: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(1);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ------ Services Section ------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--gray);
    border: 1px solid var(--dark);
    border-radius: 6px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-content {
    margin-top: 20px;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ------ Case Studies Section ------ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.case-studies-grid {
    display: grid;
    gap: 30px;
}

.case-study {
    border: 1px solid var(--dark);
    border-radius: 6px;
    overflow: hidden;
}

.case-study img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.case-study-content {
    padding: 30px;
}

/* ------ Working Process Section ------ */
.working-process {
    background-color: var(--gray);
}

.contact-button{
    width: 100px;
    filter: invert(1);
}
.contact-button:hover{
    filter: invert(0);
}

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

.process-step {
    display: flex;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

/* ------ Team Section ------ */
.team-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.team-content {
    width: 35%;
}

.team-cards {
    width: 60%;
    display: flex;
    gap: 20px;
}

.team-card {
    flex: 1;
    border: 1px solid var(--dark);
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 20px;
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card h3, .team-card p {
    padding: 0 20px;
}

/* ------ Testimonials Section ------ */
.testimonials {
    background-color: var(--dark);
    color: var(--text-light);
}

.testimonials h2 {
    color: var(--white);
    text-align: center;
}

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

.testimonial-card {
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 6px;
    padding: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

/* ------ FAQ Section ------ */
.faq-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.faq-content {
    width: 30%;
}

.faq-accordion {
    width: 65%;
}

.accordion-item {
    border-bottom: 1px solid var(--dark);
    margin-bottom: 20px;
}

.accordion-btn {
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 0;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.accordion-btn::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-btn.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

/* ------ Contact Section ------ */
.contact {
    background-color: var(--primary);
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
}

.contact-content {
    width: 40%;
}

.contact-info {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-form {
    width: 55%;
    background-color: var(--white);
    border-radius: 6px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--dark);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group.consent {
    display: flex;
    align-items: center;
}

.form-group.consent input {
    width: auto;
    margin-right: 10px;
}

/* ------ Blog Section ------ */
.blog {
    background-color: var(--gray);
}

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

.blog-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    display: block;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* ------ Newsletter Section ------ */
.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    border-radius: 6px;
    padding: 40px;
}

.newsletter-content {
    width: 45%;
}

.newsletter-form {
    width: 50%;
}

.newsletter-form .form-group {
    display: flex;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    margin-right: 10px;
}

/* ------ Footer ------ */
.footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 80px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    width: 60%;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--text-light);
}

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

.social-icons {
    display: flex;
}

.social-icon {
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon img {
    width: 20px;
    height: 20px;
}

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

.footer-legal a {
    margin-left: 20px;
}

/* ------ Responsive Styles ------ */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .process-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-wrapper,
    .faq-wrapper {
        flex-direction: column;
    }
    
    .team-content,
    .faq-content {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .team-cards,
    .faq-accordion {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        margin: 20px 0;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text,
    .hero-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .services-grid,
    .case-studies-grid,
    .process-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper,
    .newsletter-wrapper,
    .footer-top {
        flex-direction: column;
    }
    
    .contact-content,
    .contact-form,
    .newsletter-content,
    .newsletter-form {
        width: 100%;
    }
    
    .contact-form,
    .newsletter-form {
        margin-top: 30px;
    }
    
    .footer-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-menu,
    .footer-services,
    .footer-contact {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 20px;
    }
    
    .footer-legal a {
        display: block;
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 10px 16px;
    }
} 