/* ============================================
   VillaKirala - Premium Gold & Black Design
   Inspired by foacollection.com
   ============================================ */

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

:root {
    --primary: #c5a059;        /* Sophisticated Bronze/Gold */
    --primary-light: #f9f5ed;  /* Champagne Cream */
    --dark: #12151a;           /* Obsidian Black */
    --text: #2c2e33;           /* Charcoal Gray */
    --muted: #8e9196;          /* Soft Pebble */
    --bg: #fcfaf7;             /* Ivory White */
    --white: #ffffff;
    --radius: 0;               /* Sharp corners for high-end look */
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    --transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; -webkit-font-smoothing: antialiased; }

h1, h2, h3, .logo { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: -0.02em; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* ---- HEADER ---- */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.8rem; text-transform: uppercase; letter-spacing: 4px; color: var(--dark); }
.logo span { color: var(--primary); font-weight: 400; }

.main-nav { display: flex; gap: 40px; }
.main-nav a { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--text); }
.main-nav a:hover { color: var(--primary); }

.btn-wa {
    background: var(--dark); color: #fff;
    padding: 14px 35px; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    border: none; transition: 0.4s;
}
.btn-wa:hover { background: var(--primary); }

/* ---- HERO ---- */
.hero-section {
    height: 80vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://static.vecteezy.com/system/resources/previews/039/271/525/large_2x/ai-generated-beautiful-modern-villa-in-mediterranean-style-free-photo.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    color: #fff; text-align: center;
    border-bottom: none;
}
.hero-section h1 { 
    font-size: 5rem; font-weight: 900; color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 20px; letter-spacing: -2px;
}
.hero-intro { 
    font-size: 1.2rem; color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto; 
    letter-spacing: 1px; font-weight: 300;
}

/* ---- LISTING ---- */
.listing-section { padding: 100px 0; }
.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; }

/* ---- VILLA CARD ---- */
.villa-card {
    background: transparent;
    transition: var(--transition);
}
.img-box { position: relative; overflow: hidden; margin-bottom: 30px; }
.img-box img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: 1.5s; }
.villa-card:hover img { transform: scale(1.05); }

.card-badge {
    position: absolute; top: 25px; left: 25px;
    background: rgba(18, 21, 26, 0.8); backdrop-filter: blur(5px);
    color: var(--primary); border: 1px solid var(--primary);
    padding: 6px 18px; font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
}

.card-body { padding: 35px 0; }
.card-meta { font-size: 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.card-title { font-size: 2.4rem; color: var(--dark); margin-bottom: 15px; font-weight: 700; line-height: 1.1; }
.card-title a { text-decoration: none; color: inherit; }
.card-title a:hover { color: var(--primary); }

.card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f2f2f2; padding-top: 30px; margin-top: 10px; }
.card-price-box { display: flex; flex-direction: column; }
.card-price-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 5px; font-weight: 700; }
.card-price { font-size: 2rem; color: var(--dark); font-family: 'Playfair Display', serif; font-weight: 900; }
.card-price span { font-size: 1rem; font-weight: 400; margin-left: 5px; }

.btn-detail {
    background: transparent; color: var(--dark);
    padding: 15px 40px; border: 1px solid var(--dark);
    font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    transition: all 0.4s ease;
}
.btn-detail:hover { background: var(--dark); color: #fff; transform: translateX(10px); }

/* ---- FOOTER ---- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 80px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-col strong { display: block; color: var(--white); font-weight: 800; font-size: 1.1rem; margin-bottom: 25px; font-family: 'Playfair Display', serif; }
.footer-col p { font-size: 0.95rem; line-height: 1.8; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 0.9rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 20px; text-align: center; font-size: 0.85rem; }

/* ---- MOBILE STICKY ---- */
.mobile-sticky-cta {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 75px;
    background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); z-index: 9999;
    padding: 15px 25px; gap: 20px; border-top: 1px solid rgba(191, 148, 16, 0.2);
}
.cta-item {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 0; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px;
}
.cta-call { background: transparent; color: #fff; border: 1px solid var(--primary); }
.cta-whatsapp { background: #25D366; color: #fff; }

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 15px; padding: 20px; }
    .main-nav { order: 3; flex-wrap: wrap; gap: 10px 20px; }
    .listing-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .mobile-sticky-cta { display: flex; }
    body { padding-bottom: 75px; }
}
