:root {
    --primary-color: #2e7d32;
    --secondary-color: #fff9c4;
    --accent-color: #ffd54f;
    --light-color: #f1f8e9;
    --dark-color: #1b5e20;
    --text-color: #333;
    --text-light: #666;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    position: relative;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn span:nth-child(1) {
    top: 20%;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 20%;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-slider .slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.hero-slider .slide {
    min-width: 100%;
    position: relative;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    position: relative;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    overflow: hidden;
    z-index: 1;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.cta-button .liquid {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--dark-color);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
    transition: 0.5s;
    z-index: -1;
}

.cta-button .liquid::after,
.cta-button .liquid::before {
    content: '';
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #000;
}

.cta-button .liquid::before {
    border-radius: 45%;
    background: rgba(32, 94, 36, 0.8);
    animation: animate 5s linear infinite;
}

.cta-button .liquid::after {
    border-radius: 40%;
    background: rgba(32, 94, 36, 0.5);
    animation: animate 10s linear infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover .liquid {
    top: -120px;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

.hero-slider .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 100;
}

.hero-slider .slider-nav button {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 101;
}

.hero-slider .slider-nav button:hover {
    background: white;
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
    z-index: 3;
}

.arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 10px auto;
    animation: bounce 2s infinite;
}

.concept {
    padding: 100px 0;
    background: #f9f9f9;
}

.concept-content {
    max-width: 900px;
    margin: 0 auto;
}

.concept-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.1), transparent);
    transition: var(--transition);
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature:hover .feature-icon i {
    color: white;
    animation: bounceIn 0.5s;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.object-description {
    background: #f9f9f9;
    padding: 100px 0;
}

.description-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.description-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.description-card:hover {
    transform: translateY(-10px);
}

.description-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.description-card:hover .description-icon {
    background: var(--primary-color);
}

.description-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.description-card:hover .description-icon i {
    color: white;
}

.description-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.advantages {
    padding: 100px 0;
    background: white;
}

.advantages-list {
    max-width: 800px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: center;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-item.positive {
    background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
    border-left: 5px solid var(--primary-color);
}

.advantage-item.negative {
    background: linear-gradient(135deg, #ffebee, #fce4ec);
    border-left: 5px solid #f44336;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.advantage-item.positive .advantage-icon {
    background: var(--primary-color);
}

.advantage-item.negative .advantage-icon {
    background: #f44336;
}

.advantage-icon i {
    color: white;
    font-size: 1.2rem;
}

.advantage-text {
    flex: 1;
}

.advantage-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.advantage-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 20px;
    flex-shrink: 0;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.planning {
    padding: 100px 0;
    background: #f9f9f9;
}

.planning-content {
    /*
    display: grid;
    */
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.planning-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.planning-image img {
    width: 100%;
    height: auto;
    display: block;
}

.planning-variants h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.variants-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.variant {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.variant:hover {
    transform: translateY(-5px);
}

.variant-image {
    width: 100%;
    height: 120px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.variant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variant h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contacts-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: var(--transition);
    padding: 10px;
    border-radius: 5px;
}

.contact-item:hover {
    background: rgba(46, 125, 50, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.contact-item:hover .contact-icon i {
    color: white;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    background: var(--dark-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .planning-content {
        flex-direction: column;
    }
    
    .features,
    .infrastructure-content {
        grid-template-columns: 1fr;
    }
    
    .planning-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .variants-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .header-container {
        padding: 15px;
    }
    
    .hero-slider .slider-nav button {
        width: 40px;
        height: 40px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .advantage-image {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .variants-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-slider .slider-nav button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator span {
        font-size: 0.9rem;
    }
    
    .description-content {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        flex-direction: column;
    }
}

@media (max-width: 1000px) {
    .hero-slider .slider-nav {
        top: 80% !important;
    }
}

.planning-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.planning-slider .slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 500px;
}

.planning-slider .slide {
    min-width: 100%;
    position: relative;
}

.planning-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.planning-slider .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 100;
}

.planning-slider .slider-nav button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--primary-color);
}

.planning-slider .slider-nav button:hover {
    background: white;
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .description-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .description-content {
        grid-template-columns: 1fr;
    }
    
    .planning-slider {
        height: 300px;
    }
    
    .planning-slider .slider {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .planning-slider {
        height: 250px;
    }
    
    .planning-slider .slider {
        height: 250px;
    }
    
    .planning-slider .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.apartment-planning {
    padding: 100px 0;
    position: relative;
    background: #f9f9f9;
}

.planning-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://thb.tildacdn.com/tild6433-3361-4135-a562-343436333935/-/resize/20x/5-1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.planning-cards-wrapper {
    margin-top: 60px;
    position: relative;
}

.planning-cards-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.planning-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    width: 320px;
    position: relative;
    z-index: 2;
}

.planning-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

.card-image {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 240px;
    height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    transition: var(--transition);
}

.planning-card:hover .image-placeholder {
    transform: scale(1.05);
}

.card-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.card-info p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.details-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 200px;
}

.details-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.7);
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.gallery-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-nav button:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2001;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot.active {
    background: white;
    transform: scale(1.2);
}

.planning-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.planning-slider .slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 500px;
}

.planning-slider .slide {
    min-width: 100%;
    position: relative;
}

.planning-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.planning-slider .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 100;
}

.planning-slider .slider-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.planning-slider .slider-nav button:hover {
    background: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 1200px) {
    .planning-cards-container {
        gap: 30px;
    }
    
    .planning-card {
        width: 280px;
    }
    
    .image-placeholder {
        width: 200px;
        height: 350px;
    }
}

@media (max-width: 992px) {
    .planning-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .planning-card {
        width: 100%;
        max-width: 400px;
        display: flex;
        align-items: center;
        gap: 30px;
        text-align: left;
    }
    
    .card-image {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .image-placeholder {
        width: 150px;
        height: 250px;
    }
    
    .card-info {
        flex-grow: 1;
    }
    
    .details-btn {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .apartment-planning {
        padding: 60px 0;
    }
    
    .planning-cards-wrapper {
        margin-top: 40px;
    }
    
    .planning-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .image-placeholder {
        width: 180px;
        height: 300px;
    }
    
    .planning-slider {
        height: 400px;
    }
    
    .planning-slider .slider {
        height: 400px;
    }
    
    .planning-slider .slider-nav button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gallery-nav button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .modal-content {
        width: 95%;
        height: 80vh;
        padding: 10px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .planning-cards-container {
        gap: 15px;
    }
    
    .planning-card {
        padding: 15px;
    }
    
    .image-placeholder {
        width: 140px;
        height: 230px;
    }
    
    .card-info h3 {
        font-size: 1.3rem;
    }
    
    .card-info p {
        font-size: 1rem;
    }
    
    .details-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        max-width: 130px;
    }
    
    .planning-slider {
        height: 300px;
    }
    
    .planning-slider .slider {
        height: 300px;
    }
    
    .planning-slider .slider-nav {
        padding: 0 10px;
    }
    
    .planning-slider .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-nav {
        padding: 0 10px;
    }
    
    .gallery-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-dots {
        bottom: 15px;
    }
    
    .gallery-dots {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .planning-slider {
        height: 250px;
    }
    
    .planning-slider .slider {
        height: 250px;
    }
    
    .planning-slider .slider-nav button {
        width: 35px;
        height: 35px;
    }
    
    .gallery-nav button {
        width: 35px;
        height: 35px;
    }
    
    .image-placeholder {
        width: 120px;
        height: 200px;
    }
}

.typical-floor-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.typical-floor-section {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.typical-floor-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    width: 320px;
    position: relative;
    z-index: 2;
}

.typical-floor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

@media (max-width: 768px) {
    .typical-floor-section {
        margin-top: 40px;
    }
    
    .typical-floor-card {
        width: 100%;
        max-width: 400px;
    }
}