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

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;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.contact__form {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #222222;
}

.section-title {
    font-size: 2rem;
    color: #222222;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1rem;
    color: #717171;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, #E61E4D 0%, #E31C5F 50%, #D70466 100%);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #D01346 0%, #C7124F 50%, #B8035A 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn--secondary {
    background-color: #222222;
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn--secondary:hover {
    background-color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn--outline {
    background-color: transparent;
    color: #222222;
    border: 1px solid #DDDDDD;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn--outline:hover {
    background-color: #F7F7F7;
    border-color: #222222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #EBEBEB;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.nav__brand {
    flex: 1;
}

.nav__title {
    font-size: 1.375rem;
    color: #FF385C;
    margin-bottom: 0;
    font-weight: 700;
}

.nav__subtitle {
    font-size: 0.75rem;
    color: #717171;
    margin: 0;
    font-weight: 400;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
    border: none;
}

.nav__link:hover,
.nav__link--active {
    background-color: rgba(255, 56, 92, 0.08);
    color: #FF385C;
    outline: none;
}

.nav__link--cta {
    background: linear-gradient(135deg, #E61E4D 0%, #E31C5F 50%, #D70466 100%);
    color: white !important;
    padding: 0.75rem 1rem;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    outline: none;
    border: none;
}

.nav__link--cta:hover {
    background: linear-gradient(135deg, #D01346 0%, #C7124F 50%, #B8035A 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    outline: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #ffffff;
    padding: 10rem 0 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero__title {
    font-size: 3.5rem;
    color: #222222;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: #FF385C;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero__description {
    font-size: 1.125rem;
    color: #717171;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

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

.hero__image img {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    transition: all 0.2s ease;
}

.feature:hover {
    border-color: #DDDDDD;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.125rem;
    color: #222222;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature__description {
    color: #717171;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Apartments Section */
.apartments {
    padding: 6rem 0;
    background-color: #F7F7F7;
}

.apartments__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .apartments__grid {
        grid-template-columns: 1fr;
    }
}

.apartment-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EBEBEB;
    transition: all 0.2s ease;
    cursor: pointer;
}

.apartment-card:hover {
    border-color: #DDDDDD;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.apartment-card__image {
    height: 250px;
    overflow: hidden;
}

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

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

.apartment-card__content {
    padding: 1.5rem;
}

.apartment-card__title {
    font-size: 1.125rem;
    color: #222222;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.apartment-card__description {
    color: #717171;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Location Section */
.location {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.location__description {
    font-size: 1rem;
    color: #717171;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.location__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location__feature {
    padding: 1.25rem;
    background-color: #F7F7F7;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    font-size: 0.875rem;
    color: #222222;
}

.location__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid #EBEBEB;
}

.location__map iframe {
    width: 100%;
    height: 350px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #F7F7F7;
}

.contact__content {
    max-width: 550px;
    margin: 0 auto;
}

.contact__description {
    font-size: 1rem;
    color: #717171;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

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

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    transition: all 0.2s ease;
}

.contact__item:hover {
    border-color: #DDDDDD;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact__item a {
    color: #222222;
    text-decoration: none;
    font-weight: 500;
}

.contact__item a:hover {
    color: #FF385C;
}

/* Form Styles */
.form {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #222222;
    font-size: 0.875rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #222222;
    box-shadow: 0 0 0 1px #222222;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #F7F7F7;
    color: #222222;
    padding: 4rem 0 2rem;
    border-top: 1px solid #EBEBEB;
}

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

.footer__title {
    color: #222222;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer__subtitle {
    color: #717171;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.footer__description {
    color: #717171;
    line-height: 1.6;
    font-size: 0.875rem;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__list a {
    color: #717171;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

.footer__list a:hover {
    color: #222222;
}

.footer__contact a {
    color: #717171;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__contact a:hover {
    color: #FF385C;
}

.footer__bottom {
    border-top: 1px solid #EBEBEB;
    padding-top: 2rem;
    text-align: center;
    color: #717171;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav__menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 2rem;
        min-height: auto;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .location__content,
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .apartments__grid {
        grid-template-columns: 1fr;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

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

/* Focus styles for keyboard navigation */
.btn:focus,
.nav__link:focus,
.form__input:focus,
.form__textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb__list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb__item {
    color: #6c757d;
}

.breadcrumb__item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #adb5bd;
}

.breadcrumb__item--current {
    color: #2c3e50;
    font-weight: 500;
}

.breadcrumb__item a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb__item a:hover {
    text-decoration: underline;
}

/* Apartment Hero */
.apartment-hero {
    padding: 4rem 0;
    background: #ffffff;
}

.apartment-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.apartment-hero__title {
    font-size: 2.25rem;
    color: #222222;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.apartment-hero__subtitle {
    font-size: 1.125rem;
    color: #717171;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.apartment-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background-color: #F7F7F7;
    color: #222222;
    border: 1px solid #EBEBEB;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.apartment-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.apartment-hero__image img {
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Apartment Details */
.apartment-details {
    padding: 4rem 0;
}

.apartment-details__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

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

.detail-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    transition: all 0.2s ease;
}

.detail-card:hover {
    border-color: #DDDDDD;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail-card__title {
    font-size: 1.125rem;
    color: #222222;
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-card__list {
    list-style: none;
    padding: 0;
}

.detail-card__list li {
    padding: 0.375rem 0;
    color: #717171;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.875rem;
}

.detail-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00A699;
    font-weight: bold;
    font-size: 0.75rem;
}

.apartment-description {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
}

.apartment-description h3 {
    color: #222222;
    margin-bottom: 1rem;
    font-weight: 600;
}

.apartment-description p {
    color: #717171;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Booking Card */
.booking-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    margin-bottom: 2rem;
    border: 1px solid #EBEBEB;
    position: sticky;
    top: 100px;
}

.price-info {
    margin: 0px 0px 40px 20px;
}

.booking-card__title {
    color: #222222;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.booking-card__subtitle {
    color: #717171;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.booking-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Info Card */
.info-card {
    background-color: #F7F7F7;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
}

.info-card__title {
    color: #222222;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.info-card__list {
    list-style: none;
    padding: 0;
}

.info-card__list li {
    padding: 0.5rem 0;
    color: #717171;
    border-bottom: 1px solid #EBEBEB;
    font-size: 0.875rem;
}

.info-card__list li:last-child {
    border-bottom: none;
}

/* Gallery */
.gallery {
    padding: 6rem 0;
    background-color: #F7F7F7;
}

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

.gallery__item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EBEBEB;
    transition: all 0.2s ease;
    cursor: pointer;
}

.gallery__item:hover {
    border-color: #DDDDDD;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.gallery__item--large {
    grid-column: span 2;
}

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

.gallery__item:hover img {
    transform: scale(1.05);
}

/* 404 Error Page */
.error-page {
    padding: 8rem 0 6rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.error-visual {
    margin-bottom: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #FF385C;
    margin: 0;
    line-height: 1;
}

.error-icon {
    font-size: 4rem;
    margin-top: 1rem;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.125rem;
    color: #717171;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-links {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quick-links h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 2rem;
}

.quick-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    text-decoration: none;
    color: #222222;
    transition: all 0.2s ease;
}

.quick-link:hover {
    border-color: #FF385C;
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.15);
    transform: translateY(-2px);
}

.quick-link__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-link__text {
    font-weight: 500;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-links__grid {
        grid-template-columns: 1fr;
    }
}

/* Other Apartments */
.other-apartments {
    padding: 6rem 0;
    background-color: #ffffff;
}

.other-apartments .apartments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .other-apartments .apartments__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .other-apartments .apartments__grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for Apartment Pages */
@media (max-width: 768px) {
    .apartment-hero__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .apartment-hero__title {
        font-size: 2rem;
    }
    
    .apartment-details__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .apartment-hero__actions {
        justify-content: center;
    }
    
    .gallery__item--large {
        grid-column: span 1;
    }
    
    .breadcrumb__list {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .apartment-hero__title {
        font-size: 1.75rem;
    }
    
    .apartment-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .booking-actions .btn {
        width: 100%;
    }
}

/* Legal Pages */
.legal-content {
    padding: 6rem 0 4rem;
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.legal-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.legal-section h3 {
    font-size: 1.25rem;
    color: #34495e;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: #6c757d;
    line-height: 1.7;
    padding-left: 1.5rem;
}

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

.legal-section a {
    color: #3498db;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    color: #adb5bd;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 5rem 0 2rem;
    }
    
    .legal-wrapper {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
}

/* Print styles */
@media print {
    .header,
    .nav__toggle,
    .btn,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero,
    .features,
    .apartments,
    .location,
    .contact {
        padding: 1rem 0;
    }
    
    .legal-wrapper {
        box-shadow: none;
        padding: 1rem;
    }
}
