/* Reset and Base Styles */
:root {
    --agency-primary: #00467f;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
}

/* 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 rgba(44, 62, 80, 0.1);
}

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

.agency-logo {
    height: 40px;
    width: auto;
    padding: 8px 12px;
    background-color: var(--agency-primary);
    border-radius: 4px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 73, 94, 0.6) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: left;
    color: white;
    max-width: 600px;
}

.hero-title {
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-address {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-badge {
    background: rgba(212, 175, 55, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f39c12);
    margin: 0 auto;
    border-radius: 2px;
}

/* Property Section */
.property-section {
    padding: 5rem 0;
    background: white;
}

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

.property-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.property-highlights {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.highlights-list {
    list-style: none;
    padding-left: 0;
}

.highlights-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item a {
    display: block;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-more {
    text-align: center;
    margin-top: 2rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #d4af37;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.feature-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

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

.inspection-info h2 {
    color: white;
    margin-bottom: 2rem;
}

.inspection-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.inspection-notice {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e74c3c;
}

.inspection-contact {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.inspection-phone {
    font-size: 1.5rem;
    font-weight: 700;
}

.inspection-note {
    color: #ecf0f1;
    font-style: italic;
}

.agent-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.agent-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #d4af37;
    margin-bottom: 1.5rem;
}

.agent-details h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.agent-title {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.agency-info {
    margin-bottom: 2rem;
}

.agency-info h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.agency-info p {
    color: #ecf0f1;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #f39c12);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8941f, #e67e22);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-submit {
    margin-top: 1rem;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
}

.agent-contact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.agency-branding {
    background-color: var(--agency-primary);
    padding: 1.5rem;
    text-align: center;
}

.agency-logo-form {
    height: 40px;
    width: auto;
}

.agent-info-card {
    padding: 2rem;
    text-align: center;
}

.agent-photo-form {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #d4af37;
}

.agent-details-form h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.agent-title {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 1rem;
}

.agent-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.agency-details h4 {
    color: var(--agency-primary);
    margin-bottom: 0.5rem;
}

.agency-details p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--agency-primary);
    padding: 2rem 0;
    color: #ecf0f1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-agency-logo {
    height: 30px;
    width: auto;
    opacity: 0.8;
    padding: 6px 10px;
    background-color: var(--agency-primary);
    border-radius: 4px;
}

.footer-info {
    text-align: right;
    flex: 1;
}

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

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.4;
    max-width: 600px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .property-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .property-section,
    .gallery-section,
    .features-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .property-highlights,
    .feature-card,
    .inspection-card,
    .agent-card {
        padding: 1.5rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .contact-form-section,
    .features-section,
    .gallery-section,
    .property-section {
        padding: 3rem 0;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .contact-buttons,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-address {
        color: white;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus States */
.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .feature-badge {
        background: #000;
        color: #fff;
    }
    
    .btn-primary {
        background: #000;
        border: 2px solid #fff;
    }
}