/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #333;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header h2 {
  color: #1B4332;
}

button {
  background: #D4AF37;
  border: none;
  padding: 10px 15px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #b8962e;
}

/* DASHBOARD CARDS */
.dashboard {
  display: flex;
  gap: 20px;
  padding: 30px 40px;
}

.card {
  flex: 1;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 10px;
}

/* FEATURES GRID */
.features {
  padding: 30px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* FEATURE CARD */
.feature {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #1B4332;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
  position: relative;
}

/* GOLD LINE EFFECT */
.feature::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #D4AF37;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.feature:hover {
  transform: translateY(-5px);
  background: #1B4332;
  color: white;
}

/* CONTENT PAGE */
.content {
  padding: 40px;
}

.content h3 {
  color: #1B4332;
  margin-bottom: 10px;
}

/* INPUTS */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* LOGIN BOX */
.auth-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #1B4332, #2D6A4F);
}

.hero {
  height: 250px;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
}

/* AUTH BACKGROUND */
.auth-bg {
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CENTER CONTAINER */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GLASS CARD */
.auth-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 16px;
  width: 320px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* TITLE */
.auth-card h2 {
  margin-bottom: 10px;
}

.auth-card p {
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.8;
}

/* INPUT */
.auth-card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  outline: none;
}

/* BUTTON */
.auth-card button {
  width: 100%;
  padding: 12px;
  background: #D4AF37;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.auth-card button:hover {
  background: #b8962e;
  transform: translateY(-2px);
}

/* LINKS */
.auth-card a {
  display: block;
  margin-top: 10px;
  color: #D4AF37;
  text-decoration: none;
  font-size: 14px;
}

.auth-card a:hover {
  text-decoration: underline;
}

/* FEATURE GRID */
.features {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* CARD */
.feature-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

/* IMAGE */
.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.4s;
}

/* OVERLAY TEXT */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-weight: 600;
  text-align: center;
}

/* HOVER EFFECT */
.feature-card:hover img {
  transform: scale(1.1);
}

.feature-card:hover .overlay {
  background: rgba(27, 67, 50, 0.8);
}

/* COMMENT BOX */
.comment-box {
  background: white;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comment-box strong {
  color: #1B4332;
}
/* TOP BAR */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* BACK BUTTON */
.back-btn {
  text-decoration: none;
  background: #1B4332;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #2D6A4F;
}

/* PAGE BACKGROUND */
body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7f6;
  margin: 0;
}

/* FEATURES GRID */
.features {
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD */
.feature-card {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

/* IMAGE */
.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* HOVER EFFECT */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-card:hover img {
  transform: scale(1.1);
}

.feature-card:hover .overlay {
  background: linear-gradient(to top, rgba(27,67,50,0.85), transparent);
}

:root {
  --primary: #1a2a3a;      /* Deep Navy */
  --accent: #c5a059;       /* Muted Gold */
  --bg-light: #f8f9fa;     /* Soft White */
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  margin: 0;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: var(--white);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--accent);
}

header h2 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: var(--primary);
  letter-spacing: 1px;
}

/* Luxury Buttons */
button, .button-link {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 42, 58, 0.8), rgba(26, 42, 58, 0.8)), 
              url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 80px 5%;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Dashboard Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 50px 5%;
}

.feature-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 200px;
  text-decoration: none;
  transition: var(--transition);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 42, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
  opacity: 0.9;
  transition: var(--transition);
}

.feature-card:hover .overlay {
  background: rgba(197, 160, 89, 0.85); /* Transitions to gold on hover */
}

.feature-card:hover img {
  transform: scale(1.1);
}

/* Tables & Content */
.content {
  max-width: 900px;
  margin: 40px auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th {
  text-align: left;
  background: var(--bg-light);
  color: var(--primary);
  padding: 15px;
  border-bottom: 2px solid var(--accent);
}

td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

.summary-box {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  padding: 30px;
  border-radius: 8px;
  animation: fadeIn 0.5s ease-in;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 1rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  padding: 20px 0;
}

.bold { font-weight: 600; }

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 15px 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 15px;
}


:root {
  --primary: #1a2a3a;      /* Elegant Deep Navy */
  --accent: #c5a059;       /* Muted Luxury Gold */
  --bg-light: #f4f7f9;     /* Soft Grey Background */
  --text-main: #2c3e50;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  margin: 0;
  line-height: 1.6;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--white);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
}

header h2 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: var(--primary);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

/* --- BUTTONS --- */
button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
}

button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* --- DASHBOARD & HERO --- */
.hero {
  background: linear-gradient(rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.85)), 
              url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 60px 5%;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 5%;
}

