@import url('design-system.css');

:root {
    --primary: #C9A050;
    --dark: #3D2817;
    --light: #F5F1E8;
    --white: #ffffff;
}

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

body { font-family: 'Outfit', sans-serif; color: var(--dark); line-height: 1.6; overflow-x: hidden; }

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

h1, h2, h3, h4, .font-serif, .section-title h2 { font-family: 'Playfair Display', serif; }

/* Header */
header { position: fixed; width: 100%; top: 0; z-index: 1000; transition: 0.3s; height: 80px; }
header.scrolled { background: rgba(42, 24, 16, 0.95); backdrop-filter: blur(5px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); transition: opacity 0.25s; }
.logo-link:hover { opacity: 0.92; }
.logo-img { width: 48px; height: 48px; display: block; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
.desktop-nav a { color: var(--white); text-decoration: none; margin: 0 15px; font-size: 14px; letter-spacing: 1px; transition: 0.3s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.btn-book { border: 2px solid var(--primary); background: transparent; color: var(--primary); padding: 8px 20px; cursor: pointer; transition: 0.3s; font-family: 'Outfit', sans-serif; font-size: 14px; letter-spacing: 1px; }
.btn-book:hover { background: var(--primary); color: var(--white); }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; padding: 15px 20px; background: rgba(42, 24, 16, 0.95); }
.mobile-nav a { color: var(--white); text-decoration: none; padding: 10px 0; font-size: 14px; letter-spacing: 1px; border-bottom: 1px solid rgba(201,160,80,0.15); }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--primary); }

/* Hero */
.hero { height: 70vh; min-height: 500px; background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&q=80'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.hero-content h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--white); font-style: italic; letter-spacing: 5px; }
.wavy-bottom { position: absolute; bottom: 0; width: 100%; line-height: 0; }
.wavy-bottom svg { width: 100%; display: block; }

/* Categories */
.categories { background: var(--light); padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); }
.cat-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.cat-item { text-align: center; cursor: pointer; transition: 0.3s; }
.cat-item:hover { transform: translateY(-5px); }
.cat-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; display: block; }
.cat-item h4 { font-size: 0.85rem; letter-spacing: 2px; color: var(--dark); }

/* Detail rows */
.detail-row { display: flex; flex-direction: column; }
.detail-row.reverse { flex-direction: column; }
.detail-img { flex: 1; overflow: hidden; }
.detail-img img { width: 100%; height: 450px; object-fit: cover; display: block; transition: transform 0.5s; }
.detail-img:hover img { transform: scale(1.03); }
.detail-text { flex: 1; background: var(--dark); display: flex; flex-direction: column; justify-content: center; padding: 40px 30px; color: var(--white); }
.detail-text h2 { font-size: 1.5rem; letter-spacing: 3px; color: var(--white); margin-bottom: 15px; }
.gold-line { width: 50px; height: 2px; background: var(--primary); margin-bottom: 20px; }
.detail-text p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 15px; }
.features-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 25px; }
.features-grid span { font-size: 0.8rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; }
.features-grid span i { color: var(--primary); }
.btn-explore { align-self: flex-start; border: 2px solid var(--primary); padding: 10px 30px; font-size: 0.75rem; letter-spacing: 2px; color: var(--primary); text-decoration: none; transition: 0.3s; font-family: 'Outfit', sans-serif; }
.btn-explore:hover { background: var(--primary); color: var(--white); }

@media (min-width: 1024px) {
    .detail-row { flex-direction: row; }
    .detail-row.reverse { flex-direction: row-reverse; }
    .detail-img img { height: 100%; min-height: 500px; }
    .detail-text { padding: 60px; }
}

/* Footer */
footer { background: var(--light); padding: 80px 0 30px; text-align: center; }
footer h3 { font-size: 1.2rem; color: var(--dark); }
.newsletter form { display: flex; max-width: 500px; margin: 30px auto; }
.newsletter input { flex: 1; padding: 12px; border: 2px solid var(--dark); outline: none; font-family: 'Outfit', sans-serif; }
.newsletter button { background: var(--dark); color: white; border: none; padding: 0 25px; cursor: pointer; font-family: 'Outfit', sans-serif; letter-spacing: 1px; }
.contact-info { margin-top: 30px; }
.contact-info p { font-size: 0.85rem; color: rgba(61,40,23,0.6); }
.copyright { margin-top: 30px; border-top: 1px solid rgba(61,40,23,0.15); padding-top: 20px; }
.copyright p { font-size: 0.75rem; color: rgba(61,40,23,0.4); }

@media (max-width: 768px) {
    .desktop-nav, .nav-actions .btn-book { display: none; }
    .mobile-menu-btn { display: block; }
    .cat-grid { gap: 30px; }
}




/* GLOBAL PREMIUM TYPOGRAPHY OVERRIDE */
body, p, a, button, input, select, textarea, label, span, div, td, th {
    font-family: 'Outfit', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, .logo-wordmark, .hero-title, .section-title, .card-title, .section-heading h2 {
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 0.5px;
}
/* Ensure icons keep their font family */
i.fas, i.far, i.fab, i.fa {
    font-family: "Font Awesome 6 Free" !important;
}

button, .btn, .btn-primary, .btn-secondary, .btn-danger, .btn-nav-primary, .btn-nav-outline, .btn-book, .btn-explore,
input, select, textarea, .form-input, .form-select, .form-textarea,
.card, .filter-card, .promo-card, .offer-card, .villa-card, .service-card, .stat-card, .room-card,
.modal-content, .auth-container, .table-wrap, .notification-content, .user-menu, .nav-item {
    border-radius: 0 !important;
}

#lang-toggle-btn { border-radius: 20px !important; }
