/* Reset and Base Styles */
@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Gentium Plus';
  src: url('../fonts/GentiumPlus-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #000077; /* Dark Blue */
  --secondary-color: #f4f4f4; /* Light Gray */
  --text-color: #212121; /* Dark Gray */
  --light-text-color: #ffffff;
  --font-heading: 'Lora', serif;
  --font-body: 'Gentium Plus', serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header & Navigation */
.main-nav {
  background: var(--primary-color);
  padding: 1rem 0;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.main-nav ul li {
  margin: 0 1rem;
}

.main-nav a {
  color: var(--light-text-color);
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--light-text-color);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero h1 {
    color: var(--light-text-color);
    font-size: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 5px;
}

/* Sections */
section {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

section:last-of-type {
    border-bottom: none;
}

section h2, section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Image Galleries */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

/* Floor Plans */
.floor-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    text-align: center;
}

/* Button */
.btn {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1rem;
}

.book-now-section {
    text-align: center;
    padding: 2rem 0;
}

/* Footer */
.main-footer {
  background: var(--text-color);
  color: var(--light-text-color);
  text-align: center;
  padding: 2rem 0;
}

.main-footer a {
    color: var(--light-text-color);
}

/* Responsive */
@media(max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .container { width: 95%; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul li { margin: 0.5rem 0; }
}
