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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.logo {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 3rem 0;
}

.intro h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Apartments Section */
.apartments {
    padding: 2rem 0;
}

.apartments > h2 {
    text-align: center;
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.apartment-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.apartment-card h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.apartment-card .subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.apartment-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.apartment-photo:hover {
    transform: scale(1.05);
}

.description {
    margin: 1.5rem 0;
    line-height: 1.8;
    color: #555;
}

.apartment-details {
    display: flex;
    gap: 2rem;
    color: #666;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.apartment-details span {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    color: #667eea;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.contact-info p {
    font-size: 1.1rem;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #764ba2;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .photos {
        grid-template-columns: 1fr;
    }
    
    .apartment-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}
