/*==============================================================================
   GLOBAL STYLES AND VARIABLES
==============================================================================*/

/*------------------------------------*\
  #Variables
\*------------------------------------*/
:root {
    --primary-red: #b50000;
    --secondary-grey: #333;
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f8f8f8;
    --background-dark: #222;
    --accent-orange: #ff743c;
    --footer-bg: #333;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-rubik: 'Rubik', sans-serif;
}

/*------------------------------------*\
  #Reset & Base Styles
\*------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-montserrat);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/*------------------------------------*\
  #Global Layout (Container & Grid)
\*------------------------------------*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Default for mobile, 100% width */
.col-md-12,
.col-md-6,
.col-md-4,
.col-md-3 {
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-12 {
        width: 100%;
    }
    .col-md-6 {
        width: 50%;
    }
    .col-md-4 {
        width: 33.33%;
    }
    .col-md-3 {
        width: 25%;
    }
}

.det-6 {
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 900px) {
    .det-6 {
        width: 50%;
    }
}

/*------------------------------------*\
  #Page Hero (Common to multiple pages)
\*------------------------------------*/
.page-hero {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-rubik);
    font-size: 50px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/*==============================================================================
   COMPONENTS
   Reusable UI elements
==============================================================================*/

/*------------------------------------*\
  #Buttons
\*------------------------------------*/
.btn-main,
.btn-secondary,
.btn-primary,
.btn-view {
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none; /* Add border:none here as it's common */
}

/* Specific main/secondary/primary button styles */
.btn-main,
.btn-secondary,
.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 15px 30px;
}

.btn-main:hover,
.btn-secondary:hover,
.btn-primary:hover {
    background-color: #CC0000;
}

/* Specific view button styles */
.btn-view {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 14px;
}

.btn-view:hover {
    background-color: #CC0000;
}

/*------------------------------------*\
  #Forms (General Styles)
\*------------------------------------*/
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--secondary-grey); /* Default border for forms */
    border-radius: 5px;
    background-color: #f0f0f0; /* Default background */
    color: var(--text-dark);
    font-size: 16px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    background-color: #fff;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px; /* Adjusted min-height to be more generic */
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 15px;
    color: #444;
    margin-bottom: 0;
    cursor: pointer;
}

/* Form submission button */
.form-submit-button {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: var(--accent-orange);
    color: var(--text-dark);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/*------------------------------------*\
  #Product Card (Reusable on Index & Products pages)
\*------------------------------------*/
.product-card {
    background-color: var(--text-light);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: var(--text-dark);
    height: 380px; /* Altura fixa para o cartão do produto */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 3px;
}

.product-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-card .price {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.product-card .btn-view {
    margin-top: auto;
    align-self: flex-start;
}

/* Responsive adjustments for Product Card */
@media (max-width: 768px) {
    .product-card {
        height: auto;
    }
    .product-card img {
        height: 160px;
    }
    .product-card h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-card img {
        height: 140px;
    }
    .product-card h4 {
        font-size: 15px;
    }
    .product-card .price {
        font-size: 14px;
    }
    .product-card .btn-view {
        width: 100%;
        text-align: center;
    }
}


/*==============================================================================
   SECTIONS (Used across various pages or standalone)
==============================================================================*/

/*------------------------------------*\
  #Hero Section (Inicio Banner)
\*------------------------------------*/
.hero-section {
    background-image: url('../img/imita_o_de_telha.jpg'); /* Placeholder */
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-rubik);
    font-size: 60px;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text-light);
}

