:root {
    --primary: #ff6b00;
    --secondary: #f8f9fa;
    --accent: #ff6b00;
    --dark: #333;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 80px;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 73px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff6b00;
    border-color: #ff6b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #262525;
}
/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.floating-cta:hover {
    background-color: #e55f00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    color: white;
}

.floating-cta i {
    margin-right: 10px;
}

/* Portfolio Header */
.portfolio-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #5c1700 100%);
    color: white;
    text-align: center;
}

.portfolio-header .section-title {
    color: white;
}

.portfolio-header .section-title::after {
    background-color: var(--accent);
}

/* Portfolio Filters */
.portfolio-filters-section {
    padding: 40px 0;
    background-color: var(--secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Portfolio Grid */
.portfolio-grid-section {
    padding: 60px 0;
}

.portfolio-grid {
    margin-top: 30px;
}

.portfolio-item {
    margin-bottom: 30px;
    display: none;
}

.portfolio-item.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.portfolio-card {
    background: rgb(224, 224, 224);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff6b00;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.portfolio-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.portfolio-content p {
    margin-bottom: 20px;
}

.portfolio-link {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: white;
    color: var(--primary);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.portfolio-info p {
    color: #666;
    margin-bottom: 15px;
}

.portfolio-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #e55f00 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer ul {
    list-style-type: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer p i {
    color: var(--accent);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 2px solid var(--primary);
    background: var(--primary);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-header {
        padding: 100px 0 40px;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        margin-bottom: 10px;
    }
    
    .portfolio-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .portfolio-header {
        padding: 80px 0 30px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}
/* Ícones circulares na seção de contactos do footer */
.footer-contact-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-contact-social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Estilo para o link do Google Maps no footer */
.footer-map-link {
    display: inline-flex;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.footer-map-link:hover {
    color: var(--primary);
}

.footer-map-link i {
    margin-right: 5px;
    font-size: 0.8rem;
}