.feature-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 220px;
  text-decoration: none;
  transition: var(--transition);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 42, 58, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.feature-card:hover .overlay {
  background: rgba(197, 160, 89, 0.85); /* Turns gold on hover */
}

.feature-card:hover img {
  transform: scale(1.1);
}

/* --- CONTENT PAGES (Inventory, Legal, etc.) --- */
.content {
  max-width: 900px;
  margin: 50px auto;
  background: var(--white);
  padding: 50px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

/* Elegant Tables (Inventory) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th {
  background: var(--bg-light);
  color: var(--primary);
  text-align: left;
  padding: 15px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

td {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

/* Lists (Legal Documents) */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 15px 20px;
  background: var(--bg-light);
  margin-bottom: 10px;
  border-left: 4px solid var(--accent);
  border-radius: 0 5px 5px 0;
  transition: var(--transition);
}

ul li:hover {
  transform: translateX(10px);
  background: #eef2f5;
}

/* Form Elements (Comments) */
input, textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.report-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 600px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ELEGANT COMMENT CARDS --- */
.comment-container {
    margin-top: 20px;
}

.comment-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    border-left: 4px solid var(--accent); /* Gold accent from your theme */
    transition: transform 0.2s ease;
}

.comment-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-header strong {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Elegant Delete Button */
.delete-btn {
    background: transparent !important;
    color: #ccc !important;
    font-size: 1.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
    width: auto !important;
    cursor: pointer;
    box-shadow: none !important;
}

.delete-btn:hover {
    color: #e74c3c !important; /* Muted red on hover */
    transform: scale(1.2);
}

.comment-card p {
    color: var(--text-muted);
    margin: 5px 0;
}

.comment-card small {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #333;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header h2 {
  color: #1B4332;
}

button {
  background: #D4AF37;
  border: none;
  padding: 10px 15px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #b8962e;
}

/* DASHBOARD CARDS */
.dashboard {
  display: flex;
  gap: 20px;
  padding: 30px 40px;
}

.card {
  flex: 1;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 10px;
}

/* FEATURES GRID */
.features {
  padding: 30px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* FEATURE CARD */
.feature {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #1B4332;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
  position: relative;
}

/* GOLD LINE EFFECT */
.feature::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #D4AF37;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.feature:hover {
  transform: translateY(-5px);
  background: #1B4332;
  color: white;
}

/* CONTENT PAGE */
.content {
  padding: 40px;
}

.content h3 {
  color: #1B4332;
  margin-bottom: 10px;
}

/* INPUTS */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* LOGIN BOX */
.auth-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #1B4332, #2D6A4F);
}

.hero {
  height: 250px;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
}

/* AUTH BACKGROUND */
.auth-bg {
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CENTER CONTAINER */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GLASS CARD */
.auth-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 16px;
  width: 320px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* TITLE */
.auth-card h2 {
  margin-bottom: 10px;
}

.auth-card p {
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.8;
}

/* INPUT */
.auth-card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  outline: none;
}

/* BUTTON */
.auth-card button {
  width: 100%;
  padding: 12px;
  background: #D4AF37;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.auth-card button:hover {
  background: #b8962e;
  transform: translateY(-2px);
}

/* LINKS */
.auth-card a {
  display: block;
  margin-top: 10px;
  color: #D4AF37;
  text-decoration: none;
  font-size: 14px;
}

.auth-card a:hover {
  text-decoration: underline;
}

/* FEATURE GRID */
.features {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* CARD */
.feature-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

/* IMAGE */
.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.4s;
}

/* OVERLAY TEXT */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-weight: 600;
  text-align: center;
}

/* HOVER EFFECT */
.feature-card:hover img {
  transform: scale(1.1);
}

.feature-card:hover .overlay {
  background: rgba(27, 67, 50, 0.8);
}

/* COMMENT BOX */
.comment-box {
  background: white;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comment-box strong {
  color: #1B4332;
}
/* TOP BAR */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* BACK BUTTON */
.back-btn {
  text-decoration: none;
  background: #1B4332;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #2D6A4F;
}

/* PAGE BACKGROUND */
body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7f6;
  margin: 0;
}

/* FEATURES GRID */
.features {
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD */
.feature-card {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

/* IMAGE */
.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* HOVER EFFECT */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-card:hover img {
  transform: scale(1.1);
}

.feature-card:hover .overlay {
  background: linear-gradient(to top, rgba(27,67,50,0.85), transparent);
}


:root {
  --primary: #1a2a3a;      /* Deep Navy */
  --accent: #c5a059;       /* Muted Gold */
  --bg-light: #f8f9fa;     /* Soft White */
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  margin: 0;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: var(--white);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--accent);
}

header h2 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: var(--primary);
  letter-spacing: 1px;
}

