/* ------------------------------
   RESET & BASE
------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #111;
    line-height: 1.6;
    padding-top: 120px;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}

a {
    color: #111;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ------------------------------
   HEADER (stil Apple cu blur)
------------------------------ */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-direction: column; /* TOTUL CENTRAT */
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.logo {
    height: 120px; /* LOGO X3 MAI MARE */
}

/* MENIU CENTRAT */
nav {
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav a {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.8;
    transition: 0.3s ease;
}

/* HOVER PREMIUM */
nav a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ------------------------------
   HERO SECTION
------------------------------ */

.hero {
    text-align: center;
    padding: 140px 20px 100px;
    animation: fadeIn 1.2s ease;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn-primary {
    background: #111;
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-3px);
}

/* ------------------------------
   SECTIONS (CENTRATE)
------------------------------ */

section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center; /* TOT CONTINUTUL CENTRAT */
    animation: fadeUp 1s ease;
}

section img {
    margin: 0 auto; /* IMAGINI CENTRATE */
}

section h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

section p {
    font-size: 17px;
    opacity: 0.85;
}

/* ------------------------------
   PROPERTY CARD
------------------------------ */

.property-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    transition: 0.3s ease;
}

.property-card:hover {
    border-color: #ccc;
    transform: translateY(-4px);
}

.property-card h3 {
    margin-top: 15px;
    font-size: 24px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    border: 1px solid #111;
    border-radius: 4px;
    font-size: 15px;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: #111;
    color: #fff;
    transform: translateY(-3px);
}

/* ------------------------------
   CONTACT FORM
------------------------------ */

.contact-form {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.contact-form button {
    background: #111;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #333;
    transform: translateY(-3px);
}

/* ------------------------------
   FOOTER (mereu jos)
------------------------------ */

footer {
    background: #fafafa;
    border-top: 1px solid #eee;
    padding: 30px 20px;
    margin-top: auto; /* RAMANE JOS */
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.footer-link {
    margin: 0 10px;
    font-size: 16px;
    opacity: 0.8;
    transition: 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ------------------------------
   WHATSAPP BUTTON PLUTITOR
------------------------------ */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: 0.3s ease;
    z-index: 9999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ------------------------------
   ANIMATII
------------------------------ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------
   RESPONSIVE (TELEFON)
------------------------------ */

@media (max-width: 768px) {

    body {
        padding-top: 100px;
    }

    .header-container {
        gap: 20px;
        padding: 15px;
    }

    .logo {
        height: 100px; /* MARE SI PE TELEFON */
    }

    nav a {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 17px;
    }

    section h2 {
        font-size: 26px;
    }

    .property-card {
        padding: 15px;
    }
}
