/* ==========================================
   TRANSFORMERS CONTRACTORS - COMING SOON
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC143C;
    --dark-black: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--dark-black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================
   ANIMATED BACKGROUND
   ========================================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    z-index: -1;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-red);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    right: -125px;
    animation-delay: 10s;
    animation-duration: 30s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(50px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   CONTAINER & COMMON
   ========================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   LOGO SQUARE CONTAINER
   ========================================== */

.logo-square-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 
        0 0 40px rgba(220, 20, 60, 0.2),
        0 15px 40px rgba(0, 0, 0, 0.12),
        inset 0 0 30px rgba(220, 20, 60, 0.06);
    animation: slideDown 0.8s ease-out;
    border: 2px solid rgba(220, 20, 60, 0.15);
}

.logo-square-container:hover {
    box-shadow: 
        0 0 50px rgba(220, 20, 60, 0.3),
        0 20px 50px rgba(0, 0, 0, 0.15),
        inset 0 0 40px rgba(220, 20, 60, 0.1);
    transform: translateY(-3px);
}

.logo-square {
    max-width: 130px;
    max-height: 130px;
    filter: drop-shadow(0 3px 10px rgba(220, 20, 60, 0.15));
    transition: var(--transition);
}

.logo-square:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(220, 20, 60, 0.25));
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {
    position: relative;
    padding: 50px 0 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   HERO TITLE & TEXT
   ========================================== */

.content-wrapper {
    margin-bottom: 40px;
}

.main-title {
    font-size: clamp(4.5rem, 15vw, 9rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b6b 50%, var(--dark-black) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.5));
    text-shadow: 0 0 40px rgba(220, 20, 60, 0.4);
}

.main-title .word {
    display: block;
    animation: slideInLeft 0.8s ease-out;
}

.main-title .word:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.subtitle {
    font-size: 1.35rem;
    color: var(--primary-red);
    font-weight: 600;
    margin: 15px 0;
    animation: fadeIn 1s ease-out 0.3s both;
    text-shadow: 
        0 0 20px rgba(220, 20, 60, 0.6),
        0 0 40px rgba(220, 20, 60, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.description {
    font-size: 1.05rem;
    color: #cccccc;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.5s both;
}

/* ==========================================
   COMING SOON BADGE
   ========================================== */

.coming-soon-badge {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.2s both;
}

.coming-soon-badge span {
    font-size: 0.8rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(220, 20, 60, 0.02) 100%);
    border: 1.5px solid rgba(220, 20, 60, 0.4);
    border-radius: 25px;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.2);
}

/* ==========================================
   NEWSLETTER SECTION (HIDDEN)
   ========================================== */

.newsletter-section {
    display: none;
}



/* ==========================================
   SERVICES PREVIEW
   ========================================== */

.services-preview {
    margin-top: 100px;
    padding: 80px 0;
    border-top: 2px solid rgba(220, 20, 60, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-preview.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--light-gray);
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.15) 0%, rgba(220, 20, 60, 0.05) 100%);
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    animation: scaleIn 0.6s ease-out;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.15);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.service-card:nth-child(1) {
    animation-delay: 0s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:hover {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(220, 20, 60, 0.1) 100%);
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(220, 20, 60, 0.25),
        0 0 40px rgba(220, 20, 60, 0.3);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.service-card:hover .service-icon {
    animation: bounce 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #aaa;
    line-height: 1.6;
}

/* ==========================================
   SOCIAL SECTION
   ========================================== */

.social-section {
    padding: 80px 0;
    border-top: 2px solid rgba(220, 20, 60, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.social-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 5px 20px rgba(220, 20, 60, 0.3),
        0 0 20px rgba(220, 20, 60, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.social-link svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(220, 20, 60, 0.5),
        0 0 30px rgba(220, 20, 60, 0.6),
        0 0 60px rgba(220, 20, 60, 0.3);
}

.social-link.facebook {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0s;
}

.social-link.instagram {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.social-link.linkedin {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.social-link.whatsapp {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.social-link.youtube {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--primary-red);
}

.footer p {
    color: #888;
    font-size: 0.95rem;
    margin: 5px 0;
    animation: fadeIn 0.8s ease-out;
}

.footer p:first-child {
    font-weight: 600;
    color: var(--light-gray);
}

.footer p:last-child {
    color: var(--primary-red);
    font-style: italic;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .logo-square-container {
        width: 140px;
        height: 140px;
        margin: 0 auto 40px;
    }

    .logo-square {
        max-width: 110px;
        max-height: 110px;
    }

    .main-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .form-group {
        flex-direction: column;
    }

    .email-input,
    .subscribe-btn {
        width: 100%;
    }

    .services-preview h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .social-link svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .main-content {
        padding: 30px 0 40px 0;
        min-height: auto;
    }

    .hero {
        margin-bottom: 20px;
    }

    .logo-square-container {
        width: 120px;
        height: 120px;
        margin: 0 auto 30px;
    }

    .logo-square {
        max-width: 95px;
        max-height: 95px;
    }

    .coming-soon-badge {
        margin-bottom: 30px;
    }

    .coming-soon-badge span {
        font-size: 0.7rem;
        letter-spacing: 2px;
        padding: 6px 12px;
    }

    .content-wrapper {
        margin-bottom: 25px;
    }

    .main-title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .subtitle {
        font-size: 1rem;
        margin: 12px 0;
    }

    .description {
        font-size: 0.9rem;
        margin: 0 auto 25px;
    }

    .services-preview {
        margin-top: 60px;
        padding: 60px 0;
    }

    .services-preview h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        font-size: 3rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .social-section {
        padding: 60px 0;
    }

    .social-section h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .social-links {
        gap: 12px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer p {
        font-size: 0.85rem;
    }
}

/* ==========================================
   ANIMATIONS & TRANSITIONS
   ========================================== */

/* Smooth scroll behavior for all browsers */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Glow effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 20, 60, 0.8);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        color: var(--primary-red);
        text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
    }
    50% {
        color: #ff6b6b;
        text-shadow: 0 0 25px rgba(220, 20, 60, 0.8);
    }
}

/* Selection color */
::selection {
    background: var(--primary-red);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b6b;
}