/* Luxury Buttons */
button, .button-link {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 42, 58, 0.8), rgba(26, 42, 58, 0.8)), 
              url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 80px 5%;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Dashboard Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 50px 5%;
}

.feature-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 200px;
  text-decoration: none;
  transition: var(--transition);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 42, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
  opacity: 0.9;
  transition: var(--transition);
}

.feature-card:hover .overlay {
  background: rgba(197, 160, 89, 0.85); /* Transitions to gold on hover */
}

.feature-card:hover img {
  transform: scale(1.1);
}

/* Tables & Content */
.content {
  max-width: 900px;
  margin: 40px auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th {
  text-align: left;
  background: var(--bg-light);
  color: var(--primary);
  padding: 15px;
  border-bottom: 2px solid var(--accent);
}

td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

.summary-box {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  padding: 30px;
  border-radius: 8px;
  animation: fadeIn 0.5s ease-in;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 1rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  padding: 20px 0;
}

.bold { font-weight: 600; }

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 15px 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 15px;
}

:root {
  --primary: #1a2a3a;      /* Elegant Deep Navy */
  --accent: #c5a059;       /* Muted Luxury Gold */
  --bg-light: #f4f7f9;     /* Soft Grey Background */
  --text-main: #2c3e50;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  margin: 0;
  line-height: 1.6;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--white);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
}

header h2 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: var(--primary);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

/* --- BUTTONS --- */
button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
}

button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* --- DASHBOARD & HERO --- */
.hero {
  background: linear-gradient(rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.85)), 
              url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 60px 5%;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 5%;
}

.feature-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 220px;
  text-decoration: none;
  transition: var(--transition);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 42, 58, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.feature-card:hover .overlay {
  background: rgba(197, 160, 89, 0.85); /* Turns gold on hover */
}

.feature-card:hover img {
  transform: scale(1.1);
}

/* --- CONTENT PAGES (Inventory, Legal, etc.) --- */
.content {
  max-width: 900px;
  margin: 50px auto;
  background: var(--white);
  padding: 50px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

/* Elegant Tables (Inventory) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th {
  background: var(--bg-light);
  color: var(--primary);
  text-align: left;
  padding: 15px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

td {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

/* Lists (Legal Documents) */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 15px 20px;
  background: var(--bg-light);
  margin-bottom: 10px;
  border-left: 4px solid var(--accent);
  border-radius: 0 5px 5px 0;
  transition: var(--transition);
}

ul li:hover {
  transform: translateX(10px);
  background: #eef2f5;
}

/* Form Elements (Comments) */
input, textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.report-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 600px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ELEGANT COMMENT CARDS --- */
.comment-container {
    margin-top: 20px;
}

.comment-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    border-left: 4px solid var(--accent); /* Gold accent from your theme */
    transition: transform 0.2s ease;
}

.comment-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-header strong {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Elegant Delete Button */
.delete-btn {
    background: transparent !important;
    color: #000000 !important;
    font-size: 1.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
    width: auto !important;
    cursor: pointer;
    box-shadow: none !important;
}

.delete-btn:hover {
    color: #e74c3c !important; /* Muted red on hover */
    transform: scale(1.2);
}

.comment-card p {
    color: var(--text-muted);
    margin: 5px 0;
}

.comment-card small {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

/* --- PROPERTY INVENTORY STYLES --- */
.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.property-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
    position: relative;
    transition: var(--transition);
    border-top: 5px solid var(--accent); /* Luxury gold border */
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Status Colors */
.available .status-badge { background: #e6f4ea; color: #1e7e34; }
.reserved .status-badge { background: #fff4e5; color: #b05d00; }
.sold .status-badge { background: #fce8e8; color: #c62828; }

.prop-info h4 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.total-price {
    font-weight: bold;
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.85rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* --- LEGAL PAGE STYLES --- */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.legal-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #eef0f2;
    transition: var(--transition);
    border-right: 3px solid #ddd; /* Subtle border */
}

.legal-card:hover {
    border-right: 3px solid var(--accent); /* Changes to Gold on hover */
    box-shadow: var(--shadow);
}

.legal-icon {
    font-size: 2rem;
    color: var(--accent);
}

.legal-info h4 {
    margin: 0;
    color: var(--primary);
}

.legal-info p {
    font-size: 0.85rem;
    margin: 5px 0;
    color: var(--text-muted);
}

.btn-view {
    padding: 5px 12px;
    font-size: 0.8rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

