/* ========================================
   ATCSOL - Main Stylesheet
   ======================================== */

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

body, html {
    font-family: "Gotham", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    background: #f6f4f4;
    color: #272525;
    letter-spacing: -0.02em;
}

/* ========================================
   Animations
   ======================================== */

/* Ken Burns Effect */
@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-20px, -10px);
    }
}

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

/* ========================================
   Logo Header
   ======================================== */

.logo-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 35px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo-header img {
    height: 50px;
    width: auto;
}

.logo-header a {
    display: block;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    position: relative;
    height: 50vh;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease-out infinite alternate;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(73, 80, 188, 0.7) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 30px;
}

.hero-content h1 {
    font-family: "After", serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-content p {
    font-family: "Gotham", sans-serif;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ========================================
   Scroll Arrow
   ======================================== */

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) scale(1.1);
}

.scroll-arrow i {
    font-size: 24px;
    color: white;
}

/* ========================================
   Content Container
   ======================================== */

.content-container {
    width: 100%;
    padding: 0 30px 0 30px;
}

/* ========================================
   Service Section
   ======================================== */

.service-section {
    width: 100%;
    margin: 0;
    scroll-margin-top: 120px;
}

.service-section .row {
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(73, 80, 188, 0.15);
}

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

.service-card-content {
    padding: 32px;
}

.service-card h3 {
    font-family: "Gotham", sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #272525;
    letter-spacing: 0.01em;
}

.service-card p {
    font-family: "Gotham", sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4950bc;
    font-weight: bold;
    font-size: 18px;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    position: relative;
    background: #000000;
    padding: 60px 30px;
    margin-top: 0;
    overflow: hidden;
    scroll-margin-top: 120px;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/contact-form.webp');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.7;
    z-index: 0;
    animation: kenburns 20s ease-out infinite alternate;
    transform-origin: center center;
}

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

.contact-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: rgba(0, 0, 0, 0.7);
    padding: 35px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.contact-info p {
    color: #e0e0e0;
}

.info-item {
    margin-bottom: 22px;
}

.info-item h3 {
    font-size: 19px;
    font-weight: 600;
    color: #8b94ff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.info-item p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 16px;
}

.contact-form-wrapper {
    background: rgba(0, 0, 0, 0.7);
    padding: 35px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.contact-form-wrapper h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* ========================================
   Form Styles
   ======================================== */

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #5a62d4;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #4950bc;
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
    background: #4950bc;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8b94ff;
    box-shadow: 0 0 0 3px rgba(139, 148, 255, 0.2);
    background: #5a62d4;
}

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

.form-group select {
    cursor: pointer;
}

.error-message {
    display: none;
    color: #d32f2f;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 500;
}

.submit-btn {
    background: #4950bc;
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.submit-btn:hover {
    background: #3940a0;
    transform: scale(1.03);
}

.sending-message,
.success-message,
.fail-message {
    display: none;
    padding: 18px;
    border-radius: 8px;
    margin-top: 24px;
    text-align: center;
    font-weight: 500;
}

.sending-message {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.sending-btn {
    background: #dc3545;
    color: white;
    font-weight: 600;
    font-size: 17px;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    cursor: default;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
}

.fail-message {
    background: #ffebee;
    color: #c62828;
}

/* ========================================
   Back Button
   ======================================== */

.back-btn {
    display: inline-block;
    margin: 40px 0 20px 40px;
    padding: 12px 32px;
    background: transparent;
    border: 2px solid #4950bc;
    color: #4950bc;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 16px;
}

.back-btn:hover {
    background: #4950bc;
    color: white;
    transform: scale(1.03);
}

/* ========================================
   Mobile Responsiveness
   ======================================== */

/* Tablet grande */
@media (max-width: 1024px) {
    /* Bootstrap grid handles responsive layout */
}

/* Tablet - 2 colunas */
@media (max-width: 768px) {
    .logo-header {
        top: 15px;
        padding: 10px 25px;
    }

    .logo-header img {
        height: 40px;
    }

    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .scroll-arrow {
        left: 50%;
        transform: translateX(-50%);
    }

    .content-container {
        padding: 40px 20px;
    }

    .service-section .row {
        margin-top: 30px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 25px;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .contact-form-wrapper h3 {
        font-size: 24px;
    }

    .back-btn {
        margin: 30px 0 15px 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .service-card-content {
        padding: 20px;
    }
}
