:root {
    --primary: #1a6d5e;
    --primary-dark: #0d5448;
    --secondary: #d4af37;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}


/* Hero Section */
.plot-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 100px 0 60px;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.plot-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--secondary);
}

.plot-tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Plot Details */
.plot-details {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 30px;
    margin: -60px auto 60px;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    text-align: center;
    padding: 20px 15px;
    border-radius: 10px;
    background: var(--light);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.detail-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.detail-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.rate-badge {
    background: var(--secondary);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 8px;
}

/* Facilities Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.facility-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 25px 15px;
    position: relative;
    z-index: 1;
}

.facility-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
}

.facility-card:hover:before {
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-8px);
    color: white;
}

.facility-card:hover i,
.facility-card:hover .facility-title {
    color: white;
}

.facility-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: var(--transition);
}

.facility-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    transition: var(--transition);
}

/* Nearby Developments */
.developments {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.developments:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1475&q=80');
    background-size: cover;
    opacity: 0.1;
}

.developments .section-title h2,
.developments .section-title p {
    color: white;
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.dev-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dev-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.dev-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
}

.dev-name {
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.dev-name i {
    margin-right: 8px;
    color: var(--secondary);
}

.dev-distance {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--secondary);
}

.dev-description {
    opacity: 0.9;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Distance Diagram - Made Responsive */
.distance-diagram {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    margin: 50px 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.diagram-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-size: 1.8rem;
}

.diagram-container {
    position: relative;
    height: 0;
    padding-bottom: 100%;
    /* Maintain aspect ratio */
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.diagram-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.plot-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    z-index: 10;
    box-shadow: 0 0 0 6px rgba(26, 109, 94, 0.3);
    font-size: 0.9rem;
    padding: 5px;
}

.location-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.marker-dot:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.marker-label {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-top: 8px;
    text-align: center;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marker-distance {
    background: var(--primary);
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 600;
}

.distance-line {
    position: absolute;
    background: var(--primary);
    height: 2px;
    transform-origin: 0 0;
    z-index: 1;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Investment Section */
.investment {
    background: linear-gradient(135deg, #0a3d2f 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 70px 0;
}

.investment-content {
    max-width: 800px;
    margin: 0 auto;
}

.investment h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.investment p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

.benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    backdrop-filter: blur(5px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .plot-hero h1 {
        font-size: 2.2rem;
    }

    .plot-tagline {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: 0.5s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .plot-hero {
        padding: 90px 0 40px;
    }

    .plot-hero h1 {
        font-size: 2rem;
    }

    .plot-details {
        padding: 25px 15px;
        margin: -50px auto 50px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .diagram-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .plot-center {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
    }

    .marker-label {
        font-size: 0.75rem;
        padding: 5px 10px;
        max-width: 100px;
    }
}

@media (max-width: 576px) {
    .plot-hero h1 {
        font-size: 1.8rem;
    }

    .plot-tagline {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .dev-grid {
        grid-template-columns: 1fr;
    }

    .diagram-title {
        font-size: 1.5rem;
    }

    .plot-center {
        width: 70px;
        height: 70px;
        font-size: 0.75rem;
    }

    .marker-label {
        white-space: normal;
        max-width: 80px;
        font-size: 0.7rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 200px;
    }
}