/* Reset and Core Variables */
:root {
    --brand-orange: #ff6b00;
    --brand-green: #25d366;
    --brand-red: #e63946;
    --brand-blue: #0077b6;
    --text-dark: #1a1a1a;
    --text-light: #fefefe;
    --bg-light: #f4f4f9;
    --bg-white: #ffffff;
    --header-height: 70px;
    --transition-speed: 0.3s;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --container-width: 1100px;
}

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: calc(var(--header-height) - 20px);
    display: block;
}

.header-ctas {
    display: flex;
    gap: 8px;
}

.btn-call, .btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.btn-call {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-whatsapp {
    background-color: var(--brand-green);
    color: var(--text-light);
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--brand-orange);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-main-cta {
    display: inline-block;
    background-color: var(--brand-orange);
    color: var(--text-light);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 4px 25px rgba(255, 107, 0, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4); }
}

/* Specialties Section */
.specialties {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-orange);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.specialty-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.specialty-image {
    height: 120px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.specialty-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.specialty-card p {
    font-size: 0.9rem;
    color: #666;
    padding: 0 10px;
}

/* New Works Section */
.new-works {
    padding: 60px 0;
    background-image: linear-gradient(rgba(244, 244, 249, 0.85), rgba(244, 244, 249, 0.85)), url('map-bg.png');
    background-size: cover;
    background-position: center;
}

.works-card {
    background-color: var(--bg-white);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--brand-orange);
}

.works-card h2 {
    color: var(--brand-orange);
    margin-bottom: 10px;
}

.works-card h3 {
    margin-bottom: 20px;
}

.works-card p {
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-whatsapp-large {
    display: inline-block;
    background-color: var(--brand-green);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
    background-color: #111;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info strong {
    color: var(--bg-white);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom a {
    color: var(--brand-orange);
    font-weight: 600;
}

/* Tablet and Desktop Adjustments */
@media (min-width: 768px) {
    .btn-call, .btn-whatsapp {
        padding: 10px 20px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .specialties-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .specialty-image {
        height: 180px;
    }

    .works-card {
        padding: 60px 40px;
    }
}

/* Extra mobile tweaks */
@media (max-width: 480px) {
    .header-ctas .text {
        display: none;
    }
    
    .btn-call, .btn-whatsapp {
        width: 45px;
        height: 45px;
        padding: 0;
    }
    
    .btn-call .icon, .btn-whatsapp .icon {
        font-size: 20px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}
