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

html {
    font-size: 16px; /* Ensure 1em = 16px */
}

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

/* Header Container Styles */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 102;
    padding: 50px;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: none;
}

.header-container.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container.scrolled + .hamburger {
    color: #5D5D5D;
}

/* Hamburger Menu Styles */
.hamburger {
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 105;
    color: #5D5D5D;
}

.logo {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 103;
    width: 120px;
    height: auto;
}

/* Optional hover effect for logo */
.logo:hover {
    opacity: 0.8;
    cursor: pointer;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 0;
    background-color: #ffffff;
    z-index: 103;
    transition: width 0.5s;
    padding-top: 60px;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow-x: hidden;
    display: block;
}

.header-container.scrolled + .hamburger + .nav-menu {
    padding-top: 110px;
}

.nav-menu a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 18px;
    color: #000000;
    display: block;
    transition: 0.3s;
    margin: 0;
    line-height: 1;
}

/* Highlight active link */
.nav-menu a.active {
    background-color: #f1f1f1;
    color: #3B3B3C;
}

.nav-menu a:hover {
    color: #f1f1f1;
}

/* Hero Section Styles */
.hero-container {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-text {
    color: #ffffff;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-in;
}

.hero-text h1 {
    font-size: 2.2em; /* Match Grizzly Summit */
    margin-bottom: 10px;
}

.hero-address {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #ffffff;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Match Grizzly Summit */
    text-align: left;
}

.hero-address .address-line {
    font-size: 1.2em; /* Match Grizzly Summit */
    margin-bottom: 5px;
}

.hero-address .price-line {
    font-size: 1em; /* Already matches Grizzly Summit */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Property Details Section Styles */
.property-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.details-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.detail-item {
    font-size: 1.1em;
    color: #5D5D5D;
}

.detail-label {
    font-weight: bold;
    color: #3B3B3C;
    margin-right: 5px;
}

/* Property Content Section Styles */
.property-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
}

.content-container {
    display: flex;
    gap: 40px;
}

.description {
    flex: 1;
    padding: 0;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.description-wrapper {
    height: auto;
    padding: 8px 0;
}

.description p {
    font-size: 1em !important; /* 16px */
    color: #000000;
    line-height: 1.3 !important;
    text-align: left !important;
    margin: 0;
    padding: 0 20px;
}

/* Key Features Section */
.key-features {
    margin: 0px 0 0;
    padding: 0;
    text-align: left;
    margin-left: 0;
}

.key-features h2 {
    font-family: Arial, sans-serif;
    font-size: 1em !important; /* 16px */
    font-weight: bold;
    color: #000000;
    margin: 0 0 4px 0 !important;
    padding: 0 20px 0 0 !important;
    white-space: nowrap;
    display: block;
    text-align: left !important;
    margin-left: 0 !important;
}

.key-features ul {
    font-family: Arial, sans-serif;
    font-size: 1em !important; /* 16px */
    color: #000000;
    line-height: 1.3;
    text-align: left !important;
    margin: 0;
    padding: 0 20px 0 40px;
    list-style-type: disc;
}

.key-features ul li {
    margin-bottom: 4px;
}

/* Sales Team Section Styles */
.description .sales-team {
    margin: 8px 0 0;
    padding: 0;
    text-align: left;
    margin-left: 0;
}

.description .sales-team h2 {
    font-family: Arial, sans-serif !important;
    font-size: 1em !important; /* 16px */
    font-weight: bold !important;
    color: #000000 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 20px 0 0 !important;
    white-space: nowrap !important;
    display: block !important;
    text-align: left !important;
    margin-left: 0 !important;
}

.description .sales-team p {
    font-family: Arial, sans-serif !important;
    font-size: 1.0em !important; /* 12.8px */
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 20px 0 0 !important;
    display: block !important;
    text-align: left !important;
    margin-left: 0 !important;
    line-height: 1.3 !important;
}

.content-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnail-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.thumbnail-wrapper {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.thumbnail-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail-image:hover {
    transform: scale(1.05);
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    text-indent: -9999px;
}

.slideshow-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slideshow-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.left-arrow {
    left: 10px;
}

.left-arrow::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.7)"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"/></svg>');
}

.right-arrow {
    right: 10px;
}

.right-arrow::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.7)"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
}

.right-arrow:hover::before,
.left-arrow:hover::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.9)"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
}

.left-arrow:hover::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.9)"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"/></svg>');
}

/* Floorplan Slideshow Styles */
.floorplan-slideshow-container {
    margin-top: 120px;
    text-align: center;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
}

.floorplan-title {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000000;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    z-index: 10;
}

.floorplan-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    border: none;
    outline: none;
    background: #fff;
}

.floorplan-left-arrow {
    left: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
}

.floorplan-left-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.floorplan-left-arrow::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(0,0,0,0.7)"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"/></svg>');
    width: 24px;
    height: 24px;
}

.floorplan-left-arrow:hover::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(0,0,0,0.9)"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"/></svg>');
}

.floorplan-right-arrow {
    right: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
}

