/* Foundation Property Law - Architectural Dark Theme */

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ecf0f1;
    background: #1a1a1a;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #34495e;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67e22;
}

.logo-icon {
    font-size: 2rem;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ecf0f1;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
}

.nav-menu.active {
    transform: translateY(0);
}

.nav-content {
    text-align: center;
}

.nav-link {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 300;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu.active .nav-link {
    opacity: 1;
    transform: translateY(0);
}

.nav-link:nth-child(1) { transition-delay: 0.1s; }
.nav-link:nth-child(2) { transition-delay: 0.2s; }
.nav-link:nth-child(3) { transition-delay: 0.3s; }
.nav-link:nth-child(4) { transition-delay: 0.4s; }
.nav-link:nth-child(5) { transition-delay: 0.5s; }
.nav-link:nth-child(6) { transition-delay: 0.6s; }

.nav-link:hover,
.nav-link.active {
    color: #e67e22;
    transform: scale(1.1);
}

/* Main Content */
.main {
    margin-top: 80px;
}

.section {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.section.active {
    display: block;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a1a1a 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blueprint" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(236,240,241,0.1)" stroke-width="0.5"/><circle cx="10" cy="10" r="1" fill="rgba(230,126,34,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23blueprint)"/></svg>');
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 100;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ecf0f1 0%, #e67e22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #bdc3c7;
    line-height: 1.6;
    font-weight: 300;
}

.hero-metrics {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
    background: rgba(52, 73, 94, 0.3);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(230, 126, 34, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.2);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e67e22;
    display: inline-block;
}

.metric-unit {
    font-size: 1.5rem;
    color: #e67e22;
    margin-left: 0.25rem;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d35400 0%, #a04000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #e67e22;
    padding: 1rem 2.5rem;
    border: 2px solid #e67e22;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: rgba(230, 126, 34, 0.1);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 100;
    margin-bottom: 1rem;
    color: #e67e22;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #bdc3c7;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #e67e22;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e67e22;
}

.service-card h3 {
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #bdc3c7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    color: #95a5a6;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #e67e22;
    font-weight: bold;
}

.service-highlight {
    background: rgba(230, 126, 34, 0.2);
    color: #e67e22;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(230, 126, 34, 0.3);
}

/* Property Gallery */
.property-gallery {
    margin: 3rem 0;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-btn {
    background: rgba(52, 73, 94, 0.5);
    color: #bdc3c7;
    border: 1px solid rgba(230, 126, 34, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gallery-btn.active,
.gallery-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border-color: #e67e22;
    transform: translateY(-2px);
}

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

.property-item {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 126, 34, 0.2);
}

.property-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: #e67e22;
}

.property-image {
    height: 200px;
    position: relative;
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.property-type {
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-value {
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.property-description {
    color: #bdc3c7;
    line-height: 1.5;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.expertise-area {
    background: rgba(52, 73, 94, 0.3);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
}

.expertise-area:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
    background: rgba(52, 73, 94, 0.5);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e67e22;
}

.expertise-area h3 {
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expertise-area p {
    color: #bdc3c7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.expertise-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.expertise-stats span {
    background: rgba(230, 126, 34, 0.2);
    color: #e67e22;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Process Flow */
.process-flow {
    margin: 4rem 0;
    text-align: center;
}

.process-flow h3 {
    color: #e67e22;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 300;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    background: rgba(52, 73, 94, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 200px;
    border: 1px solid rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.flow-step h4 {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.flow-step p {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.4;
}

.flow-arrow {
    color: #e67e22;
    font-size: 2rem;
    font-weight: bold;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.team-member {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: #e67e22;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.member-avatar {
    height: 200px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.member-details {
    padding: 2rem;
}

.member-details h3 {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.member-role {
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-experience {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.member-bio {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.member-specialties span {
    background: rgba(230, 126, 34, 0.2);
    color: #e67e22;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
}

.contact-info h3 {
    color: #e67e22;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(52, 73, 94, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(230, 126, 34, 0.2);
}

.info-icon {
    font-size: 1.5rem;
    color: #e67e22;
    width: 40px;
    text-align: center;
}

.info-content h4 {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #bdc3c7;
    line-height: 1.4;
}

.consultation-box {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.consultation-box h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-form {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(230, 126, 34, 0.2);
}

.contact-form h3 {
    color: #e67e22;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

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

.form-section h4 {
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(230, 126, 34, 0.3);
    padding-bottom: 0.5rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 5px;
    color: #ecf0f1;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #7f8c8d;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.2);
}

.radio-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7;
    cursor: pointer;
}

.form-disclaimer {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(230, 126, 34, 0.3);
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #bdc3c7;
    z-index: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #e67e22;
}

.modal-body {
    padding: 2rem;
    color: #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-metrics {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-link {
        font-size: 2rem;
    }
    
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .gallery-controls {
        gap: 0.5rem;
    }
    
    .gallery-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2c3e50;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d35400 0%, #a04000 100%);
}