/* 
 * Equation Marketing Services SRL Website Styles (English Version)
 * This stylesheet contains all styles for the English version of the website
 */

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

:root {
    --primary-color: #c0ff00;
    --background-color: #000000;
    --secondary-bg: #111111;
    --text-color: #ffffff;
    --lighter-bg: #333333;
    --border-color: #222222;
    --gray-text: #999999;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

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

/* ===== Layout ===== */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 10vh 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-description {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #cccccc;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5vh 10vw;
    min-height: 100vh;
    background-color: var(--background-color);
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,1));
}

.logo {
    margin-bottom: 2rem;
}

.logo-image {
    height: 16px;
    width: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    max-width: 800px;
}

.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    color: #dddddd;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000000;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    width: fit-content;
}

.cta-button:hover {
    background-color: #000000;
    color: var(--primary-color);
    outline: 1px solid var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.chevron-down {
    color: var(--primary-color);
}

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

/* ===== Services Section ===== */
.services-section {
    background-color: var(--background-color);
    padding: 10vh 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: #111111;
    padding: 2.5rem;
    border: 1px solid var(--primary-color);
    height: auto;
    min-height: 300px;
    border-opacity: 0.3;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services-section.animate-in .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-section.animate-in .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-section.animate-in .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services-section.animate-in .service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.services-section.animate-in .service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.service-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    top: var(--y, 0);
    left: var(--x, 0);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 0.15;
}

.service-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #000000;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-description {
    color: #aaaaaa;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    color: #cccccc;
}

.service-list li {
    margin-bottom: 0.5rem;
}

/* ===== Why Us Section ===== */
.why-us-section {
    padding: 10vh 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.why-us-section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    bottom: 0;
    left: 0;
    opacity: 0.3;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-us-card {
    padding: 2rem;
    background-color: var(--secondary-bg);
    border: 1px solid var(--primary-color);
    border-opacity: 0.3;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.why-us-section.animate-in .why-us-card:nth-child(1) {
    transition-delay: 0.1s;
}

.why-us-section.animate-in .why-us-card:nth-child(2) {
    transition-delay: 0.2s;
}

.why-us-section.animate-in .why-us-card:nth-child(3) {
    transition-delay: 0.3s;
}

.why-us-section.animate-in .why-us-card {
    opacity: 1;
    transform: translateY(0);
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.why-us-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    top: var(--y, 0);
    left: var(--x, 0);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    z-index: 0;
}

.why-us-card:hover::before {
    opacity: 0.1;
}

.why-us-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(192, 255, 0, 0.1);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.why-us-icon svg {
    stroke: var(--primary-color);
}

.why-us-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.why-us-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #aaaaaa;
    position: relative;
    z-index: 1;
}

.learn-more-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.learn-more-indicator:hover {
    transform: translateY(5px);
}

/* ===== Form Section ===== */
.form-section {
    padding: 10vh 0;
    background-color: var(--background-color);
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

input, select, textarea {
    background-color: #333333;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff'%3E%3Cpath d='M8 12L2 6h12l-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .form-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.submit-button {
    background-color: var(--primary-color);
    color: #000000;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border-radius: 4px;
}

@media (min-width: 640px) {
    .submit-button {
        margin-bottom: 0;
    }
}

.submit-button:hover {
    background-color: #000000;
    color: var(--primary-color);
    outline: 1px solid var(--primary-color);
}

.required-note {
    font-size: 0.75rem;
    color: var(--gray-text);
}

/* Success message styles */
.success-message {
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 3rem;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.success-icon {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #000000;
}

/* Contact Info & Footer */
.contact-info {
    margin-top: 4rem;
    text-align: left;
    font-size: 1rem;
    color: var(--gray-text);
}

.site-footer {
    margin-top: 6rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-size: 0.875rem;
    color: var(--gray-text);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Form field animations */
.form-section.animate-in .form-group {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.form-section.animate-in .form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-section.animate-in .form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-section.animate-in .form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-section.animate-in .form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-section.animate-in .form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.form-section.animate-in .form-footer {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 5vw;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}