/* 
   Vero Esquadrias de Alumínio - Main Stylesheet
   Professional structure separating concerns (HTML/CSS/JS)
*/

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

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-img-footer {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #1b7ccc;
}

.btn-cta-header {
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.menu-mobile {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 90px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slide {
    min-width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-hero {
    background: #25d366;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.hero-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Sections General */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: #1b7ccc;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #1b7ccc;
    margin-bottom: 10px;
}

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

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    background: linear-gradient(135deg, #1b7ccc 0%, #0d4a7a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 60px;
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-service {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #1b7ccc;
    color: #1b7ccc;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-service:hover {
    background: #1b7ccc;
    color: #fff;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #1b7ccc 0%, #0d4a7a 100%);
    color: #fff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 30px;
}

.why-us-item i {
    font-size: 50px;
    margin-bottom: 20px;
}

.why-us-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-us-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-header h2 {
    font-size: 36px;
    color: #1b7ccc;
    margin-bottom: 10px;
}

.rating {
    color: #ffc107;
    font-size: 24px;
    margin-bottom: 10px;
}

.rating-info {
    color: #666;
    font-size: 14px;
}

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

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1b7ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
    color: #333;
}

.testimonial-date {
    font-size: 12px;
    color: #999;
}

/* CTA & Footer */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1b7ccc 0%, #0d4a7a 100%);
    text-align: center;
    color: #fff;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-cta {
    background: #25d366;
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1b7ccc;
}

.footer-brand p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: #1b7ccc;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1b7ccc;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #aaa;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #1b7ccc;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
}

.footer-contact i {
    color: #1b7ccc;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    nav {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .services-grid,
    .testimonials-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        height: 400px;
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu ul li a {
    font-weight: 500;
}
