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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #e0e0e0;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
    color: #c0c0c0;
    font-size: 1.1rem;
    line-height: 1.6;
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #f0d878;
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f0d878 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f0d878 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: #000;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #000;
    text-decoration: none;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h1 {
    font-size: 1.75rem;
    color: #d4af37;
    margin: 0;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d4af37;
    text-decoration: none;
}

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

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container iframe {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    color: #d4af37;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

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

.hero-details span {
    font-size: 1.1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-price {
    color: #d4af37 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Overview Section */
.overview {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

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

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overview-content h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.overview-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
}

.feature-item h4 {
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #c0c0c0;
}

/* Lodge Section */
.lodge {
    background: #0a0a0a;
}

.lodge-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.lodge-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.spec-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
}

.spec-item h4 {
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.spec-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #c0c0c0;
}

.lodge-features h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
    color: #c0c0c0;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.features-list li:last-child {
    border-bottom: none;
}

.image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px dashed #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
}

/* Barn Section */
.barn {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

.barn-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.barn-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
    text-align: center;
}

.barn-stat {
    padding: 1.5rem;
}

.stat-large {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-small {
    display: block;
    font-size: 0.9rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.barn-residence {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
}

/* Land Section */
.land {
    background: #0a0a0a;
}

.land-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.land-feature {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
}

.land-feature:last-child {
    margin-bottom: 0;
}

.land-feature h3 {
    color: #d4af37;
    margin-bottom: 1rem;
}

/* Boarding Section */
.boarding {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

.boarding-content {
    max-width: 900px;
    margin: 0 auto;
}

.boarding-feature {
    margin-bottom: 3rem;
    text-align: center;
}

.boarding-services {
    margin-bottom: 3rem;
}

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

.service-item {
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-item h4 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.boarding-business {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
    padding: 3rem;
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Location Section */
.location {
    background: #0a0a0a;
}

.location-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-feature {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
}

.location-feature:last-child {
    margin-bottom: 0;
}

.location-feature h3 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.map-placeholder {
    height: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px dashed #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

.map-details {
    margin-top: 2rem;
    color: #a0a0a0;
    font-style: normal;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

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

.contact-details, .contact-methods, .property-summary {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
}

.contact-details:last-child, .contact-methods:last-child, .property-summary:last-child {
    margin-bottom: 0;
}

.agent-info p {
    margin-bottom: 0.5rem;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    color: #d4af37;
    min-width: 100px;
}

.property-summary ul {
    list-style: none;
    padding: 0;
}

.property-summary li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
    color: #c0c0c0;
}

.property-summary li:last-child {
    border-bottom: none;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 8px;
    border: 1px solid #333;
    padding: 3rem;
}

.contact-form h3 {
    color: #d4af37;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d4af37;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #000000;
    padding: 4rem 0 2rem;
    border-top: 1px solid #333;
}

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

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #a0a0a0;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-details {
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .overview-grid,
    .lodge-grid,
    .barn-grid,
    .land-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .overview-features,
    .lodge-specs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .barn-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-item strong {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .spec-item,
    .land-feature,
    .location-feature,
    .service-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .boarding-business {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Print styles */
@media print {
    .nav,
    .hero-video,
    .video-container {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
        background: #fff;
        color: #000;
    }
    
    body {
        background: #fff;
        color: #000;
    }
}
/* Mobile fixes for infrastructure and new sections */
@media (max-width: 768px) {
    #infrastructure .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    #contact .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    #infrastructure div[style*="padding: 30px"] {
        padding: 20px !important;
    }
    
    #infrastructure div[style*="text-align: center; margin-top: 50px"] {
        padding: 20px !important;
        margin-top: 30px !important;
    }
    
    /* Fix hero text sizing */
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    /* Fix nav overflow */
    .nav-link {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }
    
    /* Map iframe */
    #location iframe {
        height: 250px !important;
    }
    
    /* Infrastructure emoji icons */
    #infrastructure div[style*="font-size: 2.5em"] {
        font-size: 2em !important;
    }
}

@media (max-width: 480px) {
    #infrastructure h3 {
        font-size: 1.1em !important;
    }
    
    #infrastructure ul {
        font-size: 0.85em !important;
    }
    
    .hero-details span {
        font-size: 0.9rem;
    }
}

/* Touch device support */
@media (hover: none) {
    #infrastructure div[style*="border: 1px solid #2a2a4e"] {
        border-color: #3a3a5e !important;
    }
}

/* Ensure iframes are responsive */
iframe {
    max-width: 100%;
}

/* iPad landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    #infrastructure .container > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix any text overflow */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure nav doesn't overflow on iPad */
@media (max-width: 1100px) {
    .nav-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.4rem;
    }
}
