/* ===========================
   NOVA FREIXO - CUSTOM STYLES
   =========================== */

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.hide {
    display: none !important;
}

/* ===========================
   HEADER SECTION
   =========================== */

#header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../img-novafreixo/header-bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    color: #fff;
    position: relative;
    padding: 0;
}

#header-menu {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
}

#header-menu .border-bottom {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
}

#logo {
    padding: 20px 0;
}

#logo img {
    max-width: 150px;
    height: auto;
}

.menu-itens ul {
    margin: 0;
    padding: 15px 0;
}

.menu-itens ul li {
    display: inline-block;
    margin: 0 20px;
}

.menu-itens ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.menu-itens ul li a:hover {
    color: #f0b323;
}

#header-content {
    padding: 100px 20px;
    margin-top: 50px;
}

#header-content .title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#header-content .subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 50px;
    line-height: 1.8;
}

#header-content .btn {
    background: #f0b323;
    color: #fff;
    border: 2px solid #f0b323;
    padding: 15px 40px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

#header-content .btn:hover {
    background: transparent;
    color: #f0b323;
}

#header-content .btn.second {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

#header-content .btn.second:hover {
    background: #fff;
    color: #333;
}

/* ===========================
   SERVICES SECTION
   =========================== */

#services {
    background: #f0b323;
    padding: 60px 0;
}

.service-img-block {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.service-img-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.service-img-block:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.service-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../img-novafreixo/service1.jpg') no-repeat center;
    background-size: cover;
}

.service-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../img-novafreixo/service2.jpg') no-repeat center;
    background-size: cover;
}

.service-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../img-novafreixo/service3.jpg') no-repeat center;
    background-size: cover;
}

.img-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 2;
}

.service-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#truck {
    margin: 60px 0;
}

#truck hr {
    border-top: 2px solid #fff;
    margin-top: 40px;
}

#truck img {
    max-width: 80px;
    height: auto;
}

#services-content {
    margin-top: 40px;
}

#services-content .title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#services-content .subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
}

/* ===========================
   ABOUT SECTION
   =========================== */

#about {
    background: #fff;
    padding: 80px 0;
}

#about .row.first {
    margin-bottom: 80px;
}

#about img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

#about .title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#about .title.small {
    font-size: 28px;
    margin-top: 30px;
}

#about .subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    line-height: 1.8;
}

#about .subtitle.small {
    font-size: 16px;
}

.about-img {
    margin-bottom: 20px;
}

#about .row.second {
    margin-top: 60px;
}

/* ===========================
   CONTACTS SECTION
   =========================== */

#contacts {
    background: #f5f5f5;
    padding: 80px 0;
}

#contacts .icon img,
#contacts .icon-bottom img {
    max-width: 60px;
    height: auto;
    margin-bottom: 20px;
}

#contacts hr {
    width: 100px;
    border-top: 2px solid #f0b323;
    margin: 20px auto;
}

#contacts .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#contacts .address {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

#map-block {
    margin: 40px 0;
}

#contacts .btn-info {
    background: #f0b323;
    border-color: #f0b323;
    padding: 12px 30px;
    font-size: 16px;
    margin: 5px;
}

#contacts .btn-info:hover {
    background: #d9a21f;
    border-color: #d9a21f;
}

.icon-bottom {
    margin-top: 60px;
}

/* ===========================
   CONTACT FORM SECTION
   =========================== */

#contact-form {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../img-novafreixo/contact-bg.jpg') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    padding: 80px 0;
}

#contact-form .bg {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

#contact-form h4 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#contact-form hr {
    width: 100px;
    border-top: 2px solid #f0b323;
    margin: 20px auto;
}

#contact-form p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

#contact-form .form-control {
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#contact-form .form-control:focus {
    border-color: #f0b323;
    box-shadow: none;
    outline: none;
}

#contact-form .btn {
    background: #f0b323;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#contact-form .btn:hover {
    background: #d9a21f;
}

#form-alert {
    margin-bottom: 20px;
}

/* ===========================
   COPYRIGHT SECTION
   =========================== */

#copyright {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

#copyright-title {
    font-size: 24px;
    margin-bottom: 15px;
}

#copyright-img {
    font-size: 14px;
    line-height: 2;
}

.footer-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #f0b323;
    margin: 10px 0;
}

#copyright img {
    max-width: 100px;
    height: auto;
    margin-top: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#copyright img:hover {
    opacity: 1;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */

@media (max-width: 768px) {
    #header-content .title {
        font-size: 32px;
    }
    
    #header-content .subtitle {
        font-size: 16px;
    }
    
    #header-content .btn {
        padding: 12px 30px;
        font-size: 14px;
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
    
    .service-img-block {
        height: 250px;
    }
    
    #services-content .title {
        font-size: 24px;
    }
    
    #about .title {
        font-size: 28px;
    }
    
    #about .title.small {
        font-size: 22px;
    }
    
    #contact-form .bg {
        padding: 40px 20px;
    }
    
    .menu-itens ul li {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    #header-content .title {
        font-size: 24px;
    }
    
    #header-content .subtitle {
        font-size: 14px;
    }
    
    #services-content .title {
        font-size: 20px;
    }
    
    #about .title {
        font-size: 22px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
