:root {
    --primary-color: #d4a373; /* Gold/Tan */
    --secondary-color: #faedcd; /* Pale Yellow */
    --accent-color: #ccd5ae; /* Soft Green */
    --text-color: #333;
    --light-bg: #fefae0;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--primary-color);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1001;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Header & Nav */
.main-header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 35px; /* Height of announcement bar approx */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo-img {
    height: 50px;
    margin-right: 15px;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

.main-nav ul li a:hover, 
.main-nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #bc8a5f;
}

/* Grid Sections */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 60px 0 40px;
}

.product-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card, .service-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover, .service-item:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* General Page Content */
.page-content {
    padding: 60px 20px;
}

.page-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.rounded-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.styled-form .form-group {
    margin-bottom: 20px;
}

.styled-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.styled-form input, .styled-form select, .styled-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.info-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    background: #222;
    color: #eee;
    padding: 80px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* Cookie Bar */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #333;
    color: white;
    padding: 20px 0;
    z-index: 2000;
    display: none; /* Controlled by JS */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-content a {
    color: var(--primary-color);
}

.cookie-btns button {
    margin-left: 15px;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: white;
}

.btn-cookie-reject {
    background: transparent;
    border: 1px solid white !important;
    color: white;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
}

/* Legal Pages Specific */
.legal-page {
    max-width: 800px;
    margin: 50px auto;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Actualidade Timeline */
.timeline {
    margin-bottom: 60px;
}

.timeline-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    .main-nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav ul li {
        margin: 5px 10px;
    }
    .two-columns, .contact-container, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-btns {
        margin-top: 15px;
    }
}