/* --- Root Variables for Brand Consistency --- */
:root {
    --white: #FFFFFF;
    --bright-white: #FAFAFA;
    --sand: #F5F5F0;
    /* Rattan/Beige hint */
    --sage: #4F5D44;
    /* Green accent */
    --sage-light: #768969;
    --dark: #333333;
    --text-gray: #555555;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

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

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

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a:hover {
    color: var(--sage);
}

.cta-button {
    background-color: var(--sage);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 2px;
}

.cta-button:hover {
    background-color: var(--sage-light);
}

/* --- Hero Section --- */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url('pointloma_condo_fotoberInput_0002.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--white);
    color: var(--sage);
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--sand);
}

/* --- Intro Section --- */
.intro {
    padding: 80px 0;
    text-align: center;
}

.intro h2 {
    margin-bottom: 20px;
    color: var(--sage);
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* --- Feature Grid --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding-bottom: 80px;
}

.feature-card {
    text-align: center;
}

.feature-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    padding: 0 10px;
}

/* --- Footer --- */
footer {
    background-color: var(--sand);
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-gray);
}

footer a {
    color: var(--sage);
    font-weight: 700;
}

/* --- Responsive Design --- */
/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        margin-left: 0;
        margin-bottom: 30px;
        opacity: 0;
    }

    .hamburger {
        display: block;
        z-index: 1000;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle div:nth-child(2) {
        opacity: 0;
    }

    .toggle div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* --- Condo Page Specific Styles --- */
.sub-hero {
    padding: 60px 0;
    text-align: center;
}

.sub-hero h1 {
    color: var(--sage);
    margin-bottom: 10px;
}

.split-feature {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.split-feature.reverse {
    flex-direction: row-reverse;
}

.feature-img {
    flex: 1;
}

.feature-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.amenity-list {
    list-style: none;
    margin-top: 20px;
}

.amenity-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

.amenity-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: bold;
}

/* Mobile adjust for split features */
@media (max-width: 768px) {

    .split-feature,
    .split-feature.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
}

/* --- Location Page Specifics --- */
.text-center {
    text-align: center;
}

.magic-section {
    padding: 80px 20px;
    background-color: var(--bright-white);
    border-radius: 4px;
    margin-bottom: 80px;
}

.magic-section h2 {
    color: var(--sage);
    margin-bottom: 20px;
}

.magic-section p {
    max-width: 700px;
    margin: 0 auto 20px auto;
}

.note {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
}

/* --- Updated Index Styles --- */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.btn-secondary {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--sage);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.intro-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 60px 20px;
    background: var(--bright-white);
    border-radius: 8px;
    margin-bottom: 80px;
    text-align: center;
}

.highlight-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 300px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
}

.preview-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {

    .intro-grid,
    .highlights,
    .gallery-preview {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* --- Booking Page Styles --- */
.booking-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    padding-bottom: 100px;
}

.calendar-placeholder {
    background: var(--sand);
    border: 2px dashed var(--sage);
    padding: 40px;
    text-align: center;
    border-radius: 4px;
}

.calendar-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Form Styling */
.booking-form {
    background: var(--bright-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.full-width {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* Policy Section */
.policy-section {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.policy-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.policy-list li {
    font-size: 0.9rem;
    color: var(--text-gray);
}