.hero-content h2 {
    font-family: var(--font-montserrat);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-content .btn-main {
    letter-spacing: 2px;
}

/* Responsive adjustments for Hero Section */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-content h2 {
        font-size: 16px;
    }
    .hero-content .btn-main {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content h2 {
        font-size: 14px;
    }
}

/*------------------------------------*\
  #Services Section (Inicio)
\*------------------------------------*/
.services-section {
    padding: 80px 0;
    background-color: var(--text-light);
    text-align: center;
}

.services-section h3 {
    font-size: 14px;
    color: var(--primary-red);
    font-family: var(--font-rubik);
    margin-bottom: 5px;
}

.services-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

.service-item {
    background-color: var(--background-light);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Ensure equal height */
}

.service-item img {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 24px;
    font-family: var(--font-rubik);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.service-item p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.1;
    color: #555;
}

.services-section .btn-secondary {
    letter-spacing: 1px;
    margin-top: 40px;
}

/* Responsive adjustments for Services Section */
@media (max-width: 480px) {
    .services-section h2 {
        font-size: 24px;
    }
    .service-item {
        padding: 20px;
    }
}

/*------------------------------------*\
  #Featured Product Section (Inicio - Painel Sandwich)
\*------------------------------------*/
.featured-product-section {
    background-color: var(--primary-red);
    padding: 100px 0;
    color: var(--text-light);
}

.featured-product-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.featured-product-text {
    flex: 1;
    padding-right: 30px;
}

.featured-product-text h2 {
    font-family: var(--font-montserrat);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.featured-product-text p {
    font-family: var(--font-montserrat);
    font-size: 18px;
    line-height: 1.6;
}

.featured-product-image {
    flex: 1;
    min-height: 400px; /* Adjust as needed */
    background-image: url('../img/roofer-worker-protective-uniform-wear-gloves-construction-worker-install-new-roof-roofing-tools-electric-drill-used-new-roofs-with-metal-sheet.jpg'); /* Placeholder */
    background-size: cover;
    background-position: center;
    border-radius: 5px; /* Optional: subtle rounded corners */
}

/* Responsive adjustments for Featured Product Section */
@media (max-width: 768px) {
    .featured-product-content {
        flex-direction: column;
    }
    .featured-product-text,
    .featured-product-image {
        padding: 0;
        width: 100%;
        min-height: 300px;
    }
}

/*------------------------------------*\
  #Products Section (Inicio)
\*------------------------------------*/
.products-section {
    padding: 80px 0;
    background-color: var(--secondary-grey);
    text-align: center;
    color: var(--text-light);
}

.products-section h3 {
    font-size: 14px;
    color: var(--accent-orange);
    font-family: var(--font-rubik);
    margin-bottom: 5px;
}

.products-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-light);
}

/* Responsive adjustments for Products Section */
@media (max-width: 480px) {
    .products-section h2 {
        font-size: 24px;
    }
}

/*------------------------------------*\
  #Gallery Section (Inicio & Gallery Page)
\*------------------------------------*/
.gallery-section {
    padding: 80px 0;
    background-color: var(--text-light);
    text-align: center;
}

.gallery-section h3 {
    font-size: 14px;
    color: var(--primary-red);
    font-family: var(--font-rubik);
    margin-bottom: 5px;
}

.gallery-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    /* Padrão para telemóveis: 1 coluna */
    grid-template-columns: repeat(1, 1fr); /* Default for mobile: 1 column */
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Altura fixa para consistência na página inicial */
    object-fit: cover; /* Recortar para ajustar */
    border-radius: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Estilos específicos da Galeria (para galeria.php, pode sobrescrever se necessário) */
.gallery-item {
    background-color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    font-size: 40px;
    color: var(--text-light);
}

/* Responsive adjustments for Gallery Section */

/* Para Tablets (2 colunas) - Ajustamos a largura mínima e máxima para ser mais específico */
@media (min-width: 601px) and (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* Pode ajustar o gap para 2 colunas se preferir */
    }
    .gallery-item img {
        height: 220px; /* Ajuste de altura para tablets */
    }
}

/* Para Desktops (4 colunas) - Aumentamos o min-width para garantir que só ativa em telas maiores */
@media (min-width: 993px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .gallery-item img {
        height: 250px; /* Altura das imagens para desktop */
    }
}

/* Ajustes gerais para telas pequenas */
@media (max-width: 768px) {
    .gallery-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-section h2 {
        font-size: 24px;
    }
    .gallery-item img {
        height: 180px;
    }
}


/*------------------------------------*\
  #Newsletter Section (Inicio)
\*------------------------------------*/
.newsletter-section {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 16px;
    border-radius: 5px;
    min-width: 250px; /* Ensure input is not too small on mobile */
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background-color: var(--accent-orange);
    color: var(--text-dark);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #D34B20;
}

.newsletter-info {
    font-size: 18px;
    margin-top: 30px;
    font-weight: 500;
}

