/* PORTA NOVA GLOBAL - Premium CSS */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-dark: #0f2942;
    --primary-light: #1a3f5c;
    --accent-gold: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f6f1;
    --white: #ffffff;
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p { color: var(--text-light); line-height: 1.8; }

a { color: var(--primary-dark); text-decoration: none; }

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

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
}

.logo-img {
    max-height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex: 1;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.nav-links a:hover { color: var(--accent-gold); }

.nav-links .btn {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 700;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher select {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-switcher select:hover {
    background: rgba(255,255,255,0.25);
}

.lang-switcher select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.lang-switcher option {
    background: var(--primary-dark);
    color: var(--white);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-content {
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255,255,255,0.95);
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #c9a82e;
    transform: translateY(-3px);
}

/* SECTIONS */
section {
    padding: 5rem 2rem;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
    width: 100%;
}

.features-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

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

.feature:hover, .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.property-image {
    width: 100%;
    height: 250px;
    background: #e0e0e0;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info {
    padding: 2rem;
}

.location {
    color: var(--accent-gold);
    font-weight: 600;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.property-meta .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

/* FOOTER */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: var(--accent-gold);
}

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

.footer-section a {
    color: rgba(255,255,255,0.85);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { gap: 1rem; font-size: 0.9rem; }
    section { padding: 3rem 1rem; }
}

/* Language Switcher Links */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-link {
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

.lang-link:hover {
    color: var(--white);
    border-color: var(--accent-gold);
}

.lang-link.active {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}
