/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #c9a96e;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 20px 0px !important;
    background: #ffffff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.hero h1 {
    font-size: 3.5rem;
    color: #000000;
    margin-bottom: 3rem;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    /* font-style: italic; */
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-main-image {
    margin-bottom: 3rem;
}

.hero-main-image img {
    max-width: 100%;
    height: auto;
}

.hero-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: left;
}

.hero-description p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-images-pair {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-images-pair img {
    max-width: 45%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.grove-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: left;
}

.grove-description p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.8;
}

.hero-images-four {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-images-four img {
    max-width: 22%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.architect-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: left;
}

.architect-description p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.8;
}

.architect-image {
    margin-bottom: 3rem;
}

.architect-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.plans-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: left;
}

.plans-description p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.8;
}

.hero-images-three {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-images-three img {
    max-width: 30%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.estate-features {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.estate-features p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.8;
    margin-bottom: 0 !important;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

/* Overview Section */
.overview {
    background: #ffffff !important;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.highlight-list i {
    color: #c9a96e;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.overview-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: #c9a96e;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Interior Tabs */
.interior-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #c9a96e;
    color: #c9a96e;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button.active,
.tab-button:hover {
    background: #c9a96e;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.interior-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.interior-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.interior-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.interior-text ul {
    list-style: none;
}

.interior-text li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.interior-text li:before {
    content: "•";
    color: #c9a96e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.interior-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.interior-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.interior-gallery img:hover {
    transform: scale(1.05);
}

/* Gardens Section */
.gardens {
    background: #ffffff !important;
}

.gardens-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.gardens-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.garden-section {
    margin-bottom: 3rem;
}

.garden-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.garden-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.garden-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.garden-images img:hover {
    transform: scale(1.05);
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.amenity {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.amenity:hover {
    transform: translateY(-5px);
}

.amenity img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.amenity h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: #2c3e50;
    font-size: 1.3rem;
}

.amenity p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* History Section */
.history {
    background: #ffffff !important;
    color: #2c3e50;
}

.history h2 {
    color: #2c3e50;
}

.timeline-item {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #c9a96e;
    margin-bottom: 1rem;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Improvements Section */
.improvements {
    background: #ffffff !important;
}

.improvements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.improvement-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.improvement-category h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.improvement-category ul {
    list-style: none;
}

.improvement-category li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #000;
}

.improvement-category li:before {
    content: "✓";
    color: #c9a96e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact {
    background: #ffffff !important;
    color: #2c3e50;
}

.contact h2 {
    color: #2c3e50;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: #c9a96e;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.zip-note {
    color: #c9a96e;
    font-weight: 500;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    color: #c9a96e;
    margin-right: 1rem;
    width: 20px;
}

.urgency-note {
    background: rgba(201, 169, 110, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.urgency-note h4 {
    color: #c9a96e;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: #c9a96e;
}

.submit-btn {
    background: linear-gradient(135deg, #c9a96e 0%, #b8935a 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #c9a96e;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c9a96e;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #c9a96e;
}

.modal-nav {
    position: absolute;
    top: 50%;
    background: rgba(201, 169, 110, 0.8);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transform: translateY(-50%);
}

.modal-nav:hover {
    background: rgba(201, 169, 110, 1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 100px 20px 0px !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-images-pair img {
        max-width: 80%;
        margin-bottom: 1rem;
    }
    
    .hero-images-four {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-images-four img {
        max-width: 80%;
        margin-bottom: 1rem;
    }
    
    .hero-images-three {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-images-three img {
        max-width: 80%;
        margin-bottom: 1rem;
    }
    
    .overview-grid,
    .interior-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .interior-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 200px;
        text-align: center;
    }
}

/* Gallery Section */
.gallery {
    background: #ffffff;
    padding: 60px 0 80px 0 !important;
}

.gallery-intro {
  text-align: center;
  color: #555;
  max-width: 740px;
  margin: 0 auto 2rem;
}

.gallery-albums {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gallery-albums .album-tab {
    padding: 10px 18px;
    border: 2px solid #d0d0d0;
    color: #000;
    background: #f5f5f5;
    border-radius: 22px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    font-weight: 500;
}

/* Hover (not active) */
.gallery-albums .album-tab:hover {
    background: #e8e8e8;
    border-color: #bcbcbc;
    color: #000;
}

/* Active/selected state */
.gallery-albums .album-tab.active {
    background: #e0e0e0;
    border-color: #000;
    color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Gallery Pagination */
.gallery-pagination {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
}

.gallery-pagination.show {
  display: flex;
}

/* Legacy mobile pagination class for backward compatibility */
.mobile-gallery-pagination {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
}

.gallery-nav-btn {
  background: #c9a96e;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 80px;
}

.gallery-nav-btn:hover:not(:disabled) {
  background: #b8935a;
  transform: translateY(-1px);
}

.gallery-nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.gallery-page-info {
  font-size: 14px;
  color: #555;
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

/* Gallery Header and Footer */
.gallery-header, .gallery-footer {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  color: #000;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 1.5rem;
}


/* Show legacy mobile pagination only on mobile for backward compatibility */
@media (max-width: 768px) {
  .mobile-gallery-pagination {
    display: flex;
  }
}