/* Responsive adjustments for Newsletter Section */
@media (max-width: 768px) {
    .newsletter-section h2 {
        font-size: 28px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input[type="email"] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter-section h2 {
        font-size: 22px;
    }
    .newsletter-form button {
        width: 100%;
    }
}


/*==============================================================================
   PAGE SPECIFIC STYLES
==============================================================================*/

/*------------------------------------*\
  #Index Page (index.php) - Specific Overrides/Layouts
\*------------------------------------*/
/* General responsive adjustments for the homepage if not covered by sections */
@media (max-width: 768px) {
    /* Adjustments for columns on smaller screens, applies globally but listed here for clarity if index uses it heavily */
    .row {
        flex-direction: column;
    }
    .col-md-3,
    .col-md-4,
    .col-md-6,
    .col-md-12 {
        width: 100%;
        padding: 0 10px;
        margin-bottom: 20px; /* Add margin between stacked columns */
    }
}


/*------------------------------------*\
  #Products Page (produtos.php)
\*------------------------------------*/
.products-listing {
    padding: 60px 0;
    background-color: var(--background-light);
}

.product-category h2 {
    font-size: 36px;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--secondary-grey);
    padding-bottom: 15px;
    margin-top: 60px;
}

.product-category:first-of-type h2 {
    margin-top: 0; /* No top margin for the first category */
}

/* Responsive adjustments for Products Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    .page-hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    .product-category h2 {
        font-size: 24px;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 26px;
    }
    .page-hero p {
        font-size: 14px;
    }
}


/*------------------------------------*\
  #Services Page (servicos.php)
\*------------------------------------*/
.services-list-section {
    padding: 60px 0;
}

.services-list-section h2 {
    font-size: 36px;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 40px;
}

/* Specific flex adjustments for services list */
.services-list-section .row {
    gap: 30px;
    justify-content: space-between;
}

.services-list-section .col-md-4 {
    flex: 1 1 calc(33.333% - 20px); /* Adjust for gap */
}

