/* Instagram-стиль страница домиков */

.cabins-main {
    padding-top: 80px;
    min-height: 100vh;
    background: #fafafa;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.instagram-feed {
    padding: 2rem 0;
}

.feed-grid {
    max-width: 614px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feed-post {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feed-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.post-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #efefef;
}

.post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

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

.post-info {
    flex: 1;
}

.post-username {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 2px 0;
    color: #262626;
}

.post-location {
    font-size: 12px;
    color: #8e8e8e;
}

.post-menu {
    font-size: 16px;
    color: #262626;
    cursor: pointer;
    padding: 8px;
}

.post-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

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

.post-image:hover img {
    transform: scale(1.02);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
}

.action-buttons {
    display: flex;
    gap: 16px;
}

.action-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.1);
}

.bookmark-btn {
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease;
}

.bookmark-btn:hover {
    transform: scale(1.1);
}

.post-content {
    padding: 0 16px 16px;
}

.likes-count {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #262626;
}

.post-caption {
    font-size: 14px;
    line-height: 1.4;
    color: #262626;
    margin-bottom: 8px;
}

.post-caption strong {
    font-weight: 600;
}

.hashtags {
    color: #00376b;
    font-weight: 500;
}

.post-time {
    font-size: 12px;
    color: #8e8e8e;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: white;
    border-radius: 12px;
    margin: 3rem auto;
    max-width: 614px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .cabins-main {
        padding-top: 70px;
    }
    
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .feed-grid {
        max-width: 100%;
        margin: 0 1rem;
        gap: 2rem;
    }
    
    .feed-post {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .cta-section {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .post-actions {
        padding: 6px 12px;
    }
    
    .action-buttons {
        gap: 12px;
    }
    
    .action-btn,
    .bookmark-btn {
        font-size: 20px;
        padding: 6px;
    }
    
    .post-content {
        padding: 0 12px 12px;
    }
}