.floorplan-right-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.floorplan-right-arrow::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(0,0,0,0.7)"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
    width: 24px;
    height: 24px;
}

.floorplan-right-arrow:hover::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(0,0,0,0.9)"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>');
}

/* Contact Section Styles */
.contact-section {
    max-width: 1400px;
    padding: 20px 15px;
    text-align: left;
    margin-top: 40px;
}

.contact-section h1 {
    font-size: 3em;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.contact-section p {
    font-size: 1.3em;
    color: #5D5D5D;
    text-align: center;
}

.contact-section p:first-of-type {
    margin-bottom: 0;
}

.contact-section p:last-of-type {
    margin-bottom: 40px;
}

.contact-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-column {
    flex: 1;
}

.contact-column .form-group {
    margin-bottom: 15px;
}

.contact-column .form-group label {
    display: block;
    font-size: 1.1em;
    color: #000000;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-column .form-group input,
.contact-column .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

.contact-column .form-group input::placeholder,
.contact-column .form-group textarea::placeholder {
    color: #999999;
    font-style: italic;
    opacity: 0.8;
}

.contact-column .form-group textarea {
    resize: vertical;
    height: 80px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.submit-button {
    background-color: #3B3B3C;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #228B22; /* Forest green */
}

/* Footer Styles */
footer {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

footer p {
    margin: 0;
}

.footer-links {
    margin: 0;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #e6e6e6;
}

.footer-links .instagram-icon {
    vertical-align: middle;
    width: 16px;
    height: 16px;
    transition: opacity 0.3s;
}

.footer-links a:hover .instagram-icon {
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .details-container {
        flex-direction: column;
        gap: 10px;
    }

    .detail-item {
        font-size: 1em;
    }

    .content-container {
        flex-direction: column;
        gap: 30px;
    }

    .description {
        max-height: 400px;
        justify-content: center;
    }

    .description-wrapper {
        height: auto;
        padding: 4px 0;
    }

    .description p {
        font-size: 0.75em !important; /* 12px */
        padding: 0 15px;
        line-height: 1.2 !important;
        text-align: left !important;
    }

    .key-features {
        margin: 6px 0 0;
        padding: 0;
        margin-left: 0;
    }

    .key-features h2 {
        font-size: 0.75em !important; /* 12px */
        padding: 0 15px 0 0 !important;
        margin: 0 0 4px 0 !important;
        display: block;
        text-align: left !important;
        margin-left: 0 !important;
    }

    .key-features ul {
        font-size: 0.75em !important; /* 12px */
        padding: 0 15px 0 30px;
        line-height: 1.2;
    }

    .description .sales-team {
        margin: 6px 0 0;
        padding: 0;
        text-align: left;
        margin-left: 0;
    }

    .description .sales-team h2 {
        font-size: 0.75em !important; /* 12px */
        padding: 0 15px 0 0 !important;
        margin: 0 0 4px 0 !important;
        display: block !important;
        text-align: left !important;
        margin-left: 0 !important;
    }

    .description .sales-team p {
        font-size: 0.7em !important; /* 11.2px */
        padding: 0 15px 0 0 !important;
        margin: 0 !important;
        display: block !important;
        text-align: left !important;
        margin-left: 0 !important;
        line-height: 1.2 !important;
    }

    .main-image-container {
        height: 300px;
    }

    .main-image {
        width: 100%;
        height: 300px;
    }

    .thumbnail-container {
        width: 100%;
        overflow: hidden;
    }

    .thumbnail-wrapper {
        flex-direction: row;
        gap: 10px;
    }

    .thumbnail-image {
        width: 80px;
        height: 80px;
    }

    .slideshow-arrow {
        width: 32px;
        height: 32px;
    }

    .slideshow-arrow::before {
        width: 16px;
        height: 16px;
    }

    .floorplan-slideshow-container {
        margin-top: 90px;
        background: transparent;
        border: none;
        padding: 0;
    }

    .floorplan-title {
        font-size: 1em;
        padding: 6px 10px;
    }

    .floorplan-image {
        max-width: 90%;
        border: none;
        outline: none;
        background: #fff;
    }

    .floorplan-left-arrow,
    .floorplan-right-arrow {
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .floorplan-left-arrow:hover,
    .floorplan-right-arrow:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .floorplan-left-arrow::before,
    .floorplan-right-arrow::before {
        width: 20px;
        height: 20px;
    }

    .contact-section {
        padding: 15px 10px;
    }

    .contact-section h1 {
        font-size: 2.5em;
    }

    .contact-section p {
        font-size: 1.1em;
    }

    .contact-section p:last-of-type {
        margin-bottom: 30px;
    }

    .contact-columns {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 15px;
    }

    .contact-column .form-group {
        margin-bottom: 10px;
    }

    .contact-column .form-group label {
        font-size: 1em;
    }

    .contact-column .form-group input,
    .contact-column .form-group textarea {
        font-size: 0.9em;
    }

    .submit-button {
        font-size: 1em;
        padding: 10px 25px;
    }

    .submit-button:hover {
        background-color: #228B22; /* Forest green */
    }
}