body {
    font-family: sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
    padding: 10px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.mobile-nav-toggle {
    display: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 5px 10px;
    list-style: none;
}

@media (max-width: 550px) {
    .primary-navigation {
        position: fixed;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        gap: 2em;
        
        background: hsl(0 0% 98% / 0.9);
        backdrop-filter: blur(1rem);

        border-radius: 1rem 0 0 1rem;
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 9999;
        width: 35px;
        height: 30px;
        border: 0;
        background: transparent;
        cursor: pointer;
        top: 1.5rem;
        right: 1.5rem;
    }

    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 4px;
        background-color: #1b64ad;
        margin: 6px 0;
        transition: 0.4s;
        border-radius: 2px;
    }

    .change .bar1 {
        transform: translate(0, 10px) rotate(-45deg);
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        transform: translate(0, -10px) rotate(45deg);
    }

    nav ul li {
        margin: 0;
    }

    nav a {
        font-size: 1.2rem;
    }
}

nav a {
    display: inline-block;
    position: relative;
    color: #1b64ad;
    white-space: nowrap;
    text-decoration: none;
    padding: 6px 12px;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: #1b64ad;
    transition: all 0.4s ease-in-out;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 50%;
    height: 2px;
    background-color: #1b64ad;
    transition: all 0.4s ease-in-out;
}

nav a:hover {
    color: #0056b3;
    transform: scale(1.2);
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    box-sizing: border-box;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-text span {
    font-size: 1.1em;
    padding: 0 3rem;
    position: relative;
}

.ticker-text span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: 0;
    color: #4CAF50;
    font-weight: bold;
    transform: translateX(50%);
}

main {
    flex-grow: 1;
}

footer {
    background-color: #1b64ad;
    color: white;
    text-align: center;
    padding: 0.5em 0;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;

    background-image: url('ranch_panoramic.jpg');
    background-size: cover;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    color: white;
    animation: panoramic-pan 40s linear infinite alternate;
}

.hero.coming-soon-hero {
    background-image: url('ranch_sign.jpg');
    background-position: center;
    padding-bottom: 30vh;
    animation-name: none;
}


.content-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 120px;
    box-sizing: border-box;
}

.hero-text {
    margin-bottom: 20px;
}

.hero h1 {
    margin: 0;
    font-size: 3em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero h2 {
    margin: 0;
    font-size: 2em;
    font-weight: normal;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.contact-info-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-map-right iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    .contact-map-right {
        grid-column: 2 / 3;
    }
}

.contact-section {
    margin-bottom: 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 25px;
    color: #2c3e50;
}

.page-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px 30px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.pricing-card h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-top: 0;
}

.pricing-card .unit-size {
    font-style: italic;
    color: #555;
    margin-top: -10px;
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #1b64ad;
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 0.5em;
    font-weight: normal;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: #333;
}

.btn-rent {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-rent:hover {
    background-color: #45a049;
}

@keyframes panoramic-pan {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}