/* 
   Torres Entulhos - Landing Page Styles
   Standard: Modern / Premium
*/

:root {
    --primary-color: #0b1c3e;
    --secondary-color: #ff6b00;
    --secondary-hover: #e65c00;
    --accent-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-highlight { color: var(--secondary-color); }
.bg-light { background-color: var(--accent-color); }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mb-20 { margin-bottom: 20px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    gap: 10px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
}

.btn-outline:hover {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
}

.btn-white {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Starts transparent */
    transition: background 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: var(--primary-color);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: var(--white);
    margin: 0;
}

.logo span {
    color: var(--secondary-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--white);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px; /* Max width */
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 1001;
    padding: 30px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: var(--white);
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    display: block;
}

.mobile-cta-link {
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full screen */
    min-height: 600px;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 28, 62, 0.85), rgba(11, 28, 62, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(255, 107, 0, 0.2);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

.badge-item span {
    font-weight: 600;
    font-size: 14px;
}

/* Services */
.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 50px;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary-color);
}

.service-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-icon {
    position: absolute;
    top: -25px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-arrow:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* About Section */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    min-width: 150px;
}

.experience-badge .years {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
}
.experience-badge .label {
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.about-content {
    flex: 1;
}

.about-list {
    margin-top: 30px;
}

.about-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.about-list i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-top: 5px;
}

.about-list strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
}

/* Areas */
.areas {
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    background-image: linear-gradient(135deg, #0b1c3e 0%, #172e5c 100%);
}

.text-white { color: var(--white); }
.text-white-opacity { color: rgba(255,255,255,0.7); margin-bottom: 40px; }

.areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.area-tag {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.area-tag:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.cta-banner {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-banner h3 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { margin-bottom: 20px; color: rgba(255,255,255,0.8); }

/* Footer */
.footer {
    background-color: #050e1f;
    color: rgba(255,255,255,0.6);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 { color: var(--white); margin-bottom: 20px; }
.footer-col h3 span { color: var(--secondary-color); }

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
}

.footer-col ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.tooltip-text {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
    right: 75px;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 36px; }
    .about-wrapper { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .nav-list { display: none; }
    .mobile-menu-btn { display: block; }
    .header-cta { display: none; }
    .experience-badge { right: 20px; bottom: -20px; }
}

@media (max-width: 600px) {
    .container { padding: 0 15px; }
    .hero-title { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .section-title { font-size: 28px; }
    .areas-list { gap: 5px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
}