.service-item-full {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.service-item-full img {
    width: 100px;
    margin-bottom: 25px;
}

.service-item-full h3 {
    font-size: 28px;
    font-family: var(--font-rubik);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.service-item-full p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

/* Call to Action for Services page */
.call-to-action-services {
    background-color: var(--secondary-grey);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.call-to-action-services h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.call-to-action-services p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.call-to-action-services .btn-primary {
    letter-spacing: 1px;
}

/* Responsive adjustments for Services Page */
@media (max-width: 1024px) {
    .services-list-section .col-md-4 {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    .page-hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    .services-list-section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .service-item-full {
        padding: 20px;
    }
    .service-item-full h3 {
        font-size: 20px;
    }
    .service-item-full p {
        font-size: 15px;
        line-height: 1.6;
    }
    .services-list-section .row {
        flex-direction: column;
        gap: 20px;
    }
    .services-list-section .col-md-4 {
        flex: 1 1 100%;
    }
    .call-to-action-services h2 {
        font-size: 24px;
    }
    .call-to-action-services p {
        font-size: 16px;
        padding: 0 10px;
    }
    .call-to-action-services .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
}


/*------------------------------------*\
  #About Us Page (sobre-nos.php)
\*------------------------------------*/
.about-section {
    padding: 60px 0;
    background-color: var(--text-light);
}

.about-content h2,
.mission-vision h2 {
    font-size: 36px;
    color: var(--primary-red);
    margin-bottom: 30px;
    text-align: center;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.mission-vision {
    background-color: var(--background-light);
    padding: 60px 0;
}

.mv-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinhar topo */
    margin-bottom: 30px;
}

.mv-item i {
    font-size: 40px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.mv-item h3 {
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 15px;
    min-height: 48px; /* Ajusta conforme o número de linhas dos títulos */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.mission-vision .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Responsive adjustments for About Us Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    .page-hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    .about-section {
        padding: 40px 0;
    }
    .about-content h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .about-text p {
        font-size: 15px;
        text-align: left;
    }
    .mission-vision {
        padding: 40px 0;
    }
    .mission-vision h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .mv-item {
        margin-bottom: 20px;
        padding: 20px;
    }
    .mv-item i {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .mv-item h3 {
        font-size: 20px;
    }
    .mv-item p {
        font-size: 15px;
        line-height: 1.6;
    }
    /* Ensure row stacking for about page on smaller screens */
    .about-section .row,
    .mission-vision .row {
        flex-direction: column;
    }
    .about-section .col-md-4,
    .about-section .col-md-6,
    .about-section .col-md-12,
    .mission-vision .col-md-4,
    .mission-vision .col-md-6,
    .mission-vision .col-md-12 {
        width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 26px;
    }
    .page-hero p {
        font-size: 14px;
    }
    .about-content h2,
    .mission-vision h2 {
        font-size: 22px;
    }
    .mv-item i {
        font-size: 26px;
    }
    .mv-item h3 {
        font-size: 18px;
    }
    .mv-item p {
        font-size: 14px;
    }
}


/*------------------------------------*\
  #Gallery Page (galeria.php)
\*------------------------------------*/
.gallery-section {
    /* Override padding for the full gallery page if needed, otherwise uses global section */
    padding: 60px 0;
    background-color: var(--background-light);
}

.gallery-section h2 {
    font-size: 36px;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 40px;
}

/* Responsive adjustments for Gallery Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    .page-hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    .gallery-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .gallery-item img {
        height: 200px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 26px;
    }
    .page-hero p {
        font-size: 14px;
    }
    .gallery-section h2 {
        font-size: 24px;
    }
    .gallery-item img {
        height: 180px;
    }
}


/*------------------------------------*\
  #Contact Page (contacto.php)
\*------------------------------------*/
.contact-info-section {
    padding: 60px 0;
    background-color: var(--text-light);
}

.contact-info-section h2 {
    font-size: 36px;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 40px;
}

.contact-details {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.contact-details h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-details h3 i {
    font-size: 30px;
    color: var(--accent-orange);
    margin-right: 15px;
}

.contact-details p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.contact-details p small {
    display: block;
    font-size: 13px;
    color: #555;
    margin-top: 5px;
}

.contact-form-section {
    padding: 60px 0;
    background-color: var(--secondary-grey);
    color: var(--text-light);
}

.contact-form-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.contact-form {
    background-color: var(--primary-red); /* Form background can be primary color */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form .form-group label {
    color: var(--text-light); /* Override default form label color */
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group input[type="tel"],
.contact-form .form-group textarea {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-form .form-group button {
    background-color: var(--accent-orange);
}

.map-section {
    padding: 60px 0;
    background-color: var(--background-light);
    text-align: center;
}

.map-section h2 {
    font-size: 36px;
    color: var(--primary-red);
    margin-bottom: 40px;
}

.map-container iframe {
    width: 100%;
    height: 450px; /* Fixed height for the map */
    border: 1px solid var(--secondary-grey);
    border-radius: 20px;
}

/* Responsive adjustments for Contact Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    .page-hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    .contact-info-section h2,
    .contact-form-section h2,
    .map-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .contact-details {
        padding: 20px;
    }
    .contact-details h3 {
        font-size: 20px;
    }
    .contact-details h3 i {
        font-size: 26px;
    }
    .contact-details p {
        font-size: 15px;
    }
    .contact-form {
        padding: 20px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-submit-button {
        font-size: 14px;
        padding: 10px;
    }
    .map-container iframe {
        height: 300px;
    }
    /* Ensure column stacking for contact page */
    .contact-info-section .row {
        flex-direction: column;
    }
    .contact-info-section .col-md-6 {
        width: 100%;
        padding: 0 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 26px;
    }
    .page-hero p {
        font-size: 14px;
    }
    .contact-info-section h2,
    .contact-form-section h2,
    .map-section h2 {
        font-size: 24px;
    }
    .contact-details h3 {
        font-size: 18px;
    }
    .contact-details p {
        font-size: 14px;
    }
}


/*------------------------------------*\
  #Quote Request Page (orcamento.php)
\*------------------------------------*/
.quote-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.quote-section h2 {
    font-size: 36px;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 40px;
}

.quote-form-container {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.quote-form-container .form-group input:focus,
.quote-form-container .form-group select:focus,
.quote-form-container .form-group textarea:focus {
    border-color: var(--primary-red);
    background-color: #fff;
    outline: none;
}

.quote-form-container .form-group textarea {
    min-height: 150px;
}

.info-contact-alt {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 40px;
    margin-top: 40px;
    border-radius: 8px;
    text-align: center;
}

.info-contact-alt p {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-contact-alt a {
    color: var(--accent-orange);
    font-weight: 700;
    transition: color 0.3s ease;
}

.info-contact-alt a:hover {
    color: #D34B20;
}

/* Responsive adjustments for Quote Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    .page-hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    .quote-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .quote-form-container {
        padding: 20px;
    }
    .info-contact-alt {
        padding: 20px;
        margin-top: 20px;
    }
    .info-contact-alt p {
        font-size: 16px;
    }
}

@media (max-width: 600px) { /* Adjusting for form elements specifically */
    .quote-form-container .form-group input,
    .quote-form-container .form-group select,
    .quote-form-container .form-group textarea,
    .form-submit-button {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 26px;
    }
    .page-hero p {
        font-size: 14px;
    }
    .quote-section h2 {
        font-size: 24px;
    }
}



