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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    height: 46px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0891b2;
}

.btn-tenant-nav {
    background: #059669;
    color: white;
    border-color: #059669;
    font-size: 14px;
    padding: 8px 16px;
    white-space: nowrap;
}

.btn-tenant-nav:hover {
    background: #047857;
    border-color: #047857;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: space-around;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #374151;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 20px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s;
}

.mobile-nav-link:hover {
    background: #f9fafb;
    color: #0891b2;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #0891b2;
    color: white;
    border-color: #0891b2;
}

.btn-primary:hover {
    background: #0e7490;
    border-color: #0e7490;
}

.btn-outline {
    background: transparent;
    color: #0891b2;
    border-color: #0891b2;
}

.btn-outline:hover {
    background: #0891b2;
    color: white;
}

.btn-tenant {
    background: #059669;
    color: white;
    border-color: #059669;
    font-size: 18px;
    padding: 16px 32px;
}

.btn-tenant:hover {
    background: #047857;
    border-color: #047857;
}

.btn-tenant-large {
    background: #059669;
    color: white;
    border-color: #059669;
    font-size: 20px;
    padding: 18px 36px;
}

.btn-tenant-large:hover {
    background: #047857;
    border-color: #047857;
}

.btn-tenant-hero {
    background: #059669;
    color: white;
    border-color: #059669;
    font-size: 18px;
    padding: 16px 32px;
    font-weight: 700;
}

.btn-tenant-hero:hover {
    background: #047857;
    border-color: #047857;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.8) 0%, rgba(14, 116, 144, 0.8) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Tenant Portal Section */
.tenant-portal {
    background: #f8fafc;
    padding: 60px 0;
}

.tenant-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #059669;
    max-width: 600px;
    margin: 0 auto;
}

.tenant-card h2 {
    color: #059669;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tenant-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

/* Section Styling */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

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

.properties-intro {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 750px;
    margin: 1rem auto 0 auto;
    line-height: 1.7;
}

/* About Section - Loudoun County Features */
.loudoun-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(even) {
    direction: rtl;
}

.feature-card:nth-child(even) .feature-content {
    direction: ltr;
}

.feature-image {
    height: 300px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    color: #0891b2;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1.1rem;
}


/* Properties Section */
.properties {
    background: #f9fafb;
}

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

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-images {
    display: flex;
    height: 375px;
    gap: 15px;
    padding: 15px;
}

.main-image {
    position: relative;
    flex: 2;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .main-img {
    transform: scale(1.05);
}

.image-gallery {
    flex: 1;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
}

.gallery-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-images {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.gallery-img {
    width: 33.333%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
}

.gallery-img:hover {
    filter: brightness(1.1);
}

.gallery-img.active {
    filter: none;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    z-index: 10;
    opacity: 0;
}

.image-gallery:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow-left {
    left: 8px;
}

.gallery-arrow-right {
    right: 8px;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.property-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #059669;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-content {
    padding: 2rem;
}

.property-address {
    color: #0891b2;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.property-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.property-actions {
    display: flex;
    gap: 1rem;
}

.coming-soon {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.coming-soon-content {
    padding: 2rem;
    text-align: center;
}

.coming-soon-content h3 {
    color: #0891b2;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.coming-soon-content p {
    color: #6b7280;
    font-size: 1.1rem;
}

.coming-soon:hover .main-img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3,
.contact-form h3 {
    color: #0891b2;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
}

.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 46px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #0891b2;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo {
        height: 43px;
        align-self: flex-start;
    }
    
    .btn-tenant-nav {
        font-size: 12px;
        padding: 6px 12px;
        align-self: flex-start;
    }
    
    .nav-right {
        align-items: flex-start;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .feature-card {
        grid-template-columns: 1fr;
    }
    
    .feature-card:nth-child(even) {
        direction: ltr;
    }
    
    .feature-image {
        height: 250px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-actions {
        flex-direction: column;
    }
    
    .property-images {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .image-gallery {
        height: 120px;
    }
    
    .gallery-arrow {
        width: 28px;
        height: 28px;
        opacity: 1;
    }
    
    .gallery-arrow-left {
        left: 4px;
    }
    
    .gallery-arrow-right {
        right: 4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 1rem 10px;
    }
    
    .logo {
        height: 37px;
        align-self: flex-start;
    }
    
    .btn-tenant-nav {
        font-size: 11px;
        padding: 5px 8px;
        white-space: nowrap;
        align-self: flex-start;
    }
    
    .nav-right {
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-content {
        padding: 1.5rem;
    }
    
    .property-details {
        flex-wrap: wrap;
    }